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 848 - Assigning an array of strings to data.values give some errors
Summary: Assigning an array of strings to data.values give some errors
Status: CONFIRMED
Alias: None
Product: HTML5 JavaScript TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: unspecified
Hardware: PC Windows
: Lowest enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-15 11:14 EDT by yeray alonso
Modified: 2014-10-14 07:21 EDT (History)
1 user (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yeray alonso 2014-07-15 11:14:39 EDT
If you assign an array of strings to the data.values you get an error at:

Tee.Series.prototype.valueText=function(index)

When calling:

d.toFixed(0)

Because it expects a double but "d" is a string.
Adding this at the beginning of the valueText method fixes it:

if ( typeof d == "string") d=+d;

But then it crashes the function:

this.drawText=function(bounds,text)

When calling:

text.split("\n")

Because it expects a string and now text is a number.
Comment 1 licensing 2014-10-14 07:13:42 EDT
Hello,

We have bought 5 developer steema TeeChart JavaScript Developer commercial license and as per the instruction given in email, we have downloaded using the license & customer no and its password, setup got downloaded but after completion we are trying to install by accepting the agreement it prompts an error stating that installation folder of HTML5 Builder cannot found.

can you please revert us on the same & guide us further with download & installation part.

Thanks in advance.
Comment 2 yeray alonso 2014-10-14 07:21:20 EDT
Hello licensing@ftindia.com,

Please, for setup problems email info@steema.com.