General TRichView support forum. Please post your questions here
-
GWIS
- Posts: 14
- Joined: Mon Dec 12, 2005 12:05 am
- Location: Australia
Post
by GWIS »
I have an application which adds TChart to TRichview. This works OK.
I also have some TDB Charts I want to add in.
Is there an equivalent of
TRVChartItemInfo.CreateEx(RichView1.RVData, Chart1, rvvaBaseline)
that can be used for a TDBChart.
What's the easiest way to do this?
Thanks
-
GWIS
- Posts: 14
- Joined: Mon Dec 12, 2005 12:05 am
- Location: Australia
Post
by GWIS »
OK. I just copied ChartItem from Addins to DBChartItem and changed all the ..Chart.. to ..DBChart..
-
Sergey Tkachenko
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
-
Contact:
Post
by Sergey Tkachenko »
I am sorry for delay.
It's better to replace TChart to TCustomChart. After that, this item type can be used both for TChart and TDBChart.