Format Legend for Surface Chart


Author
Message
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hi,

The ValueFormatter property of the surface series controls the formatting of the values displayed in the legend. You can use something like:

surface.ValueFormatter = new NNumericValueFormatter("0.00");

or

surface.ValueFormatter = new NNumericValueFormatter("0.##");



Best Regards,
Nevron Support Team


Alexander Haberl
Alexander Haberl
Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)
Group: Forum Members
Posts: 15, Visits: 48
Hi!

In my 3D-Surface chart I have an AutomaticPalette with 6 levels defined (see attachment). Is it possible to format the legend, so that only 2 decimals (instead of 6) are shown?
I already tried surface.Legend.Format, but that didn't work.

Thanks a lot!


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search