Dear all,
I am using the xchart.b4xlib from Klaus https://www.b4x.com/android/forum/threads/b4x-xui-xchart-class-and-b4xlib.91830/#content
First, a big thank you to Klaus , great lib
My problem, wish is to modify the colors of the text and the values when either enabling the graph legend or using the touch info event and viewing the labels and the values.
I needed transparent lines for the chart to create the view I wanted.
This code draws three lines above each other:
One green line for the graph without bullets
One green line with the bullets only, using transparent lines
One red line with the bullets only, using transparent lines.
It works like charm with one disadvantage, touching the screen or enabling the legend shows the values ok in black, but the lbl txt before the values is blank because the lines are transparent.
Is there a way to color the lbl different is there a feature planned in the xChart lib to make this possible?
Thx in advance
I am using the xchart.b4xlib from Klaus https://www.b4x.com/android/forum/threads/b4x-xui-xchart-class-and-b4xlib.91830/#content
First, a big thank you to Klaus , great lib
My problem, wish is to modify the colors of the text and the values when either enabling the graph legend or using the touch info event and viewing the labels and the values.
I needed transparent lines for the chart to create the view I wanted.
code for lines:
'nur Line'
chart_labor.AddLine("Verlauf", MainColor)
' Serie 1: Nur gute Punkte (Linienfarbe = Transparent, Dicke = 0)
chart_labor.AddLine2("Normal", xui.Color_ARGB(0, 255, 255, 255), 0, "CIRCLE", True, MainColor)
' Serie 2: Nur schlechte Punkte (Linienfarbe = Transparent, Dicke = 0)
chart_labor.AddLine2("Alarm", xui.Color_ARGB(0, 255, 255, 255), 0, "CIRCLE", True, AlertColor)
This code draws three lines above each other:
One green line for the graph without bullets
One green line with the bullets only, using transparent lines
One red line with the bullets only, using transparent lines.
It works like charm with one disadvantage, touching the screen or enabling the legend shows the values ok in black, but the lbl txt before the values is blank because the lines are transparent.
Is there a way to color the lbl different is there a feature planned in the xChart lib to make this possible?
Thx in advance