Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
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.

D3 - Draw path over multi bar chart

  • 06-12-2017 04: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