Home Devices

adding bars to a chart

edited March 2008 in Devices
Hello,

Can you tell me how to add bars to a chart (not dbchart)
I have some variables from wich I like to make bars.
I put an chart (ch1) on the report.and made serie (series1)
In the onprint event I try to do this
ch1.series1.add(variable1.value,'test1',clred);
ch1.series1.add(variable2.value,'test2',clblue);
ch1.series1.add(variable3.value,'test3',clgreen);

I get the error : "( expected series1 found instead"

regards,
Rob Nowee

Comments

  • edited March 2008
    Hi Rob,

    The ability to create and manipulate various TeeChart parts is currently
    somewhat limited in RAP. I believe to access the actual series object, you
    will need to create a pass thru function. This is something we have marked
    down to enhance for the next major release.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.