Search found 5 matches

by Peter Carr
Wed Aug 09, 2017 6:58 am
Forum: FMX
Topic: Custom Axes issue
Replies: 3
Views: 1875

Re: Custom Axes issue

As a workaround, I have reverted to using the v2017.21 Teechart in Delphi 10.2 Tokyo. In other words, I am skipping v2017.22 due to this bug.
by Peter Carr
Sun Jul 16, 2017 5:35 pm
Forum: FMX
Topic: Custom Axes issue
Replies: 3
Views: 1875

Custom Axes issue

To reproduce the issue, add a TChart to a FMX Multi-Device Application and insert the code below into the implementation section. The code below adds two custom tick marks and labels to the TChart bottom axis and sets the axis labels to be large and red. It works fine in Delphi 10.1 Berlin with Teec...
by Peter Carr
Tue May 30, 2017 7:16 pm
Forum: FMX
Topic: E-notation and scientific superscript notation
Replies: 1
Views: 1364

E-notation and scientific superscript notation

I can enter a custom axis label using E-notation. For example, 1.23E3 for 1230. I attempted to use superscript notation by setting Chart1.LeftAxis.LabelsExponent:=True; Chart1.BottomAxis.LabelsExponent:=True; But, in the example above, this gives 1.23[super]3[/super] where I was expecting 1.23 x 10[...
by Peter Carr
Fri Mar 10, 2017 12:35 am
Forum: FMX
Topic: Get canvas pixel color
Replies: 1
Views: 1275

Get canvas pixel color

I am trying to obtain a pixel color in the OnAfterDraw event with X := Chart1.BottomAxis.CalcPosValue(XCoord); Y :=Chart1.LeftAxis.CalcPosValue(YCoord); AColor:=Chart1.Canvas.Pixels[X,Y]; But this always returns claWhite even though I have applied color fill with the Series Region Tool during the pl...
by Peter Carr
Thu Mar 09, 2017 10:31 am
Forum: FMX
Topic: Pen.mode for series line
Replies: 1
Views: 1155

Pen.mode for series line

I set up a series with ASeries := TLineSeries.Create(Form1); with ASeries do begin SeriesColor:= claSilver; LinePen.Mode:=pmXOR; end; Chart1.AddSeries(ASeries); // Then add some points with ASeries.AddXY(x, y); ... The line setting the pen mode appears to have no effect. Where am I going wrong? I ha...