Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

copy series

edited March 2003 in General
Hi,

How a better way to copy a chart and series to a ppteechart?

ppteechart1.chart.assign(chart1);
ppteechart1.chart.series[0].assign(Lineseries);

Is this OK?

Thanks
Ricardo

Comments

  • edited March 2003
    This is the same thing as assigning one TChart on a TForm to another TChart,
    if RB wasn't involved. Try that as a first test to get it working with a
    regular TChart application. You are using the right property to get at the
    embedded chart control (TppTeeChart.Chart). You can also type cast this
    chart to a TChart if you want to, as it is a TCustomChart type on our
    wrapper class.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.