How to change series property values by code

edited 12:36PM in FastReport 3.0
I've created a chart with 2 series

By using code i want to change some proerties of Series.

if i give chart1.Series1.XXXX := XXX

it is showing an error.


So wot can be the solution


thanks in advance

Comments

  • edited 12:36PM
    Chart1.Chart.Series[0].XXX := xxx
  • theodoretheodore Greece
    edited 12:36PM
    Hello...
    I tried to do the same from onbefore script...
    I got the error 'undeclared identifier series'
    ....
  • edited 12:36PM
    I tried the script... but
    I got the error 'undeclared identifier series'
  • edited 12:36PM
    I also have 2 series and need to activate only one in the OnBeforePrintEvent.

    I tried Chart1.Chart.Series1.Active, Charts1.Series[0].Active, etc... and I always get the following error : 'undeclared identifier 'Actvive'.

    I am using the FastReport 3.14 and Tee chart Pro 7.04. Any idea to activate one or another series at runtime ?

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.