Skip to content

[Bug] Unable to achieve line series with areacolor=linecolor #17474

@ob-ARC

Description

@ob-ARC

Version

5.3.3

Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRARAMYCGYVA5sAE7m0A0J6AE2aMiAbVoBZGL1i0AKgFcqM2gHUqAlXIAWClQDEOEFQGVmphdFoBdEgF8-6ADZsq0AUSQOS5HPk_e6HhURlSEsKKopLDQjAC2NLIseGC8_LBCYCIRABwATAAMPLAAnADMecUlBQCMVWUALMU1edXNZWVFsDUVBdaOpBTUdE4Q0MoD6IwcVIwmFC6e6ej0wE6cdBysAEaMABQtOc15R90nxQUAdACsAJRp0eicEKxjdCnTqZOkoIz0EBQiDV0oFSKNxvNyItiI9YKt1hxNjt9odjqdUbArncHo8holaHg1hBNN8niA_gDyEDSbAAO7EsDaIEFEH2Wx2IA&_source=echarts-doc-preview

Steps to Reproduce

See link for reproduction.

Current Behavior

Setting the same color to areastyle and linestyle does NOT result in the line being "invisible" (i.e. non-distinguishable from the area). Probably caused by the fact that line and area are actually overlapping. It is possible to simply hide the line of course (width = 0, opacity = 0 or color.alpha = 1), but that also means the legend entry becomes invisible.

Expected Behavior

Line and area should not overlap in rendering.

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enThis issue is in Englishnot-a-bugstaleInactive for a long time. Will be closed in 7 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions