This is a migrated thread and some comments may be shown as answers.

Stack error for negative values

1 Answer 10 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Azems
Top achievements
Rank 1
Azems asked on 18 Jan 2018, 11:58 AM

In RadCartesianChart, there is an error when displaying multiple AreaSeries with CombineMode = Stack. A stack is formed incorrectly if there are negative values in the AreaSeries. 

For category 2, the value must be 3 + (-5) = -2. But not -5

1 Answer, 1 is accepted

Sort by
0
Dinko
Telerik team
answered on 23 Jan 2018, 11:47 AM
Hello Azems,

Thank you for your interest in our RadChartView control.

The behavior you observed is the expected one from the RadChartView's stack mode by design. Basically, when the combined mode is set to Stack the points of all series are placed on top of each other. The drawing of the next point will start from the value of the previous one. 

With the current implementation of the RadChartView, this behavior can't be overridden.

Regards,
Dinko
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
ChartView
Asked by
Azems
Top achievements
Rank 1
Answers by
Dinko
Telerik team
Share this question
or