Search found 6 matches

by jfinch
Fri Aug 05, 2016 1:00 am
Forum: VCL
Topic: Custom Axis Label colour
Replies: 8
Views: 12639

Re: Custom Axis Label colour

Thank you very much - that works!
by jfinch
Thu Aug 04, 2016 12:19 am
Forum: VCL
Topic: Custom Axis Label colour
Replies: 8
Views: 12639

Re: Custom Axis Label colour

Thanks Sandra, That example you sent does work. However, when you run it you will notice that the left labels overlap. In my code I have an AfterDraw function to remove overlapping labels, and it turns out that it is that function (found on one of these forums) that is causing the problem. I cannot ...
by jfinch
Wed Aug 03, 2016 12:20 am
Forum: VCL
Topic: Custom Axis Label colour
Replies: 8
Views: 12639

Re: Custom Axis Label colour

Sorry forgot to give version: Steema TeeChart Pro VCL FMX 2016.18
by jfinch
Wed Aug 03, 2016 12:19 am
Forum: VCL
Topic: Custom Axis Label colour
Replies: 8
Views: 12639

Re: Custom Axis Label colour

Hi, The code you posted throws: First chance exception at $7672DAE8. Exception class EArgumentOutOfRangeException with message 'Argument out of range'. So I could not test it out. However I have a query about it. You are accessing something called a CustomAxis. I was actually adding labels using m_p...
by jfinch
Tue Aug 02, 2016 6:24 am
Forum: VCL
Topic: Custom Axis Label colour
Replies: 8
Views: 12639

Re: Custom Axis Label colour

Should have stated, I am using Embarcadero® C++Builder 10.1 Berlin Version 24.0.22858.6822
by jfinch
Tue Aug 02, 2016 6:23 am
Forum: VCL
Topic: Custom Axis Label colour
Replies: 8
Views: 12639

Custom Axis Label colour

Hi, I have a custom axis. I add items to it using m_pChart->LeftAxis->Items->Add(Position, Value); This works fine. However, I would like to be able to set the colour of the labels to something other than the default. Everything I try has failed: Did not work: m_pChart->LeftAxis->Items->Add(Position...