Skip to content

Commit

Permalink
Add tool tip section to builder
Browse files Browse the repository at this point in the history
  • Loading branch information
drewnoakes committed Dec 7, 2021
1 parent c5b3376 commit 7052690
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions builder/index.html
Expand Up @@ -479,6 +479,12 @@
}
});

// Tool tip
startControlSection('Tool tip');
bindCheckBox({target: chart.options, name: 'Show tool tip on hover', propertyName: 'tooltip'});
bindRange({target: chart.options.tooltipLine, name: 'Tool tip line width', propertyName: 'lineWidth', min: 1, max: 5});
bindColor({target: chart.options.tooltipLine, name: 'Tool tip line color', propertyName: 'strokeStyle', opacity: 1});

// Y-scaling
startControlSection('Y-scaling');
bindCheckBox({
Expand Down

0 comments on commit 7052690

Please sign in to comment.