PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Red line in chart
Red line in chart
Iniciado por guest, 16,dic. 2015 19:56 - 5 respuestas
Publicado el 16,diciembre 2015 - 19:56
Hello,

How can i make a red line by 100% on the Y-axis? (as in the picture)

Thanks,

Sammy
[attachment 1816 Knipsel.JPG]
Publicado el 17,diciembre 2015 - 15:00
Or maybay i can make the column another color when it is over the 100%.
Publicado el 17,diciembre 2015 - 15:45
Sammy

I have not used the WinDev chart control so I dont know. I dont know if there are drawing tools for adding objects to the chart. However, one idea is to create another series of data all whose data points are equal to 100 and set the chart type to line and overlay the bar chart perhaps?
Publicado el 17,diciembre 2015 - 15:51
What about putting an image over the chart for the line. Use dLine(). The hard part would be figuring out where to position the image by programming. Hmmm.
Publicado el 17,diciembre 2015 - 20:00
Curtis,

That`s also a option but i thought there was a easyer way to do this.
Publicado el 17,diciembre 2015 - 21:56
You would think this would be a feature. It's a relatively simple one to add to the "921" features for WX21.