Class: ApexCharts::Charts::BarChart
- Inherits:
-
CartesianChart
- Object
- BaseChart
- CartesianChart
- ApexCharts::Charts::BarChart
- Defined in:
- lib/apex_charts/charts/bar_chart.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from BaseChart
Instance Method Summary collapse
Methods inherited from CartesianChart
#initialize, #method_missing, #respond_to_missing?, #series_type
Methods included from Utils::Hash
camelize, camelize_keys, deep_merge
Methods included from Features::Mixable
Methods included from Features::Annotations
#annotation, #point_annotation, #x_annotation, #y_annotation
Methods inherited from BaseChart
Constructor Details
This class inherits a constructor from ApexCharts::Charts::CartesianChart
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ApexCharts::Charts::CartesianChart
Instance Method Details
#chart_type ⇒ Object
5 6 7 |
# File 'lib/apex_charts/charts/bar_chart.rb', line 5 def chart_type 'bar' end |
#more_options ⇒ Object
9 10 11 |
# File 'lib/apex_charts/charts/bar_chart.rb', line 9 def {plot_options: {bar: {horizontal: true}}} end |