![]() | 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: | Automatic Minimum/Maximum for Axes | ||
|---|---|---|---|
| Product: | HTML5 JavaScript TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Axes | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | CONFIRMED --- | ||
| Severity: | enhancement | CC: | mark.jonas |
| Priority: | Lowest | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | http://www.teechart.net/support/viewtopic.php?f=18&t=14972&p=66355#p66355 | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
Other TeeChart implementations have a method to set the automaticMinimum / automaticMaximum for axis objects independently. In TeeChart HTML5/Javascript, as a workaround, you can override checkMinMax function to have a fixed minimum=0, keeping the maximum automatic. Ie: Chart1.axes.left.checkMinMax=function() { var s=this.chart.series, h=this.horizontal; if (this.automatic) { this.minimum=0; this.maximum= h ? s.maxXValue(this) : s.maxYValue(this); } } But automaticMin and automaticMax properties would be helpful.