Forum Replies Created by DaringDan

Viewing 3 posts - 1 through 3 (of 3 total)
  • in reply to: Having an onClick event on the entire chart #23178

    That’s exactly what I needed. Thanks.

    in reply to: stripLines #23164

    Also, to add new stripLines, have a stripLines array and set it as your chart’s stripLines.

    After that, any updates to the stripLines variable will be reflected onto the chart once you


    in reply to: stripLines #23163

    I would recommend adding a scatter dataset with the point centered at x + ((y-x)/2). To make it “invisible”, I used

    type: “scatter”,
    indexLabelOrientation: “horizontal”,
    indexLabelFontColor: “black”,
    toolTipContent: null,
    highlightEnabled: false,
    showInLegend: false,
    fillOpacity: 0,
    dataPoints: strip_line_labels

    where strip_line_labels was formatted as such:
    x: strip_lines[i].startValue + ((strip_lines[i].endValue – strip_lines[i].startValue) / 2),
    y: 9,
    indexLabel: strip_lines[i].label

    Hope this helps,

Viewing 3 posts - 1 through 3 (of 3 total)