Hi,
I have an XamDataChart with a vertical green line (ValueOverlay), and I would like to set a gradient (white-green) background for the XamDataChart so that it extends only up to the green line. How can this be achieved, if possible?
Thank you :)
Hello Julianna,
If you would like to set a background on the XamDataChart, you can utilize the PlotAreaBackground property of the chart, but the ValueOverlay will always extend the length of the chart in the direction that it is configured (vertical or horizontal).
If you are trying to configure the ValueOverlay to only extend to a particular set of Y-Axis values, this may be very complicated to try to do with a gradient brush with the PlotAreaBackground. I am curious if you have a mock-up or screenshot of what you are looking to achieve here that you can attach, as perhaps I can make a more concrete recommendation from that?
Hi, thank you for your answer. I would like something like this. Now opting for a solution without the ValueOverlay instead. :)