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

Occupational Noise Report

Fig. 1

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 With Scale Break

Fig. 2

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 Position

Fig. 3

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

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

Scale breaks appearance
Chart Scale Breaks Gallery

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.

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 For a project currently under development I found myself in the need of a charting control for .NET and after much cruising the net I finally settled on and purchased the Nevron WinForms .NET Chart and I will be the first to admit that price played a great part in the original decision; but the more that I worked with the component the more I began to appreciate the thought and effort that the folks at Nevron had put into it.

There are two things that Nevron gets right with their chart component and they are:
- Samples (slash Help) - In the years that I have been coding and trying components that are suppose to make a developers life easier I have come to a conclusion that component developers either hate doing good help and sample projects - or they assume that you'll be smart enough to figure it out. Well excuse me but I'm using you component to speed up the development cycle not spend hours - or days - trying to figure out how to use the component. This is not the case with Nevron - in this area they excel as the sample projects include both C# and VB.NET and they are put together in such a way that there isn't anything about using the component that you can't figure out. My hat's off to them for this and a big resounding Thank You.
- Pricing - This has got to be one of my biggest beefs (next to help files :) ) that I have with component developers. They all seem to think that application and web developers have a corporate bank account behind them - well we don't and Nevron apparently has recognized this and in turn priced an excellently full featured charting control within the financial reach of small independent developers. They should be commended for this.
The Nevron Chart component has become a permanent part of my developer toolbox and I would have no qualms against recommended it to any other developer out there - corporate or independent.

So my suggestion is head over there (link at bottom of review) and grab a copy of their demo and see for yourself. I know you won't be disappointed.
UNQUOTE

Steven Hodson
WinExtra