Skip to content

CChart tooltips not showing like the demo #284

@thuhoai179

Description

@thuhoai179

Chart tooltip is not showing as the Demo. Instead it shows under the chart when a data point is hovered.

image

This is the demo: image

My code (copied from the Docs ):

<CChart
  type="bar"
  data={{
    labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
    datasets: [
      {
        label: 'GitHub Commits',
        backgroundColor: '#f87979',
        data: [40, 20, 12, 39, 10, 40, 39, 80, 40],
      },
    ],
  }}
/>

Is the a dependency/additional lib that I'm missing? Looking forward for some help.
I'm using version 2.0.0, when I update to version 2.0.3 this bug still exist.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions