How to change series property values by code

edited 11:45PM 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 11:45PM
    Chart1.Chart.Series[0].XXX := xxx
  • theodoretheodore Greece
    edited 11:45PM
    Hello...
    I tried to do the same from onbefore script...
    I got the error 'undeclared identifier series'
    ....
  • edited 11:45PM
    I tried the script... but
    I got the error 'undeclared identifier series'
  • edited 11:45PM
    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