• Resolved ptrkx

    (@ptrkx)


    Hi, I have created a chart with two Y-axes using the following Manual configuration code.

    {
    “vAxes”: {
    “0”: {“title”: “Leistung / Power [W]”, “ticks”: [0,100,200,300,400,500,600]},
    “1”: {“title”: “Drehmoment / Torque [Ncm]”,”ticks”: [0,2,4,6,8,10,12]}
    },
    “series”: {
    “0”: {“targetAxisIndex”: “0”},
    “1”: {“targetAxisIndex”: “1”}
    }
    }

    Unfortunately, it is now the case that the lines with low values are only displayed as straight lines and are not oriented to the second / right Y-axis. This results in no curves because the values of the lines are too small compared to the axis values.

    How is it possible that certain lines orient themselves to a different scale?

    Screenshot:
    https://ibb.co/KKXfCJB

    Thank you
    Best regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Poonam Namdev

    (@poonam9)

    Hi @ptrkx,

    Sorry for the delay.

    Your screenshot doesn’t exist anymore. If you still need help please share how you created the chart and a sample file so we can try to replicate it.

    Thread Starter ptrkx

    (@ptrkx)

    I have created a graph with 2 Y axes. However, my values are very different in size.

    The problem that I have now is that the green and yellow line only lie like straight lines, because these do not respond to the scaling of the right y axis.

    See Screenshot: https://ibb.co/nM3JQCR

    Thank You
    Best reagrds

    Plugin Support Vytis

    (@bvytis)

    Hi @ptrkx,

    Thank you for sharing the screenshot.

    I see that you have 4 series but only targeting axis 0 and 1 with the first 2 series.

    Based on what I see your code should be like this:

    {
    	"vAxes": {
    	"0": {"title": "Leistung / Power [W]", "ticks": [0,100,200,300,400,500,600]},
    	"1": {"title": "Drehmoment / Torque [Ncm]","ticks": [0,2,4,6,8,10,12]}
    	},
    	"series": {
    		"0": {"targetAxisIndex": "0"},
    		"1": {"targetAxisIndex": "0"},
    		"2": {"targetAxisIndex": "1"},
    		"3": {"targetAxisIndex": "1"}
    	}
    }

    I hope it helps!`

    • This reply was modified 3 years, 2 months ago by Vytis.
    Thread Starter ptrkx

    (@ptrkx)

    Perfect, thank you
    That solved my problem 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Chart line difference to high’ is closed to new replies.