Marker Customization

You can customize markers by initializing the markerSettings property. The customization options allow you to change the visibility fill, width, opacityand border options color, width, opacity for marker. This customization only applicable for line, column and area type Sparkline.

  • javascript
  • /// <reference path="tsfiles/jquery.d.ts" />
    /// <reference path="tsfiles/ej.web.all.d.ts" />
    
    module SparklineComponent {
        $(function () {
            var sample = new ej.datavisualization.Sparkline($("#Sparkline"),{
                // ...
                markerSettings: {
                    visible: true,
                    width: 4,
                    fill: "#ff14ae",
                    border: {
                        width: 1
                    }
                }
                // ...
         });
        });
    }