I have a Tlineseries on X,Y graph, Y varies above and below zero. I'd like to fill between the curve and x=0 but would like positive data fill to be red and negative data fill to be blue. I there an easy/recommended way to do this please?
thanks
Sean
Search found 19 matches
- Wed May 16, 2012 1:41 pm
- Forum: VCL
- Topic: Filling between line and axis
- Replies: 1
- Views: 3686
- Sun Apr 01, 2012 9:35 pm
- Forum: VCL
- Topic: Tlineseries legen fonts
- Replies: 1
- Views: 3621
Tlineseries legen fonts
hi, I have a chart with half a dozen line series, each series gets an entry in the chart legend, the entry each being the series name, followed by some stats values like min/max/mean. I'd like to alter the series name and font as shown in legend at run time depending on certain conditions. I have ch...
- Fri Nov 20, 2009 7:33 am
- Forum: VCL
- Topic: restrict scroll inside axes only
- Replies: 5
- Views: 7163
Re: restrict scroll inside axes only
thanks Yeray, I think it must have beren related to having used opengl on these charts, I deleted the chats affected and replaced with new. All series creation and handling is in code, so the only changes were to replace three charts and give them different names, the code for adding and controlling...
- Thu Nov 19, 2009 3:54 pm
- Forum: VCL
- Topic: restrict scroll inside axes only
- Replies: 5
- Views: 7163
Re: restrict scroll inside axes only
Is it possible that somehow the global procedure unclipcanvas has caused my issue, and i need to run clipcanvas. But how do I do that?
- Thu Nov 19, 2009 3:37 pm
- Forum: VCL
- Topic: restrict scroll inside axes only
- Replies: 5
- Views: 7163
Re: restrict scroll inside axes only
thanks Yeray, No, not custom axes. I think I've figured out why it's occurred, but not yet how to fix. For the the three charts in question i was experimenting last week with using OpenGL-3D, and then I returned back to normal, and I suspect one of the clipping parameters has remained unstuck somewh...
- Wed Nov 18, 2009 7:20 pm
- Forum: VCL
- Topic: restrict scroll inside axes only
- Replies: 5
- Views: 7163
restrict scroll inside axes only
Tchart 8.06. Must be an easy one but cannot find the solution, it's not occurred on many other apps with Tcharts. I have Tchart with 10 Tlineseries, X and Y axes, draws a few thousand x,y points on each series. If I scroll with right mouse button in either X orY I can drag the series drawings outsid...
- Fri Oct 16, 2009 6:26 am
- Forum: VCL
- Topic: legen symbol pen width
- Replies: 2
- Views: 4314
Re: legen symbol pen width
thanks Yeray, I'll try that way.
Sean
Sean
- Mon Oct 12, 2009 1:15 pm
- Forum: VCL
- Topic: legen symbol pen width
- Replies: 2
- Views: 4314
legen symbol pen width
Tchart Pro vsn 8.06 Chart with a few Tlineseries drawing X,Y graphs I have lineseries.pointer.size = 1, lineseries.pointer.visible=false so the graph draws just a linebetween the x,y points, the actual points not being displayed on chart If I alter lineseries.pen.width it alters thw width of the lin...
- Wed Sep 09, 2009 3:11 pm
- Forum: VCL
- Topic: Polar Series - color each point
- Replies: 4
- Views: 5915
Re: Polar Series - color each point
thanks Narcis, that works
- Wed Sep 09, 2009 1:55 pm
- Forum: VCL
- Topic: Polar Series - color each point
- Replies: 4
- Views: 5915
Re: Polar Series - color each point
thanks Narcis, installed 8.06, created simple app with just a rosechart with roseseries on. Works with follwing in formcreate with roseseries do begin clear; pointer.Pen.Visible:=false; pointer.Style:=pscircle; pen.Visible:=false; addxy(-30,2000); addxy(-60,1500); addxy(-100,1000); valuecolor[0]:=cl...
- Wed Sep 09, 2009 11:21 am
- Forum: VCL
- Topic: Polar Series - color each point
- Replies: 4
- Views: 5915
Polar Series - color each point
TCHart 8.01 Delphi6 I have A Polar series on a chart, pen.visible set to false and want to draw a scatter type plot with many points, the points being drawn at (Radius,Angle) as expected with Polar chart, but I want to color the points individually according to a third variable. I've done similar wi...
- Wed Aug 05, 2009 9:35 pm
- Forum: VCL
- Topic: Teecreatebitmap
- Replies: 1
- Views: 3482
Teecreatebitmap
I'm using code below to make gf files of chart, the loop can be executed many hundreds of times. There appears to be a memory leak with this, should I be freeing something after the call to teecreatebitmap? thans Sean tmpgif:=tgifimage.Create; for c:=1 to no_of_var do begin get_chart1; with tmpgif d...
- Tue Oct 23, 2007 11:08 am
- Forum: VCL
- Topic: Nulls on Tlineseries
- Replies: 2
- Views: 4404
- Mon Oct 22, 2007 8:16 pm
- Forum: VCL
- Topic: Nulls on Tlineseries
- Replies: 2
- Views: 4404
Nulls on Tlineseries
Tchart 8, Delphi 6, Am using series.addnullxy(x,y) to add null points to a series. I want the series to draw points at valid non-null x,y, with lines connecting the non-null points. But where there is a null I want a gap in the lines connecting the non-null points. However, I'm getting a line betwee...
- Thu Oct 04, 2007 10:11 am
- Forum: VCL
- Topic: Size of items in legend
- Replies: 1
- Views: 4436
Size of items in legend
D6Pro, Teechart 8.01 Chart with several tlineseries on, the legendstyle is set to LSseries so that I get a coloured point and a text title in the legend for for each series. I'm drawing the series as dots of X,Y scatter plots, so no lines joining the dots. The dots are controlled with pointer.size:=...