Skip to content

Total should not be shown when slice is selected #1237

@ghost

Description

The code is:

total: {
   show: true,
   showAlways: false,
   label: 'Total',
   color: '#373d3f',
   formatter: function (w) {
      return "$" + w.globals.seriesTotals.reduce((a, b) => {
         return a + b
      }, 0)
   }
}                   

showAlways is false - I was expecting the total not to be shown when the user selects a slice.
When I hover it, the total does change to the slice's data but when selected and moving away, the total comes back.
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions