Group: Forum Members
Last Active: 15 Years Ago
Posts: 1,
Visits: 1
|
I'm trying to change the color of the lines and points (markers) in a 2D line chart depending on a third variable.
X value = variable 1 Y value = variable 2 Color value = variable 3
I managed to do it for the lines using: line(g).BorderStyles(i - 1) = New NStrokeStyle(2, Color.FromArgb(RGB(0), RGB(1), RGB(2)))
But I can't get the equivalent to work for MarkerStyles.
I tried this, but it doesn't work: line(g).MarkerStyles(i - 1) = New NColorFillStyle(Color.FromArgb(RGB(0), RGB(1), RGB(2)))
All help will be greatly appreciated!
|