Skip to content

Color fatal error:set '#000' but got '#484848' or some other color?Who change my color?||颜色渲染错误,黑色变灰色 #13325

@czzonet

Description

@czzonet

Version

4.9.0

Steps to reproduce

Examples - Apache ECharts (incubating)

set : areaStyle: { color:'#000'}

option = {
    xAxis: {
        type: 'category',
        boundaryGap: false,
        data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
    },
    yAxis: {
        type: 'value'
    },
    series: [{
        data: [820, 932, 901, 934, 1290, 1330, 1320],
        type: 'line',
        areaStyle: {   color:'#000'}
    }]
};

What is expected?

color:'#000'

What is actually happening?

color:'#484848'


What am I missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    docDocument or Website related issues.staleInactive for a long time. Will be closed in 7 days.support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions