Class: ApexCharts::BarChart
- Inherits:
-
CartesianChart
- Object
- BaseChart
- CartesianChart
- ApexCharts::BarChart
- Defined in:
- lib/apexcharts/charts/bar.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 Mixable
Methods included from Annotations
#annotation, #point_annotation, #x_annotation, #y_annotation
Methods inherited from BaseChart
Constructor Details
This class inherits a constructor from ApexCharts::CartesianChart
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ApexCharts::CartesianChart
Instance Method Details
#chart_type ⇒ Object
5 6 7 |
# File 'lib/apexcharts/charts/bar.rb', line 5 def chart_type 'bar' end |
#more_options ⇒ Object
9 10 11 |
# File 'lib/apexcharts/charts/bar.rb', line 9 def {plot_options: {bar: {horizontal: true}}} end |