SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

0
0

Hello,

How to add the color picker for the annotations.

Ex: I will need to create the box annotation with specific colour..

Version
V5
  • You must to post comments
0
0

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:

  1. Include a ColorPicker on your application
  2. 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

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.