Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
[fix] Adding time grains to DualLine (apache#8800)
Browse files Browse the repository at this point in the history
(cherry picked from commit 2fb95cc)
  • Loading branch information
john-bodley committed Dec 10, 2019
1 parent d1dd66f commit d52d224
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions superset/assets/src/explore/controlPanels/DualLine.js
Expand Up @@ -58,4 +58,12 @@ export default {
default: 'smart_date',
},
},
sectionOverrides: {
druidTimeSeries: {
controlSetRows: [['granularity', 'druid_time_origin'], ['time_range']],
},
sqlaTimeSeries: {
controlSetRows: [['granularity_sqla', 'time_grain_sqla'], ['time_range']],
},
},
};

0 comments on commit d52d224

Please sign in to comment.