Provide custom legend labels for 2D intensity palette

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
ShawnCG
Posts: 57
Joined: Tue Oct 15, 2013 8:31 pm

Provide custom legend labels for 2D intensity palette

Post by ShawnCG » Fri Feb 14, 2014 6:18 pm

I am trying to support a log-scale color palette and would like to provide a custom label in the 2D color bar legend so that a value of "-1" appears as "0.1" or "1.E-1" in the legend value label. Is there an event I can catch to transform the log-scale value into a linear value before generating the label? I can do this for the 3D colorbar by intercepting the FormatValueLabel event for YAxisPrimary3D, but I'm not sure if something similar is possible for the 2D intensity series legend.

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: Provide custom legend labels for 2D intensity palette

Post by ArctionPasi » Fri Feb 14, 2014 7:57 pm

There's no similar event handler currently.

I believe you can use right formatting string in intensityGridSeries.LegendBoxValuesFormat.
LightningChart Support Team, PT

Post Reply