Class: GoogleChart::LineChart

Inherits:
Base
  • Object
show all
Includes:
Axis, Color, DataArray, Fills, Grid, Legend, Markers
Defined in:
lib/google_chart/line_chart.rb

Constant Summary

Constant Summary

Constants included from Markers

Markers::ORIENTATION, Markers::PRIORITY, Markers::SHAPES

Constants included from Axis

Axis::ALIGNMENT_MAPPING, Axis::AXIS_TYPE_MAPPING

Constants included from Fills

Fills::FILL_KINDS, Fills::FILL_TYPES, Fills::FILL_TYPES_SOLID, Fills::FILL_TYPE_CODES

Instance Attribute Summary

Attributes inherited from Base

#encoding, #height, #title, #title_color, #title_font_size, #width

Instance Method Summary collapse

Methods included from Markers

#range_marker, #shape_marker

Methods included from Grid

#grid

Methods included from Axis

#axis

Methods included from Fills

#fill

Methods included from DataArray

#data, #encode_data, included

Methods included from Legend

included

Methods inherited from Base

inherited, #query_params, #size, #size=, #to_url

Constructor Details

#initialize(options = {}) ⇒ LineChart



13
14
15
16
17
# File 'lib/google_chart/line_chart.rb', line 13

def initialize(options={})
  @chart_type = "lc"
  @show_legend = false
  super(options)
end