Drill Grid
Usage instructions
#CTCTOWALTZ-854
@@ -73,7 +73,8 @@ const styles = {
history: 'wdgc-history',
descendable: 'wdgc-descendable',
tooltip: 'wdgc-tooltip',
- popup: 'wdgc-popup'
+ popup: 'wdgc-popup',
+ usage: 'wdgc-usage'
};
@@ -589,6 +590,9 @@ function drawHistory(drillGrid, svg) {
yEntry
]);
+ svg.select(`.${styles.usage}`)
+ .style('display', historyEntries.length > 0 ? 'none' : 'inline-block');
+
const historyElems = svg
.select('.appFocus')
.selectAll('text')
