Color test on the chart
Created at 09 Feb 2023, 18:08
PI
Color test on the chart
09 Feb 2023, 18:08
Hi I tryed to put some 3 variables to display on the chart, one next to another
I have make one text, but I would like to make a different color for diffrent variables:
var text = piecConverted + pietnascieConverted + trzydziesciConverted;
Chart.DrawStaticText("Dupa", tekst, VerticalAlignment.Top, HorizontalAlignment.Left, Color.Green);
How to do this ?
I Woul like to have for example piecConverted= green, pietnascieConverted = red and trzydziesciConverted=yellow
They doesn;t have to be in one line. They can by one under the other
PanagiotisChar
10 Feb 2023, 10:04
Hi there,
This is not possible with this method. To achieve this, you would need to use Chart Controls and create a grid with TextBlocks.
Aieden Technologies
Need help? Join us on Telegram
Need premium support? Trade with us
@PanagiotisChar