demisto / sane-reports

Reports library that will keep you sane and not pulling your hair out
Apache License 2.0
53 stars 13 forks source link

CRTX-99841: PieChart | Use colors from the template #265

Closed lmichalevich closed 10 months ago

lmichalevich commented 10 months ago

Description

When we have a fill/color in an item we should take it from there.

How we did it in other places:

Screenshot 2024-01-08 at 13 27 17


Generated JSON

Validating with items with colors.

JSON: CRTX-99841.json

Before

CRTX-99841_before.pdf

After

CRTX-99841_after.pdf


Generated JSON

Validating with fill, color and empty use-cases.

JSON: CRTX-99841-2.json

Before

CRTX-99841-2-before.pdf

After

CRTX-99841-2-after.pdf