Skip to content

fix(line): overflow symbols should render if clip is false #11549#11552

Merged
pissang merged 2 commits intoapache:masterfrom
SnailSword:fix_11549
Nov 4, 2019
Merged

fix(line): overflow symbols should render if clip is false #11549#11552
pissang merged 2 commits intoapache:masterfrom
SnailSword:fix_11549

Conversation

@SnailSword
Copy link
Copy Markdown
Contributor

fix #11549.

before:
image

after:
image

var step = !isCoordSysPolar && seriesModel.get('step');
var clipShapeForSymbol;
if (coordSys && coordSys.getArea) {
if (coordSys && coordSys.getArea && seriesModel.get('clip')) {
Copy link
Copy Markdown
Contributor

@pissang pissang Nov 4, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's more robust to use seriesModel.get('clip', true).

In this way it won't try get the clip property from the root option if it not exists in series.

@pissang pissang added this to the 4.6.0 milestone Nov 4, 2019
@pissang
Copy link
Copy Markdown
Contributor

pissang commented Nov 4, 2019

Thanks a lot! I've planned it in this version.

@SnailSword SnailSword requested a review from pissang November 4, 2019 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Symbols don't render right in clip mode

3 participants