question-mark

Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ShowVerticalLine isn't the height of the chart

See original GitHub issue

Issue Description

Was hoping to use showVerticalLine to render on specific data points while looking similar to the chart prop showVerticalLines where the lines are the height of the chart.

Using showVerticalLine however only goes to the height of the data point.

Screen Shot 2022-03-10 at 2 03 05 PM

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Abhinandan-Kushwahacommented, Mar 22, 2022

Hi @kimdolion 👋

Your requirement has been fulfilled in version 1.0.10 🎉

Now, all vertical lines’ heights will default to the height of the chart. However, if you want to set the height of vertical lines only upto the data point, you can use the prop verticalLinesUptoDataPoint={true} or set the data object property verticalLineUptoDataPoint: true

Hope it helps 🤗

0reactions
kimdolioncommented, Mar 22, 2022

@Abhinandan-Kushwaha bumping again because we’d love to be able to implement that bit of chart styling

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to draw vertical line on mschart that fills graph but isn't ...
IsInfinitive is complemented by ClipToChartArea ; you can set the line to be clipped to a ChartArea like this: lineannot.ClipToChartArea = chart.
Read more >
What's YOUR Vertical Line and Height? / Kibbe - YouTube
BODY TYPE'S WARDROBE BOARD: https://pin.it/6oLOUrq* What's YOUR Vertical Line and Height ? / KibbeMy height chart : ...
Read more >
A Complete Guide to Line Charts | Tutorial by Chartio
Line charts are a fundamental chart type generally used to show change in values across time. Learn how to best use this chart...
Read more >
Horizontal & vertical lines | Slopes (video) - Khan Academy
and for a vertical line, the change in x = 0 , the slope then equals to ... Y to have any value.....
Read more >
Are Vertical Line Charts Ever a Good Idea? | Nightingale
To be clear, I wasn't questioning whether data should ever be shown on a vertical scale, I was questioning whether vertical line charts...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found