question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Symbol rotate for markLine dose not work on line chart

See original GitHub issue

Version

4.7.0

Reproduction link

https://www.echartsjs.com/examples/zh/editor.html?c=line-aqi

Steps to reproduce

I just add the following code in markLine and it doesn’t work,

symbol: 'triangle',
symbolRotate: 90,

Since this option is listed in the document, I suppose it should work.

What is expected?

The symbol will rotate.

What is actually happening?

The symbol dose not rotate.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
plainheartcommented, Apr 7, 2020

I’ve tried to fix this bug. Could you please refer to https://github.com/apache/incubator-echarts/pull/12392 for details and provide some idea at will? 🙂

0reactions
plainheartcommented, Apr 7, 2020

OK. But as document said, when symbol is set to be 'arrow' in markLine, symbolRotate value will be ignored, and compulsively use tangent angle., now the symbol for markLine is arrow, so the value of symbolRotate is not valid. Refer to https://www.echartsjs.com/en/option.html#series-line.markLine.data.0.symbolRotate for details.

Sorry, It exactly does not work. Maybe it is a bug.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Symbol rotate for markLine dose not work on line chart
I just add the following code in markLine and it doesn't work,. symbol: 'triangle', symbolRotate: 90,.
Read more >
[GitHub] [incubator-echarts] pissang closed issue #12388: Symbol ...
[GitHub] [incubator-echarts] pissang closed issue #12388: Symbol rotate for markLine dose not work on line chart · GitBox Sun, 24 May 2020 21:09:34...
Read more >
Echarts:how to set markLine lable above the line and at the ...
However, I want to dislay it above the line at the end of the line? How to make it? enter image description here...
Read more >
Showing directional line symbol in ArcGIS for Desktop?
For the line ends marker I tried using the dual arrows and a green circle with a dot like you showed, but the...
Read more >
ECharts Document - API Manual
Rotate degree of starting point symbol. Note that when symbol is set to be 'arrow' in markLine , symbolRotate value will be ignored,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found