Tuesday, August 18, 2015

NextCharts: Bar Charts with Negative Values

NextCharts has now support for bar charts with negative values. A new chart type called nbar was introduced. From NextReports 8.2 version this feature will be part of designer and server.

A simple bar chart with negative and positive values will show all values over X axis if chart type is bar:


If we just change the type from bar to nbar,  X axis will be considered at 0, so positive values will be shown over it and negative values will be shown under it:


In case all values for nbar are positive, then it will be no difference between bar with startingFromZero=true and a nbar chart.

In case all values for nbar are negative, then the chart will have all its values under X axis:


nbar chart can support as styles glass (as above) or normal:

No comments: