Selection of scatter points

Oystein Bjorke 6 years ago 0
This discussion was imported from CodePlex

opensw wrote at 2014-05-21 14:02:

I tried to change the color of selected points in ScatterSeries but nothing is changing (I started from the examples online).

What is wrong with my code?
           Model.SelectionColor =

            // create scatter
            Scatter =
                new ScatterSeries();

            // set scatter
            Scatter.MarkerType =

            Scatter.MarkerStroke =

            Scatter.MarkerType = 

            Scatter.MarkerFill =

            Scatter.BinSize = 
            Scatter.SelectionMode = 

            foreach(var keyPoint in listKPoints)
                    new ScatterPoint()
                        X = keyPoint.X,
                        Y = keyPoint.Y,
                        Size = SizeMarker

            // add scatter to Model
Thanks for any help :)

opensw wrote at 2014-05-21 22:36:

OK fixed,
your library is great, but please, improve the examples on the web, the code showed there is not the same that I found in the full downloaded source code. On the web, the part about mouse events is totally missed xD then, to avoid misunderstanting for a newbie like me:
1) Or remove the tab 'Code' from Sliverlight example browser;
2) Or add the same code that it is in the full source code.

It is only a suggestion :) cheers

everytimer wrote at 2014-05-22 14:57:

The code you see in the "Code" tab is generated automatically with the ToCode() method and it serves to share the visual plot. If you want the real behavior you must explore the source.

opensw wrote at 2014-05-22 16:24:

OK thanks :)