Profile Picture

Custom numeric format on heat map legend

Posted By Ron Eaglin 8 Years Ago
Author
Message
Ron Eaglin
Question Posted 8 Years Ago
View Quick Profile
Forum Newbie

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
Last Active: 8 Years Ago
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
Posted 8 Years Ago
View Quick Profile
Forum Newbie

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
Last Active: 8 Years Ago
Posts: 2, Visits: 4
I figured it out

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



Similar Topics


Reading This Topic