i have wpf app using xamchart . the property of show grid lines is true, but i need to paint cells in grid by condition so it will be in different color.
also regrading to interval i have control the width and height are different sizes.
i want that the created cell will be square even that the width and height are not the same.
thanks
Hello Yoni,
Thank you for sharing the image. I discussed it with the team and looks like you have multiple polygon series and the area you want to have color is the part of the series, so you can use brush property to color them. That’s the only way I can think off to achieve your requirement if that wont help and you want to change the color of the gridline inside the series then we don’t have any property for that ,you can also set the different color outline to the series if that help.
And yes you are right by setting the major/minor stroke that will color the entire grid. We don’t have any property to color only part of grid line.
cells.docx
Hi , i upload word doc with screenshot inside.
my will is the take all the cells (that create between the vertical and horizontal grid lines) that my polygon has overlapping and give them different color.
Thanks
Tomer
Due to some issue with the public post images are not showing up , so could you please paste the image in the doc file and attach that doc . Also if you can share your sample and show what is the behavior you are getting and what is the behavior you are expecting then it good to follow your update.
Thank you.
HI, thanks for replying ,
i need that the cells that Intersection with my polygon will have different color , and not the entire grid by using major or minor stroke.
even if my polygon touch a little bit in cell it will have different color.
thanks for the answer.
if i want to achieve the behavior like the attach screenshot?
if my polygon touches some cell in grid partially so the entire cell will be with different color.