HeatMap color bar is reversed

Stimulsoft Reports.NET discussion
Post Reply
lynn263
Posts: 1
Joined: Fri Jun 13, 2025 7:51 pm

HeatMap color bar is reversed

Post by lynn263 »

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!
Attachments
mrt.txt
(9.17 KiB) Downloaded 18 times
website.PNG
website.PNG (87.16 KiB) Viewed 160 times
preview1.PNG
preview1.PNG (747.29 KiB) Viewed 160 times
Lech Kulikowski
Posts: 7287
Joined: Tue Mar 20, 2018 5:34 am

Re: HeatMap color bar is reversed

Post by Lech Kulikowski »

Hello,

Please send us a sample report with test data that reproduces the issue for analysis.

Thank you.
Post Reply