# App engine : how to visualize the proper data type in a timeseries chart

**URL:** <https://community.dynatrace.com/t/app-engine-how-to-visualize-the-proper-data-type-in-a-timeseries-chart/53752>\
**Category:** Developer Q&A Forum\
**Tags:** dql, dynatrace-app-toolkit, strato, coding-assistance\
**Created:** [October 16, 2025, 7:50am UTC](https://community.dynatrace.com/t/app-engine-how-to-visualize-the-proper-data-type-in-a-timeseries-chart/53752 "2025-10-16T07:50:15Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Tommaso\_Fin](https://avatars.discourse-cdn.com/v4/letter/t/f475e1/32.png) [@Tommaso\_Fin](https://community.dynatrace.com/u/Tommaso_Fin)\
**Post date:** [October 16, 2025, 7:50am UTC](https://community.dynatrace.com/t/app-engine-how-to-visualize-the-proper-data-type-in-a-timeseries-chart/53752/1 "2025-10-16T07:50:15Z")

</div>

Hi, I’m following this guide:

[Query and visualize Grail data | Dynatrace Developer](https://developer.dynatrace.com/develop/visualize-data-in-apps/query-and-visualize-grail-data/)

But it seems that the&nbsp;TimeseriesChart doesn’t show the proper metric type. If for example I run this simple DQL:

timeseries avg(dt.service.request.response\_time)then put the result in a timeserieschart with the code below, the metrics appear as a double and not as a duration:{result.data && (  
\<DQLResultConverter queryResult={result.data} convertTo=“timeseries”\>  
{(data) =\> \<TimeseriesChart variant=“line” data={data}\>\</TimeseriesChart\>}  
\</DQLResultConverter\>  
)}Could you please help me to obtain the same resul I have by putting that DQL in a normal dashboard?&nbsp;I’ve also tryed the alternative approach with a convertToTimeseries function, but still the same result&nbsp;\<TimeseriesChart.Line&nbsp;pointsDisplay=“never” data={convertToTimeseries(result.data.records,&nbsp;result.data.types)[0]} /\>

---

_[View the full topic](https://community.dynatrace.com/t/app-engine-how-to-visualize-the-proper-data-type-in-a-timeseries-chart/53752)._
