Method: Rdata#set_y_axis_unit

Defined in:
lib/rdata.rb

#set_y_axis_unit(unit = "") ⇒ Object

Set the axis unit. This will be appended to the axis value Give the “m/s” unit to the Y axis

  • chart_data.set_x_axis_unit(“m/s”)



197
198
199
# File 'lib/rdata.rb', line 197

def set_y_axis_unit(unit="")
	@data_description["unit"]["y"] = unit
end