Page 1 of 1

.Chart vs .TChart

Posted: Thu Oct 28, 2010 10:32 am
by 13052926
What is the difference? I appear to have written a massive and complex charting application without knowing this. Weird.

Anyway, on the chart scroll event the sender object is Steema.TeeChart.Chart. In this event I need to know things about the chart that actually live in Steema.TeeChart.TChart

Sorry, I think I may be a little stupid here?

Re: .Chart vs .TChart

Posted: Thu Oct 28, 2010 11:49 am
by narcis
Hi rossmc,

TChart is the central component in TeeChart library for Windows Forms and is the container for all other TeeChart objects. Chart defines the chart component to display on a TChart. TChart is an object inheriting from System.Windows.Form.Controls and which has a property of the Steema.TeeChart.Chart type which is derived from System.ComponentModel.Component.