Range Band

The range band feature is used to highlight a particular range along the y-axis using start and end range property. You can also customize the color and opacity of the range band.

  • js
  • "use strict";
    
    var rangeBandSettings ={
                    startRange:4,
                    endRange:30,
                    color:"#ff14ae",
                    opacity:0.4
                };
    
    ReactDOM.render(
        <EJ.Sparkline id="sparkline1"  rangeBandSettings = {rangeBandSettings} ></EJ.Sparkline>,
    
              document.getElementById('sparkline')
    );