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.

  • @(Html.EJ().Sparkline("container")
     //To customize the marker of the sparkline
     .MarkerSettings(mr => mr.Visible(true).Fill("#ff14ae").Width(4).Border(br=> br.Width(1)))