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
- You must login to post comments
This item has been solved by using DLLs from version v4.2.0.x up.
- Sebastian de Ugarriza answered 7 years ago
- You must login to post comments
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,
- Markiyan Kravchuk answered 8 years ago
-
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 login to post comments
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.
- Sebastian de Ugarriza answered 8 years ago
-
Hi Sebastian – Markiyan is aware of this and looking into it.
- You must login to post comments
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
- Markiyan Kravchuk answered 8 years ago
-
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 login to post comments