public ScatterChart() { PrimaryAxis = new Axis(); SecondaryAxis = new Axis(); Hoverable = true; ShapeHoverBehavior = ShapeHoverBehavior.Dot; AnimatesNewPoints = true; AreaOpacity = 0.2; LineType = LineChartLineType.Bezier; DataToolTip = new DefaultScatterTooltip(); }
public ScatterChart() { AxisY = new Axis(); AxisX = new Axis(); Hoverable = true; ShapeHoverBehavior = ShapeHoverBehavior.Dot; LineType = LineChartLineType.Bezier; DataToolTip = new DefaultScatterTooltip(); var defaultConfig = new SeriesConfiguration<Point>().X(pt => pt.X).Y(pt => pt.Y); SetCurrentValue(SeriesProperty, new SeriesCollection(defaultConfig)); }