# Graph values showing as inconsistent

**URL:** <https://forum.inductiveautomation.com/t/graph-values-showing-as-inconsistent/87430>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [March 16, 2024, 11:15am UTC](https://forum.inductiveautomation.com/t/graph-values-showing-as-inconsistent/87430 "2024-03-16T11:15:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hema\_T](https://avatars.discourse-cdn.com/v4/letter/h/f08c70/32.png) [@Hema\_T](https://forum.inductiveautomation.com/u/Hema_T)\
**Post date:** [March 16, 2024, 11:15am UTC](https://forum.inductiveautomation.com/t/graph-values-showing-as-inconsistent/87430/1 "2024-03-16T11:15:12Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/0/700951aff3f57a7eb8a5d85453518c676c4675b3.png)

Hi Team,

I have used XY Chart ,here the difference in data values between both is minimal, but the heights of the bars differ significantly.

Thank you in advance

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [March 16, 2024, 11:43am UTC](https://forum.inductiveautomation.com/t/graph-values-showing-as-inconsistent/87430/2 "2024-03-16T11:43:27Z")

</div>

Come on! Post the configuration! How can anyone help otherwise?

Right-click on the component, copy, paste it in here and format it using the  
\</\> button.  
If the data is from a binding then copy and paste the data in separately (and format that too).

---

<div class="post-metadata">

**Author:** ![Hema\_T](https://avatars.discourse-cdn.com/v4/letter/h/f08c70/32.png) [@Hema\_T](https://forum.inductiveautomation.com/u/Hema_T)\
**Post date:** [March 26, 2024, 4:24am UTC](https://forum.inductiveautomation.com/t/graph-values-showing-as-inconsistent/87430/3 "2024-03-26T04:24:31Z")

</div>

I have used this series  
Kindly let me know if you need anyother configuration

```auto
[
  {
    "name": "Downtime reason",
    "label": {
      "text": "Target"
    },
    "visible": true,
    "hiddenInLegend": false,
    "defaultState": {
      "visible": true
    },
    "data": {
      "source": "example",
      "x": "iReason",
      "y": "iPlanMins"
    },
    "xAxis": "iReason",
    "yAxis": "iMins",
    "zIndex": 0,
    "tooltip": {
      "enabled": true,
      "text": "[bold]{valueY}[/] ",
      "cornerRadius": 3,
      "pointerLength": 4,
      "background": {
        "color": "#D9D900",
        "opacity": 1
      }
    },
    "render": "line",
    "candlestick": {
      "open": {
        "x": "",
        "y": ""
      },
      "high": {
        "x": "",
        "y": ""
      },
      "low": {
        "x": "",
        "y": ""
      },
      "appearance": {
        "fill": {
          "color": "",
          "opacity": 1
        },
        "stroke": {
          "color": "",
          "opacity": 1,
          "width": 1
        },
        "stacked": false,
        "deriveFieldsFromData": {
          "fill": {
            "color": "",
            "opacity": ""
          },
          "stroke": {
            "color": "",
            "opacity": "",
            "width": ""
          }
        },
        "heatRules": {
          "enabled": false,
          "max": "",
          "min": "",
          "dataField": ""
        }
      }
    },
    "column": {
      "open": {
        "x": 0,
        "y": 0
      },
      "appearance": {
        "fill": {
          "color": "",
          "opacity": 1
        },
        "stroke": {
          "color": "",
          "opacity": 1,
          "width": 1
        },
        "width": 25,
        "height": null,
        "stacked": false,
        "deriveFieldsFromData": {
          "fill": {
            "color": "",
            "opacity": ""
          },
          "stroke": {
            "color": "",
            "opacity": "",
            "width": ""
          }
        },
        "heatRules": {
          "enabled": false,
          "max": "",
          "min": "",
          "dataField": ""
        }
      }
    },
    "line": {
      "open": {
        "x": "",
        "y": ""
      },
      "appearance": {
        "connect": true,
        "tensionX": 1,
        "tensionY": 1,
        "minDistance": 0.5,
        "stroke": {
          "width": 3,
          "opacity": 1,
          "color": "#000080",
          "dashArray": ""
        },
        "fill": {
          "color": "",
          "opacity": 0
        },
        "bullets": [
          {
            "enabled": true,
            "render": "circle",
            "width": 10,
            "height": 10,
            "label": {
              "text": "{value}",
              "position": {
                "dx": 0,
                "dy": 0
              }
            },
            "tooltip": {
              "enabled": true,
              "text": "{name}: [bold]{valueY}[/]",
              "cornerRadius": 3,
              "pointerLength": 4,
              "background": {
                "color": "",
                "opacity": 1
              }
            },
            "fill": {
              "color": "",
              "opacity": 1
            },
            "stroke": {
              "color": "",
              "width": 1,
              "opacity": 1
            },
            "rotation": 0,
            "deriveFieldsFromData": {
              "fill": {
                "color": "",
                "opacity": ""
              },
              "stroke": {
                "color": "",
                "opacity": "",
                "width": ""
              },
              "rotation": ""
            },
            "heatRules": {
              "enabled": false,
              "max": 100,
              "min": 2,
              "dataField": ""
            }
          }
        ]
      }
    },
    "stepLine": {
      "open": {
        "x": "",
        "y": ""
      },
      "appearance": {
        "connect": true,
        "tensionX": 1,
        "tensionY": 1,
        "minDistance": 0.5,
        "stroke": {
          "width": 3,
          "opacity": 1,
          "color": "",
          "dashArray": ""
        },
        "fill": {
          "color": "",
          "opacity": 0
        },
        "bullets": [
          {
            "enabled": true,
            "render": "circle",
            "width": 10,
            "height": 10,
            "label": {
              "text": "{value}",
              "position": {
                "dx": 0,
                "dy": 0
              }
            },
            "tooltip": {
              "enabled": true,
              "text": "{name}: [bold]{valueY}[/]",
              "cornerRadius": 3,
              "pointerLength": 4,
              "background": {
                "color": "",
                "opacity": 1
              }
            },
            "fill": {
              "color": "",
              "opacity": 1
            },
            "stroke": {
              "color": "",
              "width": 1,
              "opacity": 1
            },
            "rotation": 0,
            "deriveFieldsFromData": {
              "fill": {
                "color": "",
                "opacity": ""
              },
              "stroke": {
                "color": "",
                "opacity": "",
                "width": ""
              },
              "rotation": ""
            },
            "heatRules": {
              "enabled": false,
              "max": 100,
              "min": 2,
              "dataField": ""
            }
          }
        ]
      }
    }
  },
  {
    "name": "",
    "label": {
      "text": "Actual"
    },
    "visible": true,
    "hiddenInLegend": false,
    "defaultState": {
      "visible": true
    },
    "data": {
      "source": "example",
      "x": "iReason",
      "y": "iMins"
    },
    "xAxis": "iReason",
    "yAxis": "iMins",
    "zIndex": 0,
    "tooltip": {
      "enabled": true,
      "text": "[bold]{valueY}[/] ",
      "cornerRadius": 3,
      "pointerLength": 4,
      "background": {
        "color": "",
        "opacity": 1
      }
    },
    "render": "line",
    "candlestick": {
      "open": {
        "x": "",
        "y": ""
      },
      "high": {
        "x": "",
        "y": ""
      },
      "low": {
        "x": "",
        "y": ""
      },
      "appearance": {
        "fill": {
          "color": "",
          "opacity": 1
        },
        "stroke": {
          "color": "",
          "opacity": 1,
          "width": 1
        },
        "stacked": false,
        "deriveFieldsFromData": {
          "fill": {
            "color": "",
            "opacity": ""
          },
          "stroke": {
            "color": "",
            "opacity": "",
            "width": ""
          }
        },
        "heatRules": {
          "enabled": false,
          "max": "",
          "min": "",
          "dataField": ""
        }
      }
    },
    "column": {
      "open": {
        "x": 0,
        "y": 0
      },
      "appearance": {
        "fill": {
          "color": "",
          "opacity": 1
        },
        "stroke": {
          "color": "",
          "opacity": 1,
          "width": 1
        },
        "width": 25,
        "height": null,
        "stacked": false,
        "deriveFieldsFromData": {
          "fill": {
            "color": "",
            "opacity": ""
          },
          "stroke": {
            "color": "",
            "opacity": "",
            "width": ""
          }
        },
        "heatRules": {
          "enabled": false,
          "max": "",
          "min": "",
          "dataField": ""
        }
      }
    },
    "line": {
      "open": {
        "x": "",
        "y": ""
      },
      "appearance": {
        "connect": true,
        "tensionX": 1,
        "tensionY": 1,
        "minDistance": 0.5,
        "stroke": {
          "width": 3,
          "opacity": 1,
          "color": "#00AC00",
          "dashArray": ""
        },
        "fill": {
          "color": "",
          "opacity": 0
        },
        "bullets": [
          {
            "enabled": true,
            "render": "circle",
            "width": 10,
            "height": 10,
            "label": {
              "text": "{value}",
              "position": {
                "dx": 0,
                "dy": 0
              }
            },
            "tooltip": {
              "enabled": true,
              "text": "{name}: [bold]{valueY}[/]",
              "cornerRadius": 3,
              "pointerLength": 4,
              "background": {
                "color": "",
                "opacity": 1
              }
            },
            "fill": {
              "color": "",
              "opacity": 1
            },
            "stroke": {
              "color": "",
              "width": 1,
              "opacity": 1
            },
            "rotation": 0,
            "deriveFieldsFromData": {
              "fill": {
                "color": "",
                "opacity": ""
              },
              "stroke": {
                "color": "",
                "opacity": "",
                "width": ""
              },
              "rotation": ""
            },
            "heatRules": {
              "enabled": false,
              "max": 100,
              "min": 2,
              "dataField": ""
            }
          }
        ]
      }
    },
    "stepLine": {
      "open": {
        "x": "",
        "y": ""
      },
      "appearance": {
        "connect": true,
        "tensionX": 1,
        "tensionY": 1,
        "minDistance": 0.5,
        "stroke": {
          "width": 3,
          "opacity": 1,
          "color": "",
          "dashArray": ""
        },
        "fill": {
          "color": "",
          "opacity": 0
        },
        "bullets": [
          {
            "enabled": true,
            "render": "circle",
            "width": 10,
            "height": 10,
            "label": {
              "text": "{value}",
              "position": {
                "dx": 0,
                "dy": 0
              }
            },
            "tooltip": {
              "enabled": true,
              "text": "{name}: [bold]{valueY}[/]",
              "cornerRadius": 3,
              "pointerLength": 4,
              "background": {
                "color": "",
                "opacity": 1
              }
            },
            "fill": {
              "color": "",
              "opacity": 1
            },
            "stroke": {
              "color": "",
              "width": 1,
              "opacity": 1
            },
            "rotation": 0,
            "deriveFieldsFromData": {
              "fill": {
                "color": "",
                "opacity": ""
              },
              "stroke": {
                "color": "",
                "opacity": "",
                "width": ""
              },
              "rotation": ""
            },
            "heatRules": {
              "enabled": false,
              "max": 100,
              "min": 2,
              "dataField": ""
            }
          }
        ]
      }
    }
  }
]

```

---

<div class="post-metadata">

**Author:** ![Hema\_T](https://avatars.discourse-cdn.com/v4/letter/h/f08c70/32.png) [@Hema\_T](https://forum.inductiveautomation.com/u/Hema_T)\
**Post date:** [June 25, 2024, 6:29am UTC](https://forum.inductiveautomation.com/t/graph-values-showing-as-inconsistent/87430/4 "2024-06-25T06:29:18Z")

</div>

Hi ,

I have attached the binding . Is there any solution ?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![Ujwal\_Wankhede](https://avatars.discourse-cdn.com/v4/letter/u/4af34b/32.png) [@Ujwal\_Wankhede](https://forum.inductiveautomation.com/u/Ujwal_Wankhede)\
**Post date:** [June 25, 2024, 9:52am UTC](https://forum.inductiveautomation.com/t/graph-values-showing-as-inconsistent/87430/5 "2024-06-25T09:52:25Z")

</div>

I wasn't able to recreate the exact XY chart with the data you provided. However, if you're aiming to set the column height to an absolute value, you can achieve this by setting `yAxes.[x].value.range.min` to 0 (define a min range), as shown below:

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/4/d4735703c20525346e7df157e039e5d9c569a464.png)

---

<div class="post-metadata">

**Author:** ![Hema\_T](https://avatars.discourse-cdn.com/v4/letter/h/f08c70/32.png) [@Hema\_T](https://forum.inductiveautomation.com/u/Hema_T)\
**Post date:** [June 28, 2024, 4:18am UTC](https://forum.inductiveautomation.com/t/graph-values-showing-as-inconsistent/87430/6 "2024-06-28T04:18:45Z")

</div>

Hi ,

I tried your method, but it didn't work. The values still go beyond the chart limits, and even though the difference between the target and actual values is small, their heights are very different.

Thank you  
 ![image (10)](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/c/ec6a614390907160f6a8277364e46db54f1169cd.png)

---

<div class="post-metadata">

**Author:** ![Ujwal\_Wankhede](https://avatars.discourse-cdn.com/v4/letter/u/4af34b/32.png) [@Ujwal\_Wankhede](https://forum.inductiveautomation.com/u/Ujwal_Wankhede)\
**Post date:** [June 28, 2024, 8:38am UTC](https://forum.inductiveautomation.com/t/graph-values-showing-as-inconsistent/87430/7 "2024-06-28T08:38:18Z")

</div>

The yAxes is render as value in the example I posted. Can you verify this setting in your chart, Otherwise post the chart component with sample data.

---

<div class="post-metadata">

**Author:** ![Hema\_T](https://avatars.discourse-cdn.com/v4/letter/h/f08c70/32.png) [@Hema\_T](https://forum.inductiveautomation.com/u/Hema_T)\
**Post date:** [July 1, 2024, 4:41am UTC](https://forum.inductiveautomation.com/t/graph-values-showing-as-inconsistent/87430/8 "2024-07-01T04:41:37Z")

</div>

Hi ,

I have attached the binding with sample data

```python
[
  {
    "type": "ia.display.view",
    "version": 0,
    "props": {
      "path": "Page/Dashboard/OEE Dashboard/APQ/DayPerformance",
      "params": {
        "PieData": [],
        "gauge2": {
          "arcBackgroundColor": "#d9dadb",
          "arcColorGradient1": "#12EBCE",
          "arcColorGradient2": "#00a6e2",
          "label": "Availability",
          "maxValue": 100,
          "unit": "%",
          "value": 0
        }
      }
    },
    "meta": {
      "name": "Performance"
    },
    "position": {
      "grow": 1,
      "basis": "320px"
    },
    "custom": {},
    "propConfig": {
      "props.params.PerformanceGraph": {
        "binding": {
          "type": "query",
          "config": {
            "queryPath": "Page/Dashboard/OEE Dashboard/getHourlyPlanVsActual",
            "parameters": {
              "dop": "{view.custom.formatdate}",
              "EquipmentID": "{view.params.EquipmentID}"
            }
          }
        }
      }
    }
  }
]

```
