Skip to content

How tooltip behaves on grouped option?

Jae Sung Park edited this page Jul 30, 2019 · 1 revision

Explanation of how behaves the current tooltip.grouped option.

var chart = bb.generate({
  data: {
    columns: [
	["data1", 300, 150, 300],
	["data2", 130, 150, 140]
    ],
    types: {
      data2: "scatter"
    },
  },
  tooltip: {
    grouped: true | false
  }
});

true

  • bubble/scatter chart types: display as not grouped.

  • other chart types: display as grouped.

    tooltip-grouped-true

false

  • all chart types: display as not grouped.
    • But for the points where line & bubble/scatter stacks each other, there's no way on displaying all stacked data points.

      tooltip-grouped-false

    • Only shows the first-ish data from the node structure.

      Note the below example, 'data1' set as 'scatter' type and only displays 'data1' tooltip only which is the first node structurally.

      tooltip-grouped-false-2