Skip to content

DataLabels background method need a fix #12

@darkons

Description

@darkons

Hello!

I'm sorry but I barely have time to make a PR

public function setDataLabelsBackground(array $dataLabelsBackground): Chart
{
    $this->dataLabelsBackground = $dataLabelsBackground;

    $this->setOption([
        'dataLabels' => [
            'enabled' => $dataLabelsBackground,
        ],
    ]);

    return $this;
}

enabled should be changed to background

Thank your for this package!

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