Search found 12 matches
- Wed Apr 14, 2010 11:47 am
- Forum: VCL
- Topic: Virtual TChart?
- Replies: 4
- Views: 5886
Re: Virtual TChart?
Thanks. By the way, among the advantages of that kind of approach would be the ability to create a scrolling (along the x-axis) TChart that could request a new "window" of data when it was scrolled.
- Mon Apr 12, 2010 3:23 pm
- Forum: VCL
- Topic: Virtual TChart?
- Replies: 4
- Views: 5886
Re: Virtual TChart?
I'm suggesting that a series be able to request the data when it's needed. So, e.g., the getter for XValues.Count would actually call an event, and the event handler would return the count. Similarly, the getter for XValues would call an event, returning the value for index i. This way, there would ...
- Mon Apr 12, 2010 12:20 pm
- Forum: VCL
- Topic: Virtual TChart?
- Replies: 4
- Views: 5886
Virtual TChart?
Is there anywhere the concept of a set of chart series that are request there data when needed? I have an application that carries around a large amount of data, much of which needs to be plotted. Adding points to chart series essentially doubles the size of the data requirement. If there were inste...
- Fri Jul 04, 2008 12:32 pm
- Forum: VCL
- Topic: "Not enough storage..." crash on resizing
- Replies: 2
- Views: 3986
Thanks - we'll look a little further first - there is also another third-party component in the same form and we need to rule out one or the other before digging in deeper. Hi Jim, This is really difficult to guess without being able to reproduce the issue here. If you could find a way to reproduce ...
- Thu Jul 03, 2008 3:23 pm
- Forum: VCL
- Topic: "Not enough storage..." crash on resizing
- Replies: 2
- Views: 3986
"Not enough storage..." crash on resizing
One of my users is experiencing a "Not enough storage is available to process this command" message (and subequent crash) when he tries to resize a modal window containing a page control having TChart instances on 2 of its 4 pages. I cannot reproduce it on my machine (2560 x 1600 screen). I believe ...
- Fri Oct 26, 2007 6:40 pm
- Forum: VCL
- Topic: TPoint3DSeries - mouse move and click problems
- Replies: 6
- Views: 7229
Following up
I did it at runtime, like this: aChart.Aspect.Orthogonal := true; aSS := TSurfaceSeries.Create(nil); aSS.Pen.Visible := false; aSS.ParentChart := aChart; aPS := TPoint3DSeries.Create(nil); aPS.LinePen.Visible := false; aPS.ParentChart := aChart; aPS.Pointer.Draw3D := true; aPS.DepthSize := 1; aPS.On...
- Fri Oct 26, 2007 11:52 am
- Forum: VCL
- Topic: TPoint3DSeries - mouse move and click problems
- Replies: 6
- Views: 7229
Still doesn't fire
Hi Jim, This happens when Chart1.Aspect.Orthogonal:=false; and the difficulty to convert from 2D screen coordinates to 3D chart coordinates. This is a known issue and is very difficult to solve as neither GDI nor GDI+ provide methods for such conversions. I tried both chtAC.Aspect.Orthogonal := tru...
- Fri Oct 26, 2007 11:19 am
- Forum: VCL
- Topic: TPoint3DSeries - mouse move and click problems
- Replies: 6
- Views: 7229
Hi Jim, This happens when Chart1.Aspect.Orthogonal:=false; and the difficulty to convert from 2D screen coordinates to 3D chart coordinates. This is a known issue and is very difficult to solve as neither GDI nor GDI+ provide methods for such conversions. Understood, in general, but you do the geom...
- Thu Oct 25, 2007 2:55 pm
- Forum: VCL
- Topic: TPoint3DSeries - mouse move and click problems
- Replies: 6
- Views: 7229
TPoint3DSeries - mouse move and click problems
I'm creating a TPoint3DSeries, aPS, on the fly and putting it along with a TSurfaceSeries, aSS, on a chart as follows: aPS := TPoint3DSeries.Create(nil); aPS.LinePen.Visible := false; aPS.ParentChart := aChart; aPS.Pointer.Draw3D := true; aPS.DepthSize := 1; aPS.OnGetMarkText := Self.GetMarkText; aP...
- Wed Oct 17, 2007 12:31 pm
- Forum: VCL
- Topic: Updating two 3-d charts
- Replies: 4
- Views: 7245
Again
They do EXACTLY the same thing: one chart always lags the other, unless you move the trackbar VERY slowly. I found, though, that this works: Chart1.View3dOptions.Elevation := x; Chart1.Repaint; Chart2.View3dOptions.Elevation := x; Chart2.Repaint; You need BOTH Repaint calls or it's still the same be...
- Tue Oct 16, 2007 5:32 pm
- Forum: VCL
- Topic: Updating two 3-d charts
- Replies: 4
- Views: 7245
Nope...
This doesn't change anything. Actually, after implementing it, I can't see why it would. The issue seems to be that, internally, only one chart wants to be updating at a time and someone, one of them takes precedence. I tried the following experiment. I deleted the one that was "lagging" and recreat...
- Mon Oct 15, 2007 4:47 pm
- Forum: VCL
- Topic: Updating two 3-d charts
- Replies: 4
- Views: 7245
Updating two 3-d charts
I have 2 TCharts, A and B, each displaying a TIsoSurfaceSeries. I have a trackbar T with the following OnChange handler: A.View3DOptions.Elevation := T.Position; B.View3DOptions.Elevation := T.Position; and I drag the trackbar around. One of the charts updates smoothly immediately, the other only wh...