Search found 17 matches
- Fri Aug 22, 2008 3:53 pm
- Forum: VCL
- Topic: Zoom and Automatic Axes
- Replies: 3
- Views: 6170
Let me explain my situation a little more: I have a chart with 12 y-axes: the default Left and Right axes, and ten custom axes. I have zoom set to horizontal so that you can only zoom the x-axes. I have implemented zoom memory so that when you zoom in it remembers the position of the zoom, and when ...
- Fri Aug 22, 2008 2:20 pm
- Forum: VCL
- Topic: Zoom and Automatic Axes
- Replies: 3
- Views: 6170
Zoom and Automatic Axes
Am I correct in thinking that zooming causes LeftAxis->Automatic to become false, and unzooming causes it to become true?
If this is the case, is there any way to have its value after zooming the same as is before zooming?
If this is the case, is there any way to have its value after zooming the same as is before zooming?
- Thu Aug 07, 2008 4:53 pm
- Forum: VCL
- Topic: SOLVED - TPointChart - Problem with "OnClickedPointer()
- Replies: 6
- Views: 9616
- Thu Aug 07, 2008 4:18 pm
- Forum: VCL
- Topic: SOLVED - TPointChart - Problem with "OnClickedPointer()
- Replies: 6
- Views: 9616
I too have the same issue. It appears to be caused by setting the Cursor property to something, so that when you hover it should display a different cursor, but instead hovering actually fires the OnClickPointer event. Any ideas why this might be? Also, is there any way (I doubt it, but there's no h...
- Thu Jul 10, 2008 2:40 pm
- Forum: VCL
- Topic: Right Mouse Click
- Replies: 1
- Views: 3797
Right Mouse Click
We were trying to use a right mouse click to display a popup menu. Our first attempt was done by: 1) In OnMouseDown, remember the X and Y coordinates. 2) In OnMouseUp, check that the mouse hasn't moved (as it would for zoom/scroll/etc), check that the button is the right button, if so, popup the men...
- Wed Jun 11, 2008 2:26 pm
- Forum: VCL
- Topic: Axis Position and Zooming
- Replies: 5
- Views: 7009
- Wed Jun 11, 2008 1:49 pm
- Forum: VCL
- Topic: Axis Position and Zooming
- Replies: 5
- Views: 7009
- Wed Jun 11, 2008 11:45 am
- Forum: VCL
- Topic: Axis Position and Zooming
- Replies: 5
- Views: 7009
Axis Position and Zooming
I have a chart which has the default axes positioned different to normal. I have them set up so that they start at 50%, and end at 100%. I also have Zoom->Direction set to Horizontal. When I zoom in the Left and Right axes change their minimum and maximum values. The amount they change it by relates...
- Tue Jun 03, 2008 2:30 pm
- Forum: VCL
- Topic: Area series null points
- Replies: 6
- Views: 7859
Ah ha!
And it appears possible to simply do:
Thanks for the quick help.
And it appears possible to simply do:
Code: Select all
for (int i = 0; i < iNumRegions; ++i)
{
pSeries->AddXY(pRegions[i].dStart, 1);
pSeries->AddXY(pRegions[i].dEnd, 1);
pSeries->AddNullXY(pRegions[i].dEnd, 1);
}
- Tue Jun 03, 2008 2:09 pm
- Forum: VCL
- Topic: Area series null points
- Replies: 6
- Views: 7859
For me, the following code doesn't work (there are no gaps):
Code: Select all
Series1.AddXY(10, 1);
Series1.AddXY(20, 1);
Series1.AddNull('');
Series1.AddXY(40, 1);
Series1.AddXY(50, 1);
- Tue Jun 03, 2008 1:38 pm
- Forum: VCL
- Topic: Area series null points
- Replies: 6
- Views: 7859
That works, but the figure in the Add() function refers to the Y-value, auto-incrementing the X-value, does it not? I have X-data, and don't care for Y-values. If I could attempt to illustrate what I want: ####### ################ ############################ . . . . . . . . . . . . Jan Feb Mar Apr ...
- Tue Jun 03, 2008 1:01 pm
- Forum: VCL
- Topic: Area series null points
- Replies: 6
- Views: 7859
Area series null points
I am trying to create a timeline using the TAreaSeries. Its aim is to show what regions data is present for, and as such the Y-axis is not applicable. I am trying to add data through the use of regions: for (int i = 0; i < iNumRegions; ++i) { pSeries->AddX(pRegions[i].dStart); pSeries->AddX(pRegions...
- Mon Jun 02, 2008 3:05 pm
- Forum: VCL
- Topic: TChart Scrolling
- Replies: 12
- Views: 15977
TChart Scrolling
I post this question in the VCL forum as it's the flavor of TChart that I use, however it seems to affect all types of TChart (VCL, .NET, ActiveX). It also seems to affect a variety of versions (from the v7 I think I have, to the latest v8 demos available). When I scroll with the mouse, a number of ...
- Tue May 27, 2008 2:49 pm
- Forum: VCL
- Topic: Series RTTI
- Replies: 1
- Views: 4027
Series RTTI
I had the aim of storing a number of series in a vector of TChartSeries*, and then when reading them out of the vector, checking their type with typeid(). I ran into the following problem, however, and was wondering if you knew of a reason, and or fix: TChartSeries* p = new TLineSeries(0); std::stri...
- Fri May 02, 2008 9:42 am
- Forum: VCL
- Topic: THighLowSeries Labels
- Replies: 2
- Views: 5307