79166568

Date: 2024-11-07 13:07:53
Score: 0.5
Natty:
Report link

It can be done by using the zones feature and setting the series.zoneAxis to 'x'.

API reference: https://api.highcharts.com/highcharts/series.bellcurve.zones

Demo: https://jsfiddle.net/BlackLabel/3tjku69r/

  zoneAxis: "x",
  zones: [
    {
      value: 2.18,
      color: "rgb(255, 0, 0, 0.25)",
    },
    {
      value: 2.62,
      color: "rgb(0, 102, 255, 0.25)",
    },
    {
      value: 3.49,
      color: "rgb(51, 204, 51, 0.25)",
    },
    {
      value: 3.92,
      color: "rgb(0, 102, 255, 0.25)",
    },
    {
      color: "rgb(255, 0, 0, 0.25)",
    }
  ]
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: Dominik Chudy