Hi Team, I am using LineChart component `import { ...
# gooddata-ui
j
Hi Team, I am using LineChart component
import { LineChart } from "@gooddata/sdk-ui-charts";
The date format on GoodData CN showing on the x-axis is "*Aug 2021*" but while rendering using LineChart component date format on x-axis is rendering as "*2021-08*", How can I sync data format while rendering using LineChart component ?
j
Hi Jitender, For the start, can you please confirm what SDK version are you using?
j
Hi @Julius Kos it's
8.11.0
r
Hi there Jitender, Radek from the GoodData technical team here! When setting the
trendBy
in the LineChart properties, what are you using? Depending on which format you choose there, that's what the output would look like - for example, "Aug 2021" should correspond to
<your-metadata>.DateDatasets.Date.MonthYear.Short
🙂
j
Hi @Julius Kos, @Radek Novacek, Please let me know "@gooddata/sdk-ui-charts" and others packages of gooddata with version
9.1.0
are supported with which version of gooddata-cn ?
👀 1
here I am referencing below screenshot
@Ivana Gasparekova @Jan Rehanek @Matyáš Kandl
r
Hi @Jitender Singh, I've checked this internally, and to work with GD.CN, you need to stick to 9.0.1 instead - as per the compatibility matrix from v9.1.0 documentation.