Pre loader

How to add colour picker for annotations

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

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.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies