Pre loader

Editing multiple selected point at once

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



  • You must to post comments

Hi Igor,

You’re asking for a custom feature when in a trial (correct me if I’m wrong), which is outside the scope of our tech support. I am confident that this is possible with SciChart but requires some custom work. Perhaps 1-2 days to implement?

If this is functionality you require we can build it for you as custom work along with a licensing deal.

In the meantime, if you want to figure it out yourself, or learn more, I can point you in the right direction:

  1. Take a look at our Custom Modifiers Sandbox project on GitHub. In particular, in this project there are several custom modifiers in a sample app which show how to add custom actions or behaviours (we call ChartModifiers) to SciChart WPF

  2. Take at the SimpleDataPointEditModifier.cs. This is the modifier which handles click-selection and dragging of points, however, it is limited to a single point.

  3. We have other modifiers in-house which can perform multi select. For example the DataPointSelectionModifier allows you to hold CTRL and multi-select points.

A proposed solution would be to inherit DataPointSelectionModifier and override the OnModifierMouseDown, OnModifierMouseMove, OnModifierMouseUp functions to allow dragging or moving of the selected points perhaps when a certain key is pressed. There are also OnModifierKeyDown and OnModifierKeyUp functions which can be overridden to perform actions on key press.

To get if a point is currently selected look at DataSeries.Metadata[I].IsSelected, or, the list of points selected is also accessible in DataPointSelectionModifier.SelectedPointMarkers.

This could be quite simple to implement. However, with minor customisations like this, sometimes complexity can arise after starting investigating, for example we would need to know exactly why you want todo this, the business requirements, details about the series types (line, scatter, candle), whether series need to be moved in X and Y or just Y etc… How to enable or cancel the movement, whether undo is needed etc…

I suggest reaching out to our sales team to discuss the requirements in more detail and we can take it from there?

We look forward to hearing from you,

Best regards

  • 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