+1-888-201-6088 | email@nevron.com
Nevron logo
Nevron word

Working with Chart Axis Scale Breaks

Working with Nevron Chart Scale Breaks – Using Axis Scale Breaks

Introduction

Creating a chart that is informative to the user is a challenging task. Being focused on the data visualization Nevron Chart for .NET sets the standards in data visualization technology by supporting a variety of features allowing you to create informative and readable charts. One such feature is the complete support for axis scale breaks.

Features

Axis scale breaks are most commonly used in the following cases:
  • When you have to display data that varies greatly in magnitude.
  • When you need to reduce the effect that several large values (peaks in data) have on the scaling of the rest of data.
  • When you want to skip data that is of no interest in order to focus on the rest of the data.
Nevron Chart fully supports scale breaks on all types of axes (horizontal, vertical, depth, reversed, date time etc.) in both 2D and 3D mode and allows you to have complete control over the scale break position and style.
Occupational Noise Report

Fig. 1

As shown on the above picture (Fig. 1), the noise levels raise dramatically between 10 to 12 o’clock creating a peak in data. The effect is to visually marginalize the other smaller peaks in the sound level, thus reducing the ability of the user of the chart to analyze these smaller peaks. In cases like this one you may consider to introduce a scale break on the y axis in order to increase the chart readability. The following chart (Fig. 2) shows how an automatic scale break will effectively increase the visual space available for the data:

This is achieved through the following code:

[C#]
NAxis primaryY = (NAxis)chart.Axis(StandardAxis.PrimaryY);
NStandardScaleConfigurator noiseScale = primaryY.ScaleConfigurator as NStandardScaleConfigurator;

NAutoScaleBreak autoScaleBreak = new NAutoScaleBreak();
noiseScale.ScaleBreaks.Add(autoScaleBreak);

[VB.NET]
Dim primaryY As NAxis = chart.Axis(StandardAxis.PrimaryY)
Dim noiseScale As NStandardScaleConfigurator = CType(primaryY.ScaleConfigurator, NStandardScaleConfigurator)

Dim autoScaleBreak As NAutoScaleBreak = New NAutoScaleBreak()
noiseScale.ScaleBreaks.Add(autoScaleBreak)
Occupational Noise Report With Scale Break

Fig. 2

Notice that now the smaller peaks in data are now more visible, but the chart still does not look quite good. In particular the scale break filling and style do not match the visual appearance of the chart, therefore it is a nice idea to introduce wave scale break style with some other filling (Fig. 3):

This is done with one line of code:

[C#]
autoScaleBreak.Position = new NContentScaleBreakPosition();

[VB.NET]
autoScaleBreak.Position = New NContentScaleBreakPosition()
Occupational Noise Report With Scale Break Position

Fig. 3

Working with Nevron Chart Scale Breaks you can add custom scale breaks on the chart primary X and Y axes in 2D or 3D charts.

Conclusion

Nevron Chart for .NET fully supports scale breaks and additionally allows you to customize a variety of options to get the desired result for your charts. Very few charting packages support this level of flexibility when working with scale breaks. More information on scale breaks is available in the Users Guide shipped with the fully-functional evaluation of the Chart component.
Scale breaks appearance
Chart Scale Breaks Gallery

About Nevron Software

Founded in 1998, Nevron Software is a component vendor specialized in the development of premium presentation layer solutions for .NET based technologies. Today Nevron has established itself as the trusted partner worldwide for use in .NET LOB applications, SharePoint portals and Reporting solutions. Nevron technology is used by many Fortune 500 companies, large financial institutions, global IT consultancies, academic institutions, governments and non-profits.
For more information, visit: www.nevron.com.

Customer Quotes:

QUOTE The quality of the graphics we produce with Nevron Chart greatly impresses everyone. While the software development department in our startup company consists of only five people, the fact that we can produce world-class graphics goes a long way towards convincing potential clients of our professionalism.

I like to lead off the demonstrations that I provide for customers with one or more of the plots I generate with Nevron Chart. The quality of these graphics is so obvious and so arresting that they grab everyone's attention, and make sure that the people in the room are going to listen to whatever I have to say next.

The Nevron Chart software is absolutely central to our software development efforts. The data analysis package that we've written uses graphics to tell the stories that lies behind the data, and the precision and user interactivity that we can achieve with the Nevron package enable us to tell those stories in a very compelling fashion.

We have been using Nevron Chart as a central element in our software development efforts for the last three years, and we have no desire to switch to any other package. I've been consistently impressed with the robustness of the code, the range of the capabilities, and above all with the quality of the graphics since the time that I first started experimenting with this package. Graphical presentations have been a part of my scientific programming efforts for the last 20 years, and as far as I'm concerned there is no other package on the market that is better than Nevron Chart.
UNQUOTE

Benjamin Alexander
BioProcessors