Dual-Y Chart on a Column Chart

Forums SPJS Charts for SharePoint Dual-Y Chart on a Column Chart

This topic contains 2 replies, has 2 voices, and was last updated by  Alexander Bautz 3 weeks ago.

  • Author
    Posts
  • #16734

    Todd Ingersoll
    Participant

    Hi Alexander,
    Any guidance with how to configure Dual-Y Charts using a Column Chart would be greatly appreciated:https://developers.google.com/chart/interactive/docs/gallery/columnchart#dual-y-charts

    For bonus points get it working with a Combo Chart you describe here, which I do have working.

  • #16753

    Todd Ingersoll
    Participant

    I was able to get this to work using the classicoptions in the google reference above:

    I have 3 options setup in the options tab:

    series

    
    
    {
        "0": {
            "targetAxisIndex": "0"
        },
        "1": {
            "type": "line"
        },
        "2": {
            "targetAxisIndex": "2"
        }
    }

    vAxes

    
    
    {
        "0": {
            "title": "Pounds"
        },
        "2": {
            "title": "Downtime Hours"
        }
    }

    seriesType

    bars
    Attachments:
  • #16778

    Alexander Bautz
    Keymaster

    I’m sorry I wasn’t able to answer you earlier – a bit much work lately. I’m glad you figured it out by yourself!

    Best regards,
    Alexander

You must be logged in to reply to this topic.