Home forums Using CanvasJS Second Y axis title not showing

Tagged: 

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #15682

    Kathy
    Member

    I am trying to add a duplicate Y axis per client request. I am trying to emulate https://canvasjs.com/docs/charts/how-to/multiple-y-axis/ but I only have the one dataset.

    Partly client wants this since first date is always partly off-canvas to left side. So margin there could help but specifically was asked to make duplicate Y axis title and labeling.

    This fiddle is functional but the left side Y axis does not show up. Any advice very welcome. We have paid licence if I need to include that? Thanks!

    http://jsfiddle.net/hrm2gvkc/

    #15688

    Indranil Deo
    Member

    Kathy,

    Primary and secondary y-axes will show-up only when separate dataSeries are attached to both independently. It seems like you are attaching dataSeries only to secondary y-axis. Inserting an empty object(dataSeries) inside data should work fine in your case.

    ————-
    Indranil Deo
    Team CanvasJS

    #15700

    Kathy
    Member

    Thank you! You guys are, as always, awesome!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.