g2plot-chart.g2plotchart
Home > @genesislcap/g2plot-chart > G2PlotChart
G2PlotChart class
The G2Plot Chart component
Signature:
export declare class G2PlotChart extends G2PlotChart_base
Extends: G2PlotChart_base
Remarks
Forwards G2Plot chart events using each event's native type string (see chart.on('*', ...)).
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the G2PlotChart class.
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
The configuration to use for the chart. Check ChartConfig for possible options | |||
|
any[] |
The data to display in the chart. | ||
|
The type to use for the chart. If not set, the default bar type will be used. |