JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://canvasjs.com/assets/script/canvasjs.min.js"></script>

<div id="chartContainer" style="height: 300px; width: 100%;"></div>

JavaScript

window.onload = function () {
  var chart = new CanvasJS.Chart("chartContainer", {
    title: {
      text: "Labels for Stripline start and end value"
    },
    axisX:{
      stripLines:[
        {                
          startValue:25,
          endValue:55,                
          color:"#d8d8d8"                      
        },
        {
          value:25,
          color:"transparent",
          label:"25",
          labelPlacement:"outside"
        },
        {
          value:55,
          color:"transparent",
          label:"55",
          labelPlacement:"outside"
        }
      ],
    },
    data: [
      {
        type: "line",            
        dataPoints: [
          { x: 10, y: 5 }, 
          { x: 20, y: 9 }, 
          { x: 30, y: 17}, 
          { x: 40, y: 32}, 
          { x: 50, y: 22}, 
          { x: 60, y: 14}, 
          { x: 70, y: 25}, 
          { x: 80, y: 18}, 
          { x: 90, y: 20}
        ]
      }
    ]        
  });
  chart.render();
}