Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
QlikWorld 2020: Join us May 11 - 14, 2020 in Phoenix, AZ. Register early and save $400. Learn More
brip51dmustang
New Contributor III

limit length of horizontal reference line

Hi,

I have a bar chart with a horizontal reference line.  I want the reference line to only extend as far as the first bar and not all the way across the chart.

Is there a way yo do that?BarChartRefLine.jpg

Than you for any help you can offer.

Brian

Tags (2)
1 Solution

Accepted Solutions
MVP & Luminary
MVP & Luminary

Re: limit length of horizontal reference line

A reference line will always span the entire plot width. If you fix the min and max scale values of the y-axis you could put a line object on top of the chart. You could also use error bars, but those won't be wider than the bars so you wouldn't get a line, but line segments each spanning a bar.


talk is cheap, supply exceeds demand

View solution in original post

3 Replies
MVP & Luminary
MVP & Luminary

Re: limit length of horizontal reference line

A reference line will always span the entire plot width. If you fix the min and max scale values of the y-axis you could put a line object on top of the chart. You could also use error bars, but those won't be wider than the bars so you wouldn't get a line, but line segments each spanning a bar.


talk is cheap, supply exceeds demand

View solution in original post

Not applicable

Re: limit length of horizontal reference line

Hi Brian,

Its not possible because there is no option in reference line settings to limit it.

Regards

brip51dmustang
New Contributor III

Re: limit length of horizontal reference line

Hi Gysbert,

Thank you.

I didn't think there was anyway to easily limit the length.

I think what I have will work.

Thank you again for the help,

Brian