I am new to fusion charts and understand just enough to make them. Currently I was giving a task to make a fusion chart and insert a gray area, the trend zone. This has worked out perfectly but I had to add a display value that says Target Zone. The current color of the display value is the same as the zone. I want my display value to be a different color compared to the trend zone, how could I implement that into my code to achieve this?
This is a minimal version of my fusion chart that shows how I have my trend zone set up:
FusionCharts.ready(function() {
var percentChart = new FusionCharts({
"dataSource": {
"chart": {
"trendValueFontSize": "11",
"trendValueFontBold": "1",
"trendValueFontItalic": "1",
"trendValueAlpha": "80"
},
"trendlines": [{
"line": [{
"isTrendZone": "1",
"startvalue": "92",
"endvalue": "108",
"color": "C2C2C2",
"valueOnRight": "1",
"displayvalue": "Target Range"
}]
}]
}
});
percentChart.render();
});
Found a way to make color of Trend Value different from Trend Zone
Used CSS -
Here is a Demo fiddle - https://jsfiddle.net/3tmao0u7/1/
https://www.fusioncharts.com/dev/chart-guide/chart-configurations/trend-lines-and-zones#customize-the-trend-line-display-value-text
Hope it would help.