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
|
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
|