Reply To: Using gantt chart with datetime

Welcome to Taipy Forums Taipy GUI Using gantt chart with datetime Reply To: Using gantt chart with datetime

#236819
Florian JactaFlorian Jacta
Keymaster

The problem on the line chart and Gantt chart comes from the timezone given to the columns for dates. Taipy tries to convert automatically data depending on the timezone given in the data frames and the timezone of the web client. This is creating a delay for the dates that are displayed on the chart.

df[‘column_date’] = df[‘column_date’].dt.tz_localize(‘UTC’)

This code will localize the dates of a column to have the ‘UTC’ timezone and avoid delays on charts.