Skip to content

Commit

Permalink
formatting for __timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
justinpark committed Aug 11, 2022
1 parent cc65375 commit 60a2e8e
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ export const Timeseries = ({ width, height }) => {
chartType="echarts-timeseries"
width={width}
height={height}
queriesData={[{ data: queryData }]}
queriesData={[
{ data: queryData, colnames: ['__timestamp'], coltypes: [2] },
]}
formData={{
contributionMode: undefined,
forecastEnabled,
Expand Down Expand Up @@ -94,7 +96,9 @@ export const WithNegativeNumbers = ({ width, height }) => (
chartType="echarts-timeseries"
width={width}
height={height}
queriesData={[{ data: negativeNumData }]}
queriesData={[
{ data: negativeNumData, colnames: ['__timestamp'], coltypes: [2] },
]}
formData={{
contributionMode: undefined,
colorScheme: 'supersetColors',
Expand Down

0 comments on commit 60a2e8e

Please sign in to comment.