Profile Picture

Only 6 colors available in Predefined Style Sheets

Posted By Hasindu Diyabalanage 13 Years Ago
Author
Message
Hasindu Diyabalanage
Posted 13 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 7, Visits: 1
Hi again,

As shown on the attachment (Winter - Multi Color), the predefined style sheets only have 6 colors. How can i have more colors when there are more than 6 bars?

Many thanks for any replies,
Hasindu

Attachments
Only6ColorsAvailable.png (52 views, 17.00 KB)
Nevron Support
Posted 13 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

Hi Hasindu,

The following code snippet shows how to create a multi color style sheet based on the Nevron palette and extend it with custom colors:

NChartPalette palette = new NChartPalette(ChartPredefinedPalette.Nevron);
palette.SeriesColors.Add(
Color.Blue);
palette.SeriesColors.Add(
Color.Red);

// etc.

NStyleSheet styleSheet = NStyleSheet.CreateFromPalette(palette, true);



Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic