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.

[FEATURE] Horizontal bar chart in combination with a line chart

See original GitHub issue

When I create an horizontal bar chart and set one of the datasets to ‘line’ it doesn’t show. I suspect the axis for the line chart is not changed with the parent horizontalBar chart. I think the expected behaviour is to let the main chart type be leading, in this case the horizontal bar chart, so that the datasets that are provided don’t need to be changed.

This example would work with a normal bar-chart, but not with an horizontal bar-chart: chartData : { labels: [ 'apple', 'orange', 'banana', 'coconut' ], datasets: [ { title: 'Taste', data: [ 1,4,2,3 ] }, { title: 'Throwability', data: [ 5,4,2,3 ], type: 'line' } }

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
JewelsJLFcommented, Mar 29, 2018

Any updates on this one? I am needing to do this as well. I’m building a gantt type chart and using horizontalBar type to do that. I was hoping I could overlay a line series or scatter plot to display milestone markers.

3reactions
hoai-nguyencommented, Jan 22, 2020

Any update on this please. -.- I saw a lot of questions asking for this but it’s still Open since 2017.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bar-Line (XY) Combination Chart in Excel - Peltier Tech
I'll illustrate a simple combination chart with this simple data. The chart will use the first column for horizontal axis category labels, the ......
Read more >
Video: Create a combo chart - Microsoft Support
On the All Charts tab, choose Combo, and then pick the Clustered Column - Line on Secondary Axis chart. Under Choose the chart...
Read more >
How to Add a Vertical Line to a Horizontal Bar Chart
Learn how to add a vertical line to a horizontal bar chart in Excel. The tutorial walks through adding an Average value line...
Read more >
What is a Combination Chart?
The combination chart is a visualization that combines the features of the bar chart and the line chart. The combination chart displays the...
Read more >
How to combine line and bar charts in Datawrapper
Choose " multiple" as the shape. Click on the little icon next to "daily confirmed" to choose circle as the symbol shape, and...
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