IChartConfig
Home > @gooddata/sdk-ui-charts > IChartConfig
IChartConfig interface
Chart config is used to customize visual aspects of the different charts.
Signature:
export interface IChartConfig
Remarks
At the moment, a single structure is used for all the charts - however not all options are applicable to all charts.
As is, using the not-applicable option for a chart will be ignored. Going forward, we will add warnings to notify developers that the option has no effect.
Note: some properties of the chart config leak unnecessary implementation detail and should not be used. These properties are marked as internal.
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
(BETA) (Optional) Configuration of the anomalies. | |||
|
(BETA) (Optional) Configuration of the image sizing in the chart. | |||
|
(BETA) (Optional) Configuration of the text wrapping in the chart. | |||
|
(BETA) (Optional) Configuration of the vertical chart alignment. | |||
|
IChartFillConfig |
(Optional) Configuration of the chart fill. | ||
|
(BETA) (Optional) Configuration of the clustering. | |||
|
(Optional) Specify custom coloring. | |||
|
(Optional) Specify color palette to use when coloring the chart. | |||
|
string[] |
(Optional) Specify list of colors (#rrggbb) to use when coloring the chart. | ||
|
(Optional) This configuration allows users to customize how the comparative measure looks. | |||
|
(Optional) Configure chart continuous line. | |||
|
(ALPHA) (Optional) Custom tooltip configuration with Markdown content and metric/attribute references. | |||
|
(Optional) Customize visibility of the data labels. | |||
|
(Optional) Customize visibility of the data points. | |||
|
boolean |
(Optional) Disable underlining of drillable items. | ||
|
(BETA) (Optional) Configure distinct point shapes for line-based charts. | |||
|
boolean |
(Optional) This turns on dual axis support for ComboChart visualization. | ||
|
boolean |
(Optional) Enables accessible tooltip for the chart. | ||
|
boolean |
(Optional) Enables custom sorting of visualizations. | ||
|
boolean |
(Optional) Enables more compact rendering of visualization in small containers. | ||
|
boolean |
(Optional) Enable attribute axis name for the column, bar and bullet charts when view by many attributes. | ||
|
boolean |
(Optional) Enables change order of stacked items in bar chart. | ||
|
boolean |
(Optional) | ||
|
boolean |
(BETA) (Optional) Enables single series mode for bubble charts. | ||
|
boolean |
(Optional) Disables drilling by clicking on axis labels. | ||
|
(BETA) (Optional) Configuration of the forecast. | |||
|
(Optional) Configure chart grid. | |||
|
(BETA) (Optional) Configuration specific for hyperlinks in the chart. | |||
|
(BETA) (Optional) Configuration of the inline visualizations. | |||
|
(Optional) Configure how legend appears and behaves. | |||
|
"vertical" | "horizontal" |
(Optional) Configure whether legend items should be laid-out vertically (column legend) or horizontally (line legend). | ||
|
"line" | "column" | "area" |
(Optional) Sets the chart type for primary measures. | ||
|
"polygon" | "circle" |
(BETA) (Optional) Controls the shape of the grid lines on the radial axis of a radar chart. | ||
|
"outline" | "filled" |
(BETA) (Optional) Controls whether the radar chart is rendered as filled polygons ("filled") or bare polygon outlines ("outline"). | ||
|
boolean |
(Optional) Legend positioning is not respected in some contexts. This flag enforces the specific legend position to be respected in all contexts. | ||
|
(BETA) (Optional) Configuration of row height of the chart. | |||
|
(Optional) Customize visibility of the secondary X axis, what should be on the secondary X axis and how it should look like. | |||
|
(Optional) Customize visibility of the secondary Y axis, what should be on the secondary Y axis and how it should look like. | |||
|
"line" | "column" | "area" |
(Optional) Sets the chart type for secondary measures. | ||
|
(Optional) Customize what separators to use between different segments of formatted numbers (thousands, decimals etc). | |||
|
boolean |
(Optional) Applicable for Area, Bar, Column and Combo charts which have more than one measure. | ||
|
boolean |
(Optional) This turns on measure stacking and client-side calculation of percentage contribution. | ||
|
boolean |
(Optional) Whether the chart supports configurable chart fill. | ||
|
string[] |
(Optional) Local identifier of measures that should not be affected by thresholdMeasures config. | ||
|
string[] |
(Optional) Local identifier of measures that are used to render thresholds in the line and combo chart. Currently only the one threshold measure is supported. | ||
|
(Optional) Configure for the total column of Waterfall chart. | |||
|
(Optional) Customize visibility of the primary X axis, what should be on the primary X axis and how it should look like. | |||
|
string |
(Optional) Customize format string to use for numeric tics on the X axis. | ||
|
string |
(Optional) Customize name of the x axis | ||
|
(Optional) Customize visibility of the primary Y axis, what should be on the primary Y axis and how it should look like. | |||
|
string |
(Optional) Customize format string to use for numeric tics on the Y axis. | ||
|
string |
(Optional) Customize name of the y axis | ||
|
boolean |
(Optional) Allow zooming and panning in a chart. |