The Interactive chart component allows you to create dynamic charts using the Highcharts library directly within your page. You can input data, select chart types, and configure various display options without needing to write any code.
How to add an Interactive chart
- Navigate to the page where you want to add the chart.
- Scroll to the desired section accordion (e.g., Middle left section, or Bottom section) and expand it.
- Click the Add component button.
- From the list of available components, select Interactive chart.
- Configure the fields as described below.
- Click Save to apply your changes to the page.
Configuring the Interactive chart fields
Fields marked * are required.
Chart Data and Type
| Field | What to enter / Notes |
|---|---|
| Chart * | This is the main chart editor widget where you define your chart's data and appearance. |
| Chart type * | Select the visual representation for your data. Available options are:
Selecting a chart type will update the available configuration options in the form. |
| Data table * | This spreadsheet-style grid is where you enter your chart's data.
|
| Preview | After making changes to your data or display settings, click Update Preview to see a live rendering of your chart before saving the component. This helps you ensure the chart looks as expected. |
Display Options
Fields marked * are required.
| Field | What to enter / Notes |
|---|---|
| Chart title | Enter the main title for your chart. This will appear prominently above the chart. |
| Chart subtitle | Enter a secondary title or descriptive text that appears below the main chart title. This field is only enabled if a Chart title is provided. |
| Title position | Select where the chart title should be positioned relative to the chart area. Options include: None, Outside, Inside, Top, Right, Bottom, Left. |
| Legend position | Select where the chart legend (which explains what each series represents) should be positioned. Options include: None, Top, Right, Bottom, Left. |
| Enable tooltips | Check this box to display interactive tooltips when users hover over data points on the chart. Tooltips typically show the exact value of the data point. |
| Enable data labels | Check this box to display the numerical values directly on the chart, next to their corresponding data points. This is recommended for charts that may be printed or viewed on mobile devices where hover interactions are limited. |
| Enable data markers | Check this box to display distinct markers (e.g., circles, squares) at each data point on line charts. This helps to highlight individual data points along the line. |
| Connect nulls | Check this box to draw a continuous line through any missing data points (null values) in line charts. If unchecked, gaps will appear in the line where data is missing. |
| Background colour | Enter a CSS colour value (e.g., #FFFFFF for white, rgba(0,0,0,0.5) for semi-transparent black, or a named colour like red). Leave this field blank to make the chart background transparent, allowing the page's background to show through. |
| Make chart three-dimensional | Check this box to give the chart a 3D appearance, adding depth to bars, columns, or pie slices. |
Horizontal Axis Options
Fields marked * are required.
| Field | What to enter / Notes |
|---|---|
| Axis title | Enter a title for the horizontal (X) axis. This typically describes the categories being displayed (e.g., "Month", "Region"). |
| Labels rotation | Enter a number in degrees (e.g., 45, -90) to rotate the labels on the horizontal axis. This can be useful for preventing long labels from overlapping. |
Vertical Axis Options
Fields marked * are required.
| Field | What to enter / Notes |
|---|---|
| Axis title | Enter a title for the vertical (Y) axis. This typically describes the values being measured (e.g., "Sales ($)", "Percentage (%)"). |
| Min value | Enter a number to set the minimum value displayed on the vertical axis. Leave blank for automatic scaling. |
| Max value | Enter a number to set the maximum value displayed on the vertical axis. Leave blank for automatic scaling. |
| Prefix | Enter text (e.g., $, AUD) to appear before the numerical labels on the vertical axis. |
| Suffix | Enter text (e.g., %, units) to appear after the numerical labels on the vertical axis. |
| Decimal count | Enter a number to specify how many decimal places should be displayed for the numerical labels on the vertical axis. |
| Labels rotation | Enter a number in degrees (e.g., 45, -90) to rotate the labels on the vertical axis. |
See it in action
View the Interactive Charts demo page in the Rapid Start component library.