Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
180
visual brush as background for chart
posted

I created a resource that contains a visual brush. the items in this brush are a grid (width set to auto), and some other elements. the grid backcolor is black, and I have some other rectangles within the grid.

When I set the chart.background to the resource of the visual brush, the image appears, but there are white gaps to the left and right of the chart. I am trying to find the correct combination, but it is frustrating right now.

What would be the guidelines on creating a visual brush so that the chart background is completely covered by the visual brush? The chart I am creating will vary in size as well, so I wanted something that is similar to the docking option in VB where it resizes automatically to the background border.

Thank you so much for any advise.

 

Parents Reply Children
No Data