Ask Your Question
1

How can the vertical axis labels be modified in Fusion Charts?

asked 2023-05-08 02:39:16 +0000

lalupa gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-05-08 02:43:02 +0000

devzero gravatar image

There are several ways to modify the vertical axis labels in Fusion Charts:

  1. 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;
}
  1. 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": "$",
  1. 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",
  1. 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",
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-08 02:39:16 +0000

Seen: 14 times

Last updated: May 08 '23