HeatMap color bar is reversed
Posted: Fri Jun 13, 2025 8:19 pm
Hi,
I configured heatmap color bar to display from green to brown, bottom to top. The attached screenshot shows how it looks in the preview.
However when I generate the report on my website the color bar is reversed.
I tried changing the direction in code but this didn't work :
var chart = report.CompiledReport.Pages[0].Components["Chart1"] as StiChart;
if (chart != null && chart.Legend != null)
{
chart.Legend.Direction = StiLegendDirection.BottomToTop;
}
Does anyone know how I can change the direction of the color bar so that it will be 'correct' on my website? Do I need to change Legend or Series?
Appreciate any help!
I configured heatmap color bar to display from green to brown, bottom to top. The attached screenshot shows how it looks in the preview.
However when I generate the report on my website the color bar is reversed.
I tried changing the direction in code but this didn't work :
var chart = report.CompiledReport.Pages[0].Components["Chart1"] as StiChart;
if (chart != null && chart.Legend != null)
{
chart.Legend.Direction = StiLegendDirection.BottomToTop;
}
Does anyone know how I can change the direction of the color bar so that it will be 'correct' on my website? Do I need to change Legend or Series?
Appreciate any help!