Hi all,
I have a macro which colours the points of an x,y series according to a 3rd data set. That's a bit obscure so I'll explain.
Imagine you have a bunch of x,y data, and a corresponding 3rd set, say the number of the data channel which recorded the point. The macro allows me to select the range holding the data channel information and then colours the chart points according to it. So, if there were, say, 5 channels, each of the points would have 1 of 5 colours depending on which channel it came from. I hope that's clear.
Now for the problem. As I say, I can colour the points OK, but I'd like to be able to also colour the line segment adjacent to the point too. Obviously, there will be one fewer lines than points, so one of the points will not have a corresponding line to colour, but I can live with that. I've looked at the Series object properties but can't find how to address the line segments. Does anyone know if this is possible, & if so, how?
I have a macro which colours the points of an x,y series according to a 3rd data set. That's a bit obscure so I'll explain.
Imagine you have a bunch of x,y data, and a corresponding 3rd set, say the number of the data channel which recorded the point. The macro allows me to select the range holding the data channel information and then colours the chart points according to it. So, if there were, say, 5 channels, each of the points would have 1 of 5 colours depending on which channel it came from. I hope that's clear.
Now for the problem. As I say, I can colour the points OK, but I'd like to be able to also colour the line segment adjacent to the point too. Obviously, there will be one fewer lines than points, so one of the points will not have a corresponding line to colour, but I can live with that. I've looked at the Series object properties but can't find how to address the line segments. Does anyone know if this is possible, & if so, how?