Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

D3 - Draw path over multi bar chart

  • 06-12-2017 03:11PM
    #1
    Registered Users, Registered Users 2 Posts: 872 ✭✭✭


    Hi,

    I am trying to draw a path with multiple values over an NVD3 stacked bar chart control (multiBarChart)

    This path displays daily limits so it's easy to see if the current day is over or under the limit.

    The y axis values of the path should come from the value in the limits array
    The x axis value should start at the origin and be dynamic based on the bar widths.

    There are other controls that can display multiple graphs at one time but i am unfortunately unable to change controls at this time.

    Here is the fiddle so far - https://jsfiddle.net/s2vemzht/19/

    What i want to achieve

    T8vnP7l.png

    Any help greatly appreciated :-)


Advertisement