# UI Extension Chart Tooltip Issue

**URL:** <https://community.hubspot.com/t/ui-extension-chart-tooltip-issue/119340>\
**Category:** APIs & Integrations\
**Tags:** timeline-and-extensions-apis\
**Created:** [October 28, 2024, 4:20pm UTC](https://community.hubspot.com/t/ui-extension-chart-tooltip-issue/119340 "2024-10-28T16:20:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TobeH](https://avatars.discourse-cdn.com/v4/letter/t/edb3f5/32.png) [@TobeH](https://community.hubspot.com/u/TobeH)\
**Post date:** [October 28, 2024, 4:20pm UTC](https://community.hubspot.com/t/ui-extension-chart-tooltip-issue/119340/1 "2024-10-28T16:20:26Z")

</div>

I use the LineChart component like this

```lia-code-sample
<LineChart data={usageRecordsData}
 axes={{
 x: { field: 'Start Date', fieldType: 'datetime' },
 y: { field: 'Sum', fieldType: 'linear' },
 options: { groupFieldByColor: 'Breakdown' }
 }}
 options={{
 showLegend: true,
 showDataLabels: true,
 showTooltips: true,
 }}
/>

```

However, the tooltip of each datapoint only displays the datetime rather than the value:

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/5/f/5f3c7ede0d8813fdf1e14561189c4d1fb61e00de.png)

Changing the `fieldType` to `category` actually leads to the desired result of displaying the y-axis values on the datapoints, but the x-axis labeling is not appealing:

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/5/e/5ee6f774dd04430982ad3e048474f8d1664f7486.png)

Am I missing something here or is this a bug?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [October 29, 2024, 5:17pm UTC](https://community.hubspot.com/t/ui-extension-chart-tooltip-issue/119340/2 "2024-10-29T17:17:28Z")

</div>

Hi, @TobeH 👋 Thanks for your question. Including your code snippet and screenshots is always appreciated. I see that @aanchalshethHS answered a [similar question](https://community.hubspot.com/t5/APIs-Integrations/HubSpot-UI-Extensions-Issue-with-LineChart-component-not/m-p/1054252#M77363) last week. Hey [@zach\_threadint](https://community.hubspot.com/t5/user/viewprofilepage/user-id/324811) @SteveHTM do you have any experience here?

Thank you for taking a look! — Jaycee
