# Perspective XYChart, Tooltip on Line Series

**URL:** <https://forum.inductiveautomation.com/t/perspective-xychart-tooltip-on-line-series/28010>\
**Category:** Ignition Early Access\
**Created:** [September 4, 2019, 7:28pm UTC](https://forum.inductiveautomation.com/t/perspective-xychart-tooltip-on-line-series/28010 "2019-09-04T19:28:06Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![bmusson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bmusson/32/87530_2.png) [@bmusson](https://forum.inductiveautomation.com/u/bmusson)\
**Post date:** [September 4, 2019, 7:28pm UTC](https://forum.inductiveautomation.com/t/perspective-xychart-tooltip-on-line-series/28010/1 "2019-09-04T19:28:06Z")

</div>

Hey,

I’m having some trouble getting Tooltip values to show up on my XYChart’s line series; here’s the JSON for the chart and a screenshot of what renders in the browser.

If I add bullets to my line series, then the property **series[x].line.bullets[0].tooltip.text** seems to work, but the Tooltips only appear when you hover over a bullet. I’d much rather have the values displayed no matter where the user places their cursor.

[This user seemed to have Tooltips working](http://forum.inductiveautomation.com/t/bug-11636-xy-chart-tooltip-background-color/20822), although they had a different issue.

```auto
{
            "meta": {
              "name": "XYChart"
            },
            "position": {
              "basis": "375px",
              "display": true,
              "grow": 0,
              "shrink": 1
            },
            "propConfig": {
              "props.dataSources.data": {
                "binding": {
                  "config": {
                    "aggregate": "MinMax",
                    "avoidScanClassValidation": true,
                    "dateRange": {
                      "mostRecent": "{view.custom.timeRange}",
                      "mostRecentUnits": "HOUR"
                    },
                    "ignoreBadQuality": false,
                    "polling": {
                      "enabled": false,
                      "rate": "1"
                    },
                    "preventInterpolation": false,
                    "returnFormat": "Wide",
                    "returnSize": {
                      "numRows": "500",
                      "type": "FIXED"
                    },
                    "tags": [
                      {
                        "aggregate": "Average",
                        "alias": "Top",
                        "path": "[default]Process Units/SCC 2/Status/Temperature/SCC Top Temperature"
                      },
                      {
                        "aggregate": "Average",
                        "alias": "Bottom",
                        "path": "[default]Process Units/SCC 2/Status/Temperature/SCC Bottom Temperature"
                      }
                    ],
                    "valueFormat": "DATASET"
                  },
                  "type": "tag-history"
                }
              }
            },
            "props": {
              "background": {
                "opacity": 0
              },
              "cursor": {
                "lineX": {
                  "stroke": {
                    "color": "#5C97E0",
                    "dashArray": "\u0027\u0027",
                    "opacity": 0.2,
                    "width": 6
                  }
                },
                "lineY": {
                  "enabled": false
                },
                "series": "Top"
              },
              "dataSources": {},
              "enableTransitions": true,
              "legend": {
                "labels": {
                  "font": {
                    "color": "#B3B3B3"
                  }
                }
              },
              "scrollBars": {
                "horizontal": {
                  "enabled": false,
                  "series": "Top"
                }
              },
              "series": [
                {
                  "candlestick": {
                    "appearance": {
                      "deriveFieldsFromData": {
                        "fill": {
                          "color": "",
                          "opacity": ""
                        },
                        "stroke": {
                          "color": "",
                          "opacity": "",
                          "width": ""
                        }
                      },
                      "fill": {
                        "color": "",
                        "opacity": 1
                      },
                      "heatRules": {
                        "dataField": "",
                        "enabled": false,
                        "max": "",
                        "min": ""
                      },
                      "stacked": false,
                      "stroke": {
                        "color": "",
                        "opacity": 1,
                        "width": 1
                      }
                    },
                    "high": {
                      "x": "",
                      "y": ""
                    },
                    "low": {
                      "x": "",
                      "y": ""
                    },
                    "open": {
                      "x": "",
                      "y": ""
                    }
                  },
                  "column": {
                    "appearance": {
                      "deriveFieldsFromData": {
                        "fill": {
                          "color": "",
                          "opacity": ""
                        },
                        "stroke": {
                          "color": "",
                          "opacity": "",
                          "width": ""
                        }
                      },
                      "fill": {
                        "color": "",
                        "opacity": 1
                      },
                      "heatRules": {
                        "dataField": "",
                        "enabled": false,
                        "max": "",
                        "min": ""
                      },
                      "height": null,
                      "stacked": false,
                      "stroke": {
                        "color": "",
                        "opacity": 1,
                        "width": 1
                      },
                      "width": null
                    },
                    "open": {
                      "x": "",
                      "y": ""
                    }
                  },
                  "data": {
                    "source": "data",
                    "x": "t_stamp",
                    "y": "Top"
                  },
                  "defaultState": {
                    "visible": true
                  },
                  "hiddenInLegend": false,
                  "label": {
                    "text": "Top"
                  },
                  "line": {
                    "appearance": {
                      "bullets": [],
                      "connect": true,
                      "fill": {
                        "color": "",
                        "opacity": 0
                      },
                      "minDistance": 0.5,
                      "stroke": {
                        "color": "#FA98FA",
                        "dashArray": "",
                        "opacity": 1,
                        "width": 3
                      },
                      "tensionX": 1,
                      "tensionY": 1
                    },
                    "open": {
                      "x": "",
                      "y": ""
                    }
                  },
                  "name": "Top",
                  "render": "line",
                  "stepLine": {
                    "appearance": {
                      "bullets": [
                        {
                          "deriveFieldsFromData": {
                            "fill": {
                              "color": "",
                              "opacity": ""
                            },
                            "rotation": "",
                            "stroke": {
                              "color": "",
                              "opacity": "",
                              "width": ""
                            }
                          },
                          "enabled": false,
                          "fill": {
                            "color": "",
                            "opacity": 1
                          },
                          "heatRules": {
                            "dataField": "",
                            "enabled": false,
                            "max": 100,
                            "min": 2
                          },
                          "height": 10,
                          "label": {
                            "position": {
                              "dx": 0,
                              "dy": 0
                            },
                            "text": "{value}"
                          },
                          "render": "circle",
                          "rotation": 0,
                          "stroke": {
                            "color": "",
                            "opacity": 1,
                            "width": 1
                          },
                          "tooltip": {
                            "background": {
                              "color": "",
                              "opacity": 1
                            },
                            "cornerRadius": 3,
                            "enabled": true,
                            "pointerLength": 4,
                            "text": "{name}: [bold]{valueY}[/]"
                          },
                          "width": 10
                        }
                      ],
                      "connect": true,
                      "fill": {
                        "color": "",
                        "opacity": 0
                      },
                      "minDistance": 0.5,
                      "stroke": {
                        "color": "",
                        "dashArray": "",
                        "opacity": 1,
                        "width": 3
                      },
                      "tensionX": 1,
                      "tensionY": 1
                    },
                    "open": {
                      "x": "",
                      "y": ""
                    }
                  },
                  "tooltip": {
                    "background": {
                      "color": "",
                      "opacity": 1
                    },
                    "cornerRadius": 3,
                    "enabled": true,
                    "pointerLength": 4,
                    "text": "{name}: [bold]{valueY}[/]"
                  },
                  "visible": true,
                  "xAxis": "time",
                  "yAxis": "temperature",
                  "zIndex": 0
                },
                {
                  "candlestick": {
                    "appearance": {
                      "deriveFieldsFromData": {
                        "fill": {
                          "color": "",
                          "opacity": ""
                        },
                        "stroke": {
                          "color": "",
                          "opacity": "",
                          "width": ""
                        }
                      },
                      "fill": {
                        "color": "",
                        "opacity": 1
                      },
                      "heatRules": {
                        "dataField": "",
                        "enabled": false,
                        "max": "",
                        "min": ""
                      },
                      "stacked": false,
                      "stroke": {
                        "color": "",
                        "opacity": 1,
                        "width": 1
                      }
                    },
                    "high": {
                      "x": "",
                      "y": ""
                    },
                    "low": {
                      "x": "",
                      "y": ""
                    },
                    "open": {
                      "x": "",
                      "y": ""
                    }
                  },
                  "column": {
                    "appearance": {
                      "deriveFieldsFromData": {
                        "fill": {
                          "color": "",
                          "opacity": ""
                        },
                        "stroke": {
                          "color": "",
                          "opacity": "",
                          "width": ""
                        }
                      },
                      "fill": {
                        "color": "",
                        "opacity": 1
                      },
                      "heatRules": {
                        "dataField": "",
                        "enabled": false,
                        "max": "",
                        "min": ""
                      },
                      "height": null,
                      "stacked": false,
                      "stroke": {
                        "color": "",
                        "opacity": 1,
                        "width": 1
                      },
                      "width": null
                    },
                    "open": {
                      "x": "",
                      "y": ""
                    }
                  },
                  "data": {
                    "source": "data",
                    "x": "t_stamp",
                    "y": "Bottom"
                  },
                  "defaultState": {
                    "visible": true
                  },
                  "hiddenInLegend": false,
                  "label": {
                    "text": "Bottom"
                  },
                  "line": {
                    "appearance": {
                      "bullets": [
                        {
                          "deriveFieldsFromData": {
                            "fill": {
                              "color": "",
                              "opacity": ""
                            },
                            "rotation": "",
                            "stroke": {
                              "color": "",
                              "opacity": "",
                              "width": ""
                            }
                          },
                          "enabled": false,
                          "fill": {
                            "color": "",
                            "opacity": 1
                          },
                          "heatRules": {
                            "dataField": "",
                            "enabled": false,
                            "max": 100,
                            "min": 2
                          },
                          "height": 10,
                          "label": {
                            "position": {
                              "dx": 0,
                              "dy": 0
                            },
                            "text": "{value}"
                          },
                          "render": "circle",
                          "rotation": 0,
                          "stroke": {
                            "color": "",
                            "opacity": 1,
                            "width": 1
                          },
                          "tooltip": {
                            "background": {
                              "color": "",
                              "opacity": 1
                            },
                            "cornerRadius": 3,
                            "enabled": true,
                            "pointerLength": 4,
                            "text": "{name}: [bold]{valueY}[/]"
                          },
                          "width": 10
                        }
                      ],
                      "connect": true,
                      "fill": {
                        "color": "",
                        "opacity": 0
                      },
                      "minDistance": 0.5,
                      "stroke": {
                        "color": "",
                        "dashArray": "",
                        "opacity": 1,
                        "width": 3
                      },
                      "tensionX": 1,
                      "tensionY": 1
                    },
                    "open": {
                      "x": "",
                      "y": ""
                    }
                  },
                  "name": "Bottom",
                  "render": "line",
                  "stepLine": {
                    "appearance": {
                      "bullets": [
                        {
                          "deriveFieldsFromData": {
                            "fill": {
                              "color": "",
                              "opacity": ""
                            },
                            "rotation": "",
                            "stroke": {
                              "color": "",
                              "opacity": "",
                              "width": ""
                            }
                          },
                          "enabled": true,
                          "fill": {
                            "color": "",
                            "opacity": 1
                          },
                          "heatRules": {
                            "dataField": "",
                            "enabled": false,
                            "max": 100,
                            "min": 2
                          },
                          "height": 10,
                          "label": {
                            "position": {
                              "dx": 0,
                              "dy": 0
                            },
                            "text": "{value}"
                          },
                          "render": "circle",
                          "rotation": 0,
                          "stroke": {
                            "color": "",
                            "opacity": 1,
                            "width": 1
                          },
                          "tooltip": {
                            "background": {
                              "color": "",
                              "opacity": 1
                            },
                            "cornerRadius": 3,
                            "enabled": true,
                            "pointerLength": 4,
                            "text": "{name}: [bold]{valueY}[/]"
                          },
                          "width": 10
                        }
                      ],
                      "connect": true,
                      "fill": {
                        "color": "",
                        "opacity": 0
                      },
                      "minDistance": 0.5,
                      "stroke": {
                        "color": "",
                        "dashArray": "",
                        "opacity": 1,
                        "width": 3
                      },
                      "tensionX": 1,
                      "tensionY": 1
                    },
                    "open": {
                      "x": "",
                      "y": ""
                    }
                  },
                  "tooltip": {
                    "background": {
                      "color": "",
                      "opacity": 1
                    },
                    "cornerRadius": 3,
                    "enabled": true,
                    "pointerLength": 4,
                    "text": "{name}: [bold]{valueY}[/]"
                  },
                  "visible": true,
                  "xAxis": "time",
                  "yAxis": "temperature",
                  "zIndex": 0
                }
              ],
              "xAxes": [
                {
                  "appearance": {
                    "font": {
                      "size": "",
                      "weight": 100
                    },
                    "grid": {
                      "color": "#1F1F1F",
                      "dashArray": "",
                      "minDistance": 60,
                      "opacity": 0.6,
                      "position": 0.5
                    },
                    "inside": false,
                    "labels": {
                      "color": "#E6E6E6",
                      "opacity": 1
                    },
                    "opposite": false
                  },
                  "category": {
                    "break": {
                      "enabled": false,
                      "endCategory": "",
                      "size": 0.05,
                      "startCategory": ""
                    }
                  },
                  "date": {
                    "baseInterval": {
                      "count": 1,
                      "enabled": false,
                      "skipEmptyPeriods": false,
                      "timeUnit": "hour"
                    },
                    "break": {
                      "enabled": false,
                      "endDate": "",
                      "size": 0.05,
                      "startDate": ""
                    },
                    "format": "hh:mm a",
                    "inputFormat": "yyyy-MM-dd kk:mm:ss",
                    "range": {
                      "max": "",
                      "min": "",
                      "useStrict": false
                    }
                  },
                  "inversed": false,
                  "label": {
                    "color": "#BDBDBD",
                    "enabled": true,
                    "text": "Time"
                  },
                  "name": "time",
                  "render": "date",
                  "tooltip": {
                    "background": {
                      "color": "",
                      "opacity": 1
                    },
                    "cornerRadius": 3,
                    "enabled": true,
                    "pointerLength": 4,
                    "text": ""
                  },
                  "value": {
                    "break": {
                      "enabled": false,
                      "endValue": 100,
                      "size": 0.05,
                      "startValue": 0
                    },
                    "format": "#,###.##",
                    "logarithmic": false,
                    "range": {
                      "max": "",
                      "min": "",
                      "useStrict": false
                    }
                  },
                  "visible": true
                }
              ],
              "yAxes": [
                {
                  "appearance": {
                    "font": {
                      "size": "",
                      "weight": 100
                    },
                    "grid": {
                      "color": "#000000",
                      "dashArray": "",
                      "minDistance": null,
                      "opacity": 0.6,
                      "position": 0.5
                    },
                    "inside": false,
                    "labels": {
                      "color": "#E6E6E6",
                      "opacity": 1
                    },
                    "opposite": false
                  },
                  "category": {
                    "break": {
                      "enabled": false,
                      "endCategory": "",
                      "size": 0.05,
                      "startCategory": ""
                    }
                  },
                  "date": {
                    "baseInterval": {
                      "count": 1,
                      "enabled": false,
                      "skipEmptyPeriods": false,
                      "timeUnit": "hour"
                    },
                    "break": {
                      "enabled": false,
                      "endDate": "",
                      "size": 0.05,
                      "startDate": ""
                    },
                    "format": "M/d/yyyy HH:mm:ss",
                    "inputFormat": "yyyy-MM-dd kk:mm:ss",
                    "range": {
                      "max": "",
                      "min": "",
                      "useStrict": false
                    }
                  },
                  "inversed": false,
                  "label": {
                    "color": "#BDBDBD",
                    "enabled": true,
                    "text": "Temperature"
                  },
                  "name": "temperature",
                  "render": "value",
                  "tooltip": {
                    "background": {
                      "color": "",
                      "opacity": 1
                    },
                    "cornerRadius": 3,
                    "enabled": false,
                    "pointerLength": 4,
                    "text": ""
                  },
                  "value": {
                    "break": {
                      "enabled": false,
                      "endValue": 100,
                      "size": 0.05,
                      "startValue": 0
                    },
                    "format": "#,###.##",
                    "logarithmic": false,
                    "range": {
                      "max": "",
                      "min": "",
                      "useStrict": false
                    }
                  },
                  "visible": true
                }
              ]
            },
            "type": "ia.chart.xy"
          }

```

 ![No%20Tooltip](https://us1.discourse-cdn.com/inductiveautomation/original/2X/5/52eb9d126227df32c4d2df95fe5eb963dad3944b.png)

Thanks a bunch,  
Ben

---

<div class="post-metadata">

**Author:** ![dyates](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dyates/32/20197_2.png) [@dyates](https://forum.inductiveautomation.com/u/dyates)\
**Post date:** [December 17, 2020, 10:34pm UTC](https://forum.inductiveautomation.com/t/perspective-xychart-tooltip-on-line-series/28010/2 "2020-12-17T22:34:57Z")

</div>

Did you ever figure it out?

---

<div class="post-metadata">

**Author:** ![andreas](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/andreas/32/18981_2.png) [@andreas](https://forum.inductiveautomation.com/u/andreas)\
**Post date:** [April 9, 2021, 2:12pm UTC](https://forum.inductiveautomation.com/t/perspective-xychart-tooltip-on-line-series/28010/3 "2021-04-09T14:12:54Z")

</div>

Any luck? 🙂

---

<div class="post-metadata">

**Author:** ![bmusson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bmusson/32/87530_2.png) [@bmusson](https://forum.inductiveautomation.com/u/bmusson)\
**Post date:** [April 9, 2021, 2:31pm UTC](https://forum.inductiveautomation.com/t/perspective-xychart-tooltip-on-line-series/28010/4 "2021-04-09T14:31:31Z")

</div>

No, I haven’t.

---

<div class="post-metadata">

**Author:** ![zacharyw.larson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zacharyw.larson/32/23749_2.png) [@zacharyw.larson](https://forum.inductiveautomation.com/u/zacharyw.larson)\
**Post date:** [March 9, 2023, 3:02pm UTC](https://forum.inductiveautomation.com/t/perspective-xychart-tooltip-on-line-series/28010/5 "2023-03-09T15:02:41Z")

</div>

I have this issue now.  
I need a solution too.

The guy who had it working, he only had lines and they were step lines.  
When I set for step lines and bullet set to circle, I get the tooltip.  
Bullets set to circle isn't going to work for me though. I still need a solution.  
I am on 8.1.19.

@milbar How did you make tooltips on your line renders on your xy chart?  
I have many issues with XY Chart right now.  
[Xy chart help, named query, settings changing](https://forum.inductiveautomation.com/t/xy-chart-help-named-query-settings-changing/53619/)]

---

<div class="post-metadata">

**Author:** ![Jay\_Baker](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jay_baker/32/35448_2.png) [@Jay\_Baker](https://forum.inductiveautomation.com/u/Jay_Baker)\
**Post date:** [May 8, 2023, 4:08am UTC](https://forum.inductiveautomation.com/t/perspective-xychart-tooltip-on-line-series/28010/6 "2023-05-08T04:08:49Z")

</div>

Did you figure this out in the end? I've got it working on my chart, with:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/8/b84f3a5658cd6814524a3762b82997a2c6644cec.png)

Shows the values at the mouse position against each axis, eg:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/9/09c52e28368ef46db20e8ac0059ec4aa7353f2fd.png)

---

<div class="post-metadata">

**Author:** ![zacharyw.larson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zacharyw.larson/32/23749_2.png) [@zacharyw.larson](https://forum.inductiveautomation.com/u/zacharyw.larson)\
**Post date:** [May 9, 2023, 12:22pm UTC](https://forum.inductiveautomation.com/t/perspective-xychart-tooltip-on-line-series/28010/7 "2023-05-09T12:22:41Z")

</div>

I ended up using lines, and setting circle or labels on the bullets.  
The bullet has the tooltip that works, and was solved in another thread for me, and I didn't make it back here, sorry.  
Interesting that this worked.

---

<div class="post-metadata">

**Author:** ![samer\_samy](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/samer_samy/32/52910_2.png) [@samer\_samy](https://forum.inductiveautomation.com/u/samer_samy)\
**Post date:** [September 3, 2023, 1:45pm UTC](https://forum.inductiveautomation.com/t/perspective-xychart-tooltip-on-line-series/28010/8 "2023-09-03T13:45:42Z")

</div>

i DID same and it is working ,thanks

---

<div class="post-metadata">

**Author:** ![Seth\_Figgers](https://avatars.discourse-cdn.com/v4/letter/s/eb8c5e/32.png) [@Seth\_Figgers](https://forum.inductiveautomation.com/u/Seth_Figgers)\
**Post date:** [March 10, 2026, 4:56pm UTC](https://forum.inductiveautomation.com/t/perspective-xychart-tooltip-on-line-series/28010/9 "2026-03-10T16:56:02Z")

</div>

I’ve found that the XY Chart component and some of the other chart components in Perspective are based off amCharts’ library. I read [amCharts’ documentation](https://www.amcharts.com/docs/v4/concepts/tooltips/#Series_tooltips) and found a solution to display series tooltips which I posted [here](https://forum.inductiveautomation.com/t/perspective-xychart-tooltip/64783/4).
