This code below changes only the first day's labels after which the text color reverts to cyan:
Code: Select all
if time = PlotTime then begin
Plot_high = RangeHigh;
Plot_low = RangeLow;
// Draw lines
High_line = TL_new(Date,Time,Plot_high,Date,EndTime,Plot_high);
Tl_setstyle(High_line,tool_solid);
Tl_setcolor(High_line, blue);
Low_line = TL_new(Date,Time,Plot_low,Date,EndTime,Plot_low);
Tl_setstyle(Low_line,tool_solid);
Tl_setcolor(Low_line, blue);
// Plot text
High_text = Text_new(Date,TextOffsetTime,Plot_high,numtostr(Plot_high,decimals));
Text_SetColor(1, blue);
Low_text = Text_new(Date,TextOffsetTime,Plot_low ,numtostr(Plot_low,decimals));
Text_SetColor(2, blue);
end;
The picture shows one label blue and the other cyan...which is a pain to read.
Thanks in advance for any ideas,
PDQ