Custom numeric format on heat map legend


Author
Message
Ron Eaglin
Ron Eaglin
Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)
Group: Forum Members
Posts: 2, Visits: 4
I have a heat map where the legend prints only 0 on the legend - actual numeric values work OK on the heat map (they display correct color values). The problems is the range of values is from 1e-9 to 1e-14. The legend simply displays each range as 0. 

I would like to change the numeric format to 0.0##e00  - but have not been able to find a Numeric format accessor class for the legend numeric display like where I could use NNumericValueFormatter("0.0##E+00");
Ron Eaglin
Ron Eaglin
Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)
Group: Forum Members
Posts: 2, Visits: 4
I figured it out

NLinearScaleConfigurator scale = new NLinearScaleConfigurator();
    scale.LabelValueFormatter = new NNumericValueFormatter("0.0##E+00");
    heatMap.Legend.PaletteScaleConfigurator = scale;
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic
1 active, 1 guest, 0 members, 0 anonymous
No members currently viewing this topic!

Login

Explore
Messages
Mentions
Search