Hi Dave -
I have a follow up question on this topic.
see screenshot below for what I'd like to do.
I've found the setMaximumItemWidth() method where I pass in the a % of the width of the entire chart , but I'd like to make it so it is a bit more flexible than that approach.
Meaning, the length of the levelLines is always just a tad smaller than the width of the bars.. That way if the bars are wide, the LevelLines grow but still stay less than the bar width.. Similarly , if bars are narrow, then the level Line length shrinks so it is just tad smaller.
One Idea I had was if I could figure out the width of the bars and the width of the chart and use that to determine a reasonable value to send to setMaximumItemWidth , For example, e say bar width is 10 units wide and chart is 100 units wide, then that says the bar width is 10% of the width of the chart.. Then I could just call the setMaximumItemWidth method on the LevelLineRender to be just a tad below 10% (ie 10%-2%). But this requires knowing 2 important pieces of info (bar width and chart width).
Hoping you or others could help me with either using this tact or another one to accomplish what I am looking for.
