Steema Issues Database

Note: 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.



Bug 1976

Summary: Uncaught RangeError when having many points in a series
Product: HTML5 JavaScript TeeChart Reporter: yeray alonso <yeray>
Component: ChartAssignee: yeray alonso <yeray>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: https://stackoverflow.com/questions/48344739/can-this-handle-100-000-values
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2018-01-24 04:46:30 EST
Ie, just using this code:

Chart1.addSeries(new Tee.Line().addRandom(200000));

Gives and "Uncaught RangeError: Maximum call stack size exceeded" error:

teechart.js:4612 Uncaught RangeError: Maximum call stack size exceeded
    at ArrayMin (teechart.js:4612)
    at Tee.Line.Tee.Series.minYValue (teechart.js:5036)
    at teechart.js:5416
    at SeriesList.eachAxis (teechart.js:5559)
    at SeriesList.minYValue (teechart.js:5415)
    at Axis.checkMinMax (teechart.js:2883)
    at Axis.adjustRect (teechart.js:3495)
    at Axes.each (teechart.js:5603)
    at Tee.Chart.draw (teechart.js:6304)
    at draw (basicTest.html:66)