Nevron .NET Vision Documentation
Predefined Style Sheets

The easiest way to take advantage of style sheets is to use one of the predefined style sheets in the control. Creating a predefined style sheet is easy:
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

 

Related Examples

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

 

 


©2017. Nevron Software LLC.

Send Feedback