You create a linear scale by creating an instance of the NLinearScale class. The following code shows how to create a linear numeric scale and assign it to the primary Y axis of a Cartesian chart:
| C# |
Copy Code
|
|---|---|
|
NCartesianChart chart = (NCartesianChart)chartView.Surface.Charts[0]; chart.Axes[ENCartesianAxis.PrimaryY].Scale = linearScale; |
|
