Search found 3 matches

by Arne Jakobsen
Wed Sep 06, 2006 12:47 pm
Forum: VCL
Topic: Setting same ChartRect for two charts
Replies: 5
Views: 11293

I ended up doing something like the following: Chart1.MarginUnits := muPixels; Chart2.MarginUnits := muPixels; if (Chart1.ChartRect.Left > Chart2.ChartRect.Left) then begin Chart2.MarginLeft := Chart2.MarginLeft + Chart1.ChartRect.Left - Chart2.ChartRect.Left; end else if (Chart2.ChartRect.Left > Ch...
by Arne Jakobsen
Fri Sep 01, 2006 11:14 am
Forum: VCL
Topic: Setting same ChartRect for two charts
Replies: 5
Views: 11293

Thank You for yoyr reply If I change the series a litle bit, by for instance changing: Chart1.AddSeries( TLineSeries ); Chart2.AddSeries( TLineSeries ); Chart3.AddSeries( TLineSeries ); Chart4.AddSeries( TLineSeries ); to ASeries := TLineSeries.Create(Chart1); ASeries.Title := 'Loooooooooooooong nam...
by Arne Jakobsen
Thu Aug 31, 2006 1:22 pm
Forum: VCL
Topic: Setting same ChartRect for two charts
Replies: 5
Views: 11293

Setting same ChartRect for two charts

I have two charts place one above the other on a form. I would like the ChartRect (if that is the area of the chart, which is bounded by the axes) to be identical for the two charts, so that a given x-coordinate can be at the same horisontal position on both charts. I can read the values of TChart.C...