Hi,
We have a XamDataChart control showing a simple line graph, with drag to zoom enabled. When highlighting the area to zoom, the unselected region is overlayed with a slightly opaque gradient to make it appear lighter than the selected region. This effect works well if the plot area has a dark background, but with a light background then this gradient is almost invisible. Is it possible to change the brush used for this unselected region?
Many thanks,
Graham.
Thanks Rob, that worked perfectly.
Hi Graham,
You can set the PreviewPathStyle on the XamDataChart. This should let you change the color of the unselected region of that zoom preview element. The TargetType for the style needs to be a Path. In your style just add a Setter to change the Fill property.