Drawing Graph Pie/Bar/Trendline

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All,

I have drawn Pie/Bar using some values now I want to capture any segment of
Pie or Block of Bar graph if user click on that area. Plz suggest how can I
do that .

I have to show trendline of that particular segment in new form .

Plz help me ....

Thanks&Regards
Anupam
 
Hi,

I have no experience with this king of problem.
All i can do is show you two ways:

A. Create single control (e.g."ChartControl") that will display wanted
chart:
- you'll have to keep your "ChartPart"s (pies/bars) objects in
"ChartControl" as a collection.
- all drawings you'll need to do from "ChartControl"
- all UI actions you'll have to handle on "ChartControl"
and perform that changes on the "ChartPart"s.

B. Create control "ChartControl" and create control "ChartPart".
- "ChartPart" can be placed on the "ChartControl" only
- drawing on "ChartPart" side (drawing pie can be difficult because
it depends on rest of pies)
- any UI actions should be handled by "ChartPart" control.

Regards

Marcin
 
Back
Top