Search found 6 matches

by christianh
Thu Mar 14, 2013 5:58 pm
Forum: VCL
Topic: Series Region tool draws outside chart area
Replies: 4
Views: 5149

Re: Series Region tool draws outside chart area

I would like to add that this happens also on the vertical axis. See the attached screenshot. Note the scale of the series on the bottom ("Beta") goes from approx. -0.04 to -0.09. The regiontool draws to the 0 value but this is outside of the boundary given for that series axis. It is already in the...
by christianh
Mon Mar 11, 2013 2:17 pm
Forum: VCL
Topic: Retrieving (x) value index of mouse position.
Replies: 4
Views: 8635

Re: Retrieving (x) value index of mouse position.

Thank you. With that info I could write a helper function for that task. If someone has a similar problem here it is... function GetXValueIndex(ASeries: TCustomLineSeries; X: Integer): Integer; var i: Integer; Value: Double; begin Value := ASeries.ParentChart.BottomAxis.CalcPosPoint(X); for i := ASe...
by christianh
Sat Mar 09, 2013 8:04 am
Forum: VCL
Topic: Retrieving (x) value index of mouse position.
Replies: 4
Views: 8635

Re: Retrieving (x) value index of mouse position.

CalcPosPoint returns the DateTime value of the x axis. I am looking for the ItemIndex within the series in order to access the underlying data object. e.g. Series values ItemIndex x-Value y-value 0 01.01.2013 35.00 1 02.01.2013 38.00 2 03.01.2013 37.50 3 04.01.2013 39.00 4 05.01.2013 38.80
by christianh
Fri Mar 08, 2013 12:03 pm
Forum: VCL
Topic: Retrieving (x) value index of mouse position.
Replies: 4
Views: 8635

Retrieving (x) value index of mouse position.

I have a line series where the bottom (x) axis is defined as DateTime. Within the Chart.MouseMove event I would like to get the index of the line series. The MouseMove gives me x/y coordinates but I see no method to transform the these into the respective index. Something like a (fictive) Chart.Bott...
by christianh
Fri Mar 08, 2013 11:59 am
Forum: VCL
Topic: Series Region tool draws outside chart area
Replies: 4
Views: 5149

Series Region tool draws outside chart area

I have attached the region tool to a line series. If I move/scroll the series, the region tool draws outside the chart area (within the y-axis area). The lines itself are truncated correctly but the region is drawn outside. This happens on the left and on the right side of the chart. I have the 1211...
by christianh
Tue Jun 05, 2012 8:17 am
Forum: VCL
Topic: custom right axis
Replies: 1
Views: 2607

custom right axis

I have a stacked chart (line series), horizontally divided in two parts and the default/builtin right axis is already used for the top portion of the chart.

Is it possible to add a custom axis on the right side of the chart?

BTW, I have already read tutorial 4 about axis design ;)