LegendSymbolZoom property is possibly required when rendering ScatterSeries with a tiny MarkerSize

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

sunwayking wrote at 2014-07-06 14:17:

As stated in this subject‘s title, there's lots of complains that symbols in legend are too hard to be recognized if MarkerSize is defined too small. By providing LegendSymbolZoom property in PlotModel class, we can specify a suitable displaying size for symbols of the legend.

objo wrote at 2014-07-10 13:24:

How small? Can you create an example that demonstrates the problem?
Currently it is showing the legend symbols at the same size as for the points (if size is not specified per point).

sunwayking wrote at 2014-07-12 13:03:

            const double markerSize = 0.5;
            var plotSource = new ScatterSeries
                MarkerFill = OxyColor.FromAColor(235, OxyColors.Black),
                MarkerSize = markerSize,
                MarkerStroke = OxyColors.Transparent,
                MarkerStrokeThickness = 0,
                MarkerType = MarkerType.Square,
                Title = "人工作业"
See, I make MarkerSize=0.5. This is very small and hard to be recognized on Legend. However, there's groups of ScatterPoints on the plotter. That makes them obvious.
I suggest introducing a LegendSymbolZoom property to PlotModel class so that we're able to specify the displaying size for symbols of the legend.