Hello,
How to add the color picker for the annotations.
Ex: I will need to create the box annotation with specific colour..
- You must login to post comments
It’s a little bit out of the scope for us to show you how to add a colour picker to your application and change the colour of BoxAnnotation.
However, we do have a similar example here showing a colour picker to change series color.
What you need to do is:
- Include a ColorPicker on your application
- Bind the ColorPicker.Color to the BoxAnnotation.Background or BorderBrush, using appropriate converters to convert between color and brush.
Further resources can be found online, such as https://stackoverflow.com/questions/17089382/wpf-color-picker-implementation and https://www.c-sharpcorner.com/UploadFile/mahesh/wpf-colorpicker/
Best regards,
Andrew
- Andrew Burnett-Thompson answered 5 years ago
- You must login to post comments
Please login first to submit.