Skip to content
This repository was archived by the owner on Jul 1, 2025. It is now read-only.

Latest commit

 

History

History
24 lines (21 loc) · 545 Bytes

File metadata and controls

24 lines (21 loc) · 545 Bytes

Disabling Tooltips

To hide the default tooltips in any D3plus chart, set the tooltip property to false.

var myData = [
 {id: "alpha", xAxis: 4, yAxis:  7},
 {id: "alpha", xAxis: 5, yAxis: 25},
 {id: "alpha", xAxis: 6, yAxis: 13},
 {id: "beta",  xAxis: 4, yAxis: 17},
 {id: "beta",  xAxis: 5, yAxis:  8},
 {id: "beta",  xAxis: 6, yAxis: 13}
];

new d3plus.BarChart()
 .config({
   data: myData,
   groupBy: "id",
   tooltip: false,
   x: "xAxis",
   y: "yAxis"
 })
 .render();