There are several ways to modify the vertical axis labels in Fusion Charts:
- Changing font size, color, and style: You can use CSS styling to modify the font size, color, and style of the vertical axis labels. For example, you can use the following CSS code to change the font size to 16px:
.chart-container .axis-y text {
font-size: 16px;
}
- Changing label format: You can use the "formatNumber" attribute in the chart configuration to change the format of the vertical axis labels. For example, you can use the following code to format the labels as currency:
"formatNumberScale": "0",
"numberPrefix": "$",
- Custom label text: You can use the "label" attribute in the chart configuration to customize the text of the vertical axis labels. For example, you can use the following code to change the label text to "Sales in thousands":
"yAxisName": "Sales in thousands",
- Modifying the axis range: You can use the "minValue" and "maxValue" attributes in the chart configuration to modify the range of the vertical axis. For example, you can use the following code to set the minimum value to 0 and the maximum value to 100:
"yAxisMinValue": "0",
"yAxisMaxValue": "100",