![]() | Steema Issues DatabaseNote: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;otherwise you can use StackOverflow. Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy. |
| Summary: | The bar series stacked property doesn't work with negative values | ||
|---|---|---|---|
| Product: | HTML5 JavaScript TeeChart | Reporter: | sandra pazos <sandra> |
| Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
The bar series stacked property doesn't work in correct way when there are negative values. Basically, the negative values in stacked bar series end up as positive values. The code below reproduces the problem: function draw() { Chart1=new Tee.Chart("canvas"); Chart1.addSeries(new Tee.Bar([5,-3,2,-7,1]) ); Chart1.addSeries(new Tee.Bar([4,4,-8,2,-9]) ); Chart1.title.text="TeeChart for JavaScript"; Chart1.title.format.font.style="18px Verdana"; Chart1.series.items[0].stacked=true; Chart1.series.items[1].stacked=true; Chart1.draw(); Chart1.title.format.font.gradient.visible=true; Chart1.draw(); }