Windows Forms: Styles\Style Sheets\Predefined Style Sheets
Windows Forms: Styles\Style Sheets\Style Sheet Configurators
Web Forms: Styles\Style Sheets\Predefined Style Sheets
Web Forms: Styles\Style Sheets\Style Sheet Configurators
C# |
Copy Code
|
---|---|
NStyleSheet styleSheet = NStyleSheet.CreatePredefinedStyleSheet(PredefinedStyleSheet.Nevron); styleSheet.Apply(nChartControl1.Document); |
Visual Basic |
Copy Code
|
---|---|
Dim styleSheet As NStyleSheet = NStyleSheet.CreatePredefinedStyleSheet(PredefinedStyleSheet.Nevron) styleSheet.Apply(NChartControl1.Document) |
That’s all you have to do. When you browse through the predefined style sheets you’ll notice that some of them end up with the “Multicolor” suffix. This denotes that the style sheet will apply colors to individual data points in the chart series vs to apply a uniform color to each series. The following images show two charts created with the "NevronMulticolor" and "Nevron" style sheets:
Bar chart with applied multi color style sheet | Bar chart with applied single color style sheet |
Windows Forms: Styles\Style Sheets\Predefined Style Sheets
Windows Forms: Styles\Style Sheets\Style Sheet Configurators
Web Forms: Styles\Style Sheets\Predefined Style Sheets
Web Forms: Styles\Style Sheets\Style Sheet Configurators