Search found 4 matches
- Thu Jul 26, 2007 6:29 pm
- Forum: VCL
- Topic: How To 'invert' AreaSeries to have color above curve
- Replies: 8
- Views: 12043
Thanks a lot, the code above does the job!!! I just have to make sure that when setting minimum and/or maximum of the 'leading' left axis in the code, this must be done also with the right axis: Chart1.RightAxis.SetMinMax(ymin,ymax); Chart1.LeftAxis.SetMinMax(-ymax,-ymin); The same is true for the A...
- Wed Jul 25, 2007 1:19 pm
- Forum: VCL
- Topic: How To 'invert' AreaSeries to have color above curve
- Replies: 8
- Views: 12043
Sorry, I have express myself more precisely. With coordinates I mean x/y values I use with the AddXY-function. Im NOT talking here about any pixel coordinates. The application I have in mind has a central f(x) line running between a 'forbidden' area above with g(x)-values and a forbidden area below ...
- Wed Jul 25, 2007 12:38 pm
- Forum: VCL
- Topic: How To 'invert' AreaSeries to have color above curve
- Replies: 8
- Views: 12043
Thanks for your answer, but that I have also tried before. If I have done right, the y-coordinate of the point to be added to the Series with inverted axis depends on the minimum of the non-inverted axis: yinv = axismin+axismax-y (inverted axismin=axismin, inverted axismax=axismax) But axismin or ax...
- Wed Jul 25, 2007 11:28 am
- Forum: VCL
- Topic: How To 'invert' AreaSeries to have color above curve
- Replies: 8
- Views: 12043
How To 'invert' AreaSeries to have color above curve
Hi! After spending quite a lot of time with this topic, I try to take advantage of this forum. What I try to do is simple: I want to have color above a Line(Series), up to the top of the Chart-Rectangle, so just what the AreaSeries does, but vertically inverse. My best try was a Series Band Tool wit...