Skip to content

In widget mutli horizontal bar : sometimes category 'Others' is less than 0 #13482

@MTorbay-Filigran

Description

@MTorbay-Filigran

Description

When you create a widget multi horizontal bar, the category 'Others' sometimes displays negative values.

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. Custom Dashboard / New Widget
  2. Horizontal Bar
  3. Knowledge Graph with the following settings :
Image Image
  1. To see the issue, you should then :
  • create a vulnerability
  • create a malware
  • from the malware, create a relationship of type 'target' with the vulnerability
  • Add several markings to this relationship
Image

result : you then have the 'Others' category appearing negative :

Image

Expected Output

'Others' should never appear negative.

Actual Output

Sometimes the category Others is less than 0 :

Image

Additional information

Screenshots (optional)

Metadata

Metadata

Labels

buguse for describing something not working as expecteddashboardsLinked to dashboards and widgetssolveduse to identify issue that has been solved (must be linked to the solving PR)

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions