ASE Home Page Products Download Purchase Support About ASE
ChartDirector General
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Add multiple gauges and realtime chart to existing VB.NET 2005 form
Posted by MXWilliams on Oct-12-2008 08:45
Hello all.

How do I add charts and graphs to an existing VB.NET Windows form (not a web page).  I'm creating a dashboard for an existing app.

Thanks,
Mark.

  Re: Add multiple gauges and realtime chart to existing VB.NET 2005 form
Posted by Peter Kwan on Oct-13-2008 20:54
Hi MXWilliams,

The method is similar to the one described in "ChartDirector Documentation/Getting Started/The First Windows Forms Project from Scratch". You may refer to the documentation for more details.

In brief, the steps are:

(a) Drag a ChartDirector WinChartViewer control onto the Windows Form.

(b) Add the line "Imports ChartDirector" (for VB.NET) or "using ChartDirector;" (for C#) to your code.

(c) Insert some charting code in your Form_Load method (or some other event which you want to trigger drawing of the chart).

Hope this can help.

Regards
Peter Kwan