Axis Customize

The Sparkline axis can be collapsed using visible property in axisLineSetting and this not applicable for win-loss. You can customize color, width and dash array of axis line.

  • html
  • "use strict";
    
    var axisLineSettings = {
                    visible: true,
                    color:"#ff14ae",
                };
    
    ReactDOM.render(
        <EJ.Sparkline id="sparkline1"  axisLineSettings = {axisLineSettings}
                fill = "#33ccff"></EJ.Sparkline>,
    
              document.getElementById('sparkline')
    );