Skip to main content
1-Visitor
October 6, 2015
Question

how to display two y-axes on a label chatrt

  • October 6, 2015
  • 1 reply
  • 4321 views

Hello everyone!

I am implementing a label chart that will display information in a bar chart. The bar chart's x-axis is various reasons for downtime in a given industrial plant machine, and the 2 y-axis values are the count for each category, and the percent of total downtime. I see that there is an option called YAxisMode and it has Single Y Axis, Dual Y Axis, and Multiple Y Axis. However, if i select 'Dual Y Axis', I do not see an option to define the data field for my second Y Axis, and it comes up as NaN.

Am I misunderstanding something? I want 1 bar for each category, and I want each of the Y axes (left & right) to scale so that the bar represents the correct % of total when looking at the right Y Axis and the correct count when looking at the left Y Axis.

Thanks in advance for all of your help!

Sincerely,
Alex

    1 reply

    1-Visitor
    October 6, 2015

    Scroll down and look at the DataField properties, where you define the Y-Axis series. You can check to use secondary Y-Axis.

    1-Visitor
    October 6, 2015

    Hi Pai,

    Thank you for your response. Unfortunately, I already had that checked an my Y Axis comes up as NaN (see attachment "TW_BarChart_1.PNG"). The only way that i have been able to get a second Y axis is if I add a second series. Unfortunately, this means that I will have 2 bars for each category which is not what i want (see attachment "TW_BarChart.PNG"). The design that I need to implement is shown in the attachment "Downtime Analysis Screen.PNG". Is this kind of display something that can be done in Thingworx? If you need more clarification on my exact properties I am happy to update!

    Thank you for all of your help Pai, I really appreciate it.


    TW_BarChart_1.PNG

    TW_BarChart_1.PNG

    TW_BarChart.PNG

    TW_BarChart.PNG

    Donwtime Analysis Screen.PNG

    Downtime Analysis Screen.png

    Regards,
    Alex

    1-Visitor
    October 6, 2015

    Not sure if this helps, but here is where I have the data defined!

    Properties_Label_Chart.PNG