Skip to content
This repository was archived by the owner on May 18, 2019. It is now read-only.
This repository was archived by the owner on May 18, 2019. It is now read-only.

Set AreaChart fill color #341

@darioenginius

Description

@darioenginius

Hi all,
I have a problem setting fill color in AreaChart.
For Line, Bar and Scatter charts I use the colors function (simply return hex string color) and it works fine.
In Area Chart, I have the following error: Uncaught TypeError: props.colors.domain is not a function
If I try to comment the colors property it uses the default color and I don't get errors.
I tried to add colorAccessor function that always return 0, but nothing changed.
How I can change the fill color for Area Chart? And how do it if I need to add more series?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions