-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drawing Axis Lines #38
Comments
Hi, Defining the stroke and thickness for those lines is up to you and your DataTemplate used for that Line. To make them stretch all the way to the edges, you need to set the start position and the end position, to the ViewportRect property values. You can see how I draw lines in the RichCanvasDemo. To make it not selectable, just set IsSelectable to false. Go through the Wiki on GitHub to find out more. |
Hi @mircea21S The ViewportRect returns Infinity. I added the line to RichItemsControlStyle.xaml in between the Canvas like this:
Please help, thanks in advance. |
Hi! Well, what you're doing there is changing the library itself by modifying the RichItemsControlStyle.xaml. |
Hi,
I was wondering how I can add axis lines the X and Y lines with thicker stroke in the middle of the Canvas and stretching all the way to the edges. Also, I would like to make it not selectable.
Some light on this would be nice.
The text was updated successfully, but these errors were encountered: