Jump to content

TUniChart Throws JS Error


TobiS

Recommended Posts

Hello,

i got a more than weird problem while creating TUniLineSeries in the "UniFormCreate"  event of the main form.

I can only create 27 series lines. In this case i can actually have more than 27 lines.

 Code i use to to Crate it

serieNeu := TUniLineSeries.Create(ChartCopaQuote);
 serieNeu.Parent := ChartCopaQuote;
 serieNeu.Name := 'CopaQuoteSerie' + IntToStr(RECORDID.AsInteger);
 serieNeu.Title := TableGSBezeichnung.AsString;

repLineSeries := ChartPoolCopaQuote.Chart.AddSeries(TLineSeries.Create(ChartPoolCopaQuote)) as TLineSeries;
repLineSeries.LegendTitle := TableGSBezeichnung.AsString;
repLineSeries.XValues.Order := loAscending;

after the 28th is inserted i get the error 

JS Error: Unexpected identifier 

JS Error: O105 is not defined

both are in ext-sync-min.js:9

Any idea why this is happening? I did check RECORDID and Title and they are only used once.

Best Regards

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...