Changed Behavior

This section is for users using a previous version of FusionCharts in their application. Here, we'll talk about the change in behavior of the charts after v3.21.x.

Label Improvements for Sunburst Chart

Starting in version 3.21, users can choose to display labels for each independent node on a Sunburst chart. Users have to option to enable the new showLabelValue property, which allows them to control the label visibility of the nodes at each level. Previously, the visibility was based on the internal space management algorithm.

Show Percent Values in Pie and Doughnut Charts

Starting version 3.21, users have more control over displaying the chart and legend values on Pie and Doughnut charts. Users can now control whether to display chart values as percentages or as absolute values. Also, if a user enables the legend’s visibility, the user can choose to display the legend item values as a percentage or as absolute values.

The following is a clarification of each property’s function.

  • showPercentValue- controls the percentage or absolute value for the chart.
  • showValueAsPercentInLegend - controls the percentage or absolute value for the legend.
  • showValuesInLegend - controls the visibility of the percentage or absolute value displayed in the legend.

Improved Pattern Styles

FusionCharts version 3.21 improved the behavior of patterned styles in bars and column charts to remain unchanged whenever the legends are toggled. Previously, selecting a legend replaced the column’s pattern with a solid color.
Version 3.21.

Example of previous versions where the pattern style switched to a solid color.

Overlapping values Avoidance

Starting version 3.21, FusionCharts improved the drawcrossline property to avoid the overlapping of text labels inside a chart.

Previously, when multiple series values were plotted in a msline chart with the same or similar values, the value’s text labels were getting overlapped.

Before Fix

Number Suffix Improvement

FusionCharts version 3.21 improved the prefix and suffix positions to work as expected for all languages and characters. Simply enable the hasRtlText attribute to switch the suffix and prefix positions.

Previously, using numbers as a suffix did not work when using Arabic or any RTL characters. Instead, the chart displayed the numbers as a prefix.

Legend Item Improvement

FusionCharts version 3.21 improved the legend items' behavior by configuring the correct font size and line-height values, and now the legend items stay static when toggled over them.

Previously, upon selecting a legend item, the other items moved positions when hovering over them.

Improved Plot border for Bar chart

FusionCharts version 3.21 improved the border of the 2D Bar charts to display smooth borders for all bars and graphs. Previously, when the bar plot border was a non-zero value, each bar displayed was separated from the graph’s canvas border.

Before version 3.21, the bar’s border was displayed separately.