Search found 10 matches

by Neil
Fri Dec 17, 2004 11:06 am
Forum: ActiveX
Topic: Duplicating a chart
Replies: 1
Views: 3678

Duplicating a chart

I need to export my real time chart every few seconds (to show on a web page). If I use GetExport.GetAsJPEG.SaveToFile() I resize it to 640x480, but this affects the drawing of the real time graph on screen. To get around this I create a temporary chart, export as native the current chart, and LoadF...
by Neil
Tue Oct 26, 2004 1:51 pm
Forum: ActiveX
Topic: CalcXPosValue - Error return?
Replies: 3
Views: 5737

xEnd and yEnd are doubles and the values are within the range of the data (0.0-10.0)

Neil
by Neil
Mon Oct 11, 2004 4:12 pm
Forum: ActiveX
Topic: CalcXPosValue - Error return?
Replies: 3
Views: 5737

CalcXPosValue - Error return?

When I call... LONG xIndex = m_pChart->GetAxis().GetBottom().CalcXPosValue(xEnd); LONG yIndex = m_pChart->GetAxis().GetLeft().CalcYPosValue(yEnd); xValue is 0x3FFFFFF and yValue = 0xFC000001 I assume these are error values. Any ideas what they mean (or what I'm doing wrong). I have tried this on an ...
by Neil
Mon Oct 11, 2004 3:22 pm
Forum: ActiveX
Topic: Not enough graticules
Replies: 3
Views: 5841

Yup, that works fine.

I've done

Code: Select all

CAxis bottomAxis = m_pChart->GetAxis().GetBottom();
double range = bottomAxis.GetMaximum() - bottomAxis.GetMinimum();
bottomAxis.SetIncrement(range/10);
I would have thought something like this is already built in?

Neil
by Neil
Fri Oct 08, 2004 11:49 am
Forum: ActiveX
Topic: Not enough graticules
Replies: 3
Views: 5841

Not enough graticules

My graph shows x-axis points between 0 and 1.5 mm. There may be 100 points on the graph between these limits. The x axis label (below the graph) shows only 0 (at the left) and 1 (in the middle). If I zoom in, I get lots of items on the axis, but I zoom out and only get 0 and 1. Is there any way to c...
by Neil
Fri Oct 08, 2004 11:44 am
Forum: ActiveX
Topic: limit of line series on a chart
Replies: 4
Views: 7754

Something to bear in mind... If this is a real time graph and you are not using FastLineSeries it will be very slow to plot a graph with this many items. My application generates around 20 items per second, with a new series every 20 seconds When using LineSeries, I couldn't show 1000 series of 100 ...
by Neil
Wed Sep 08, 2004 7:44 am
Forum: ActiveX
Topic: FastLine not redrawing
Replies: 5
Views: 12725

I sent it yesterday. Did you receive it?

Can you see the problem?

Neil
by Neil
Tue Sep 07, 2004 10:06 am
Forum: ActiveX
Topic: FastLine not redrawing
Replies: 5
Views: 12725

Hi,

You will only see this effect if you add the points over a period of time (ie with a SetTimer).

I have a visual C++ example program I can send.

What email address can I send it to?

Neil
by Neil
Mon Sep 06, 2004 4:26 pm
Forum: ActiveX
Topic: FastLine not redrawing
Replies: 5
Views: 12725

FastLine not redrawing

I'm using CFastLineSeries for extra speed, and everything works well when adding points where the x value is increasing. When I add values where the x value is decreasing, nothing gets shown until another 'event' happens (e.g. new tools created, or screen manually repainted). Is there a fix for this...
by Neil
Mon Aug 23, 2004 9:39 am
Forum: ActiveX
Topic: Axis font when printing
Replies: 1
Views: 4016

Axis font when printing

When I try to print a chart from a HTML page using IE, the axis fonts are not printing correctly.

Each letter seems to either overlap the next one or the spacing is too much (kerning problem?).

I don't set the axis fonts, so they should be whatever the default is.

Any ideas?
Neil