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

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

Answered Closed
0
0

Hello,

I’m having intermitent behavior of column selection when using the DataPointSelectionModifier.

I’m using the PointMetadata API + PaletteProvider to fill the “selected color” of a column when the DataPoint Selection modifier is used.

Sometimes clicking on a column apparently does not trigger the selection changed event.

I have created a sample app with the code I’m using.

I would like to know if this is a bug or I’m doing something wrong.

Thank you.
Sebastian

Version
4.1.1.8645
  • You must to post comments
Best Answer
0
0

This item has been solved by using DLLs from version v4.2.0.x up.

  • You must to post comments
0
0

HI there,

Thank you for your Code sample.

We have fixed some issues for Column selection in build v8803, which is now ready for downloading.

Also I noticed that in your sample there is a problem with input data. As far as I can see you’ve added too much values to the array xPositions (to be precise – 6), but other data, mean yValues and pointMetadataCollection has just 5 vales.

        var xPositions = new double[] { 0, 1, 2, 3, 4, 5 };
        var yValues = new double[] { 45, 50, 35, 90, 40 };

        var pointMetadataCollection = new List<SelectedColumnPointMetadata>()
        {
            new SelectedColumnPointMetadata() {IsSelected = false},
            new SelectedColumnPointMetadata() {IsSelected = false},
            new SelectedColumnPointMetadata() {IsSelected = false},
            new SelectedColumnPointMetadata() {IsSelected = false},
            new SelectedColumnPointMetadata() {IsSelected = false}
        };

Although we fixed intermittent selection of columns, inappropriate data input can cause some troubles with a selection.

You can get Nightly builds (DLLs) from our ABTSoftware NuGet feed. For full instructions how to link to the feed and download nightly builds, please see our page ‘Getting Nightly Builds with NuGet’
http://support.scichart.com/index.php?/Knowledgebase/Article/View/17232/37/getting-nightly-builds-with-nuget

You can get Nightly Builds (source-code) from our Github Repository. For full instructions how to get-latest on the feed, please see our page http://www.scichart.com/github-repository-for-scichart-source-code-customers/

Thanks for reporting!

Best regards,

  • Sebastian de Ugarriza
    Thank you Markiyan, Yes, I’m fully aware of the difference on the amount of values. That was just a typo.I will test it out and let you know!
  • You must to post comments
0
0

Markiyan,

I have tried the new DLLs. I’m still seeing some issues. The SelectionChanged event for the DataPointSelectionModifier is being triggered now every time, but for some selections the palette provider is not coloring the selection correctly.
This is especially true when you have successive clicks in a time span less than one second, or two seconds the most.

  • Andrew
    Hi Sebastian – Markiyan is aware of this and looking into it.
  • You must to post comments
0
0

Hi Sebastian,

We’ve made some more changes in our internal build and have added the “AllowsMultiSelection” dependency property. You will need to set false value to this property to get your example to work perfectly.

We haven’t released this in a nightly build yet as we’re planning to include it in v4.2 release, after full testing. This will be available within approx. ~1 week.

Would this be suitable for you?

Best regards,

Markiyan

  • Sebastian de Ugarriza
    Markiyan,I don’t quite understand. I want to have Multi Selection. Why do I have to turn it off in order to get correct coloring of selected columns? It doesn’t seem right. Unless there’s something I’m not understanding.Regards, Sebastian
  • You must to post comments
Showing 4 results