Skip to content

in stacked bar charts, a tiny line appears for series that should have a value of 0 #924

Closed
@DSMejantel

Description

@DSMejantel

Introduction

Since 0.35, in a serie all the colors are displayed even if no values are existing. A tiny line appear !

To Reproduce

{"component":"debug","title":"Risques recensés","type":"bar","height":350,"stacked":1,"toolbar":1,"ystep":10,"color":["red","orange","yellow","green"]}
{"series":"Alerte","x":"Ateliers techniques","value":1}
{"series":"Alerte","x":"École","value":2}
{"series":"Alerte","x":"Mairie (secrétariat)","value":2}
{"series":"Vigilance","x":"Ateliers techniques","value":3}
{"series":"Vigilance","x":"École","value":4}
{"series":"Vigilance","x":"Travaux en extérieur","value":1}
{"series":"Vigilance","x":"Risques Communs","value":2}
{"series":"Surveillance","x":"Ateliers techniques","value":3}
{"series":"Surveillance","x":"École","value":3}
{"series":"Surveillance","x":"Mairie (salles polyvalentes)","value":2}
{"series":"Surveillance","x":"Mairie (secrétariat)","value":2}
{"series":"Surveillance","x":"Véhicules","value":2}
{"series":"Surveillance","x":"Travaux en extérieur","value":4}
{"series":"Surveillance","x":"Risques Communs","value":1}
{"series":"Acceptable","x":"École","value":4}
{"series":"Acceptable","x":"Mairie (salles polyvalentes)","value":1}
{"series":"Acceptable","x":"Mairie (secrétariat)","value":1}
{"series":"Acceptable","x":"Travaux en extérieur","value":1}

Screenshots

Before in 0.34 :

Image

Now in 0.35 :

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions