
Signature
Derrick Coetzee, Microsoft Speech Server developer
This posting is provided "AS IS" with no warranties, and confers no
rights.
Derrik:
Ironic Process (low cost) (and graphics server.com-high cost)) have nice
Graphics server engines that can be added to a form in vc++.net via this
added toolbox plugin, and nicely complements the existing toolbox in
vc++.NET. I can't get them hooked up to read file data and update in real
time as a file changes. It's easy to load the server to a form but I'm stuck
on these real simple looking Ironic.ChartControl namespace method calls
below. Can you help/recommend? Info below. Thanks, Mike
http://www.ironic-processes.com
Chart Plotter 2004 is provided as a single Dynamic Link Library (DLL) file.
This DLL file is a fully configured Control for .Net environments, and can be
rapidly deployed to .Net IDEs (Integrated Development Environments) and
configured using the Property Browser. (NB alternatively, all of the
Properties defined in the Property Overview page are ‘Public’ and can be
configured in code.)
To add the DLL to your project, either add a Reference to the Solution
(Right Click on ‘References’, select ‘Add Reference..’ and browse to the
location of the ChartControl.dll file). The Chart Plotter 2004 control can
then be accessed by referencing the Ironic.ChartControl namespace.
Alternatively, to add the Control to your Toolbox (recommended), simply
select Tools | Add/Remove Toolbox items.., and browse to the ChartControl.dll
file. This will automatically add Chart Plotter 2004 to your Toolbox so that
it can be ‘Drawn’ live onto Forms.
Then simply add a couple of method calls to your code to plot the values,
and reset the data when you are finished.
METHOD CALLS:
Chart Plotter 2004 Public Methods
Plotting data on the Chart Plotter 2004 is extremely simple, requiring the
minimum amount of coding. All appearance and behavioural properties are
available within the Property Browser window, enabling Chart Plotter 2004 to
be rapidly ‘Dropped’ into an application, and fully adhering to the standard
of visual design, development and Rapid Application development.
After having ‘Drawn’ Chart Plotter 2004 onto your application Form, and used
the Property Browser to set the appearance and behavioural properties, it is
necessary to add the code to actually ‘Plot’ a value onto the display.
The default Chart Plotter has one single Plot Line defined, however it is
necessary to add more Plot Lines if more than one data plot is desired. (See
PlotLineCollection in the Property Overview)
The required methods are:
Method Name
Description
Argument/s
Return Type
plotValue
Plots a value on the specified line
int LineNumber, float valueToPlot
-
plotMultipleValues
Plot an array of values – similar to plotValue except this method is
optimised to take an array of line numbers and an equal length array of
values and plot them all in one method. This method should be used to
optimise performance when more than one plot line is used.
int lines __gc [], float values __gc []
resetAll
Resets all data (removes any current plots)
-
-
TimeIncrement
Increment the time value on the X-Axis (Manually. This method is not
necessary if the IncrementTime property is set to ‘OnPlotLine1’ and plotValue
is called periodically for Plot Line 1)
-
-
setPlotLine
Manual code way to set Plot Lines (not necessary if pre-defined design time
Plot Lines are configured in the Property Browser (see the PlotLineCollection
property)
Various (7 Overloads)
____________________________________________________________________________
> > > > Does anyone know of a downloadable Line ActiveX control which allows
> me
[quoted text clipped - 23 lines]
> haven't found anything to do this, but if you're interested I could whip
> something up.
Derrick Coetzee [MSFT] - 20 Mar 2005 15:25 GMT
> Derrik:
> Ironic Process (low cost) (and graphics server.com-high cost)) have nice
> Graphics server engines that can be added to a form in vc++.net via this
> added toolbox plugin, and nicely complements the existing toolbox in
> vc++.NET. I can't get them hooked up to read file data and update in real
> time as a file changes. It's easy to load the server to a form but I'm
stuck
> on these real simple looking Ironic.ChartControl namespace method calls
> below. Can you help/recommend? Info below. Thanks, Mike
Sorry for the slow response. I'm afraid I'm not familiar with this
company's technology and don't have access to it, but if you can describe
in more detail in what way you're stuck and what might help you make
progress, I might be able to help.

Signature
Derrick Coetzee, Microsoft Speech Server developer
This posting is provided "AS IS" with no warranties, and confers no rights.
Mike Barna - 21 Mar 2005 19:51 GMT
Derrick:
All the company provides is in my email. Cool applett but no supporting code
or samples. Do you know of a vc++ form ready for graphics that I can drop in
code to handle a file that gets updated in real time without having to write
one?
Thanks, Mike
> > Derrik:
> > Ironic Process (low cost) (and graphics server.com-high cost)) have nice
[quoted text clipped - 10 lines]
> in more detail in what way you're stuck and what might help you make
> progress, I might be able to help.
Derrick Coetzee [MSFT] - 31 Mar 2005 20:19 GMT
> > > Derrik:
> > > Ironic Process (low cost) (and graphics server.com-high cost)) have nice
[quoted text clipped - 15 lines]
> code to handle a file that gets updated in real time without having to write
> one?
Sorry again for the slow response. I'm not sure exactly what you're trying
to do, but if you only want to draw things based on a file's contents at
runtime, you can use either the GDI methods on Graphics, such as DrawLine(),
or use a DirectX control. If you're trying to draw a chart based on some
data in the file and update it in real-time, you should be able to use just
about any chart control to do this, such as the MSChart control. I hope this
helps.

Signature
Derrick Coetzee
This posting is provided "AS IS" with no warranties, and confers no rights.