You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2021/02/10 12:41:19 UTC

[GitHub] [echarts] tmtron opened a new issue #14257: Allow to set the color of markLine symbols

tmtron opened a new issue #14257:
URL: https://github.com/apache/echarts/issues/14257


   ### What problem does this feature solve?
   Currently it is not possible to set the color of the symbols of a markLine (different to the line-color)
   
   ![image](https://user-images.githubusercontent.com/20422904/107511285-91832900-6ba5-11eb-95ef-d953e8b6bea6.png)
   
   
   ### What does the proposed API look like?
   In addition to setting the symbol, we could add a `symbolColor`, e.g. 
   
   ```
    markLine: {
         data: [
           [{
             name: 'start',
             coord: [0, 50],
             lineStyle: {
               color: 'blue'
             },
             symbol: 'rect'
             symbolColor: 'blue'
           }, {
             name: 'end',
             coord: [1, 500],
             symbol: 'rect'
           }]
         ]
       }
   ```
   
   * Reference to [MarkLine API docs](https://echarts.apache.org/en/option.html#series-line.markLine.data.0.symbol)
   * related [Stackoverflow question: How to change the symbol color of a mark line?](https://stackoverflow.com/questions/66102322/how-to-change-the-symbol-color-of-a-mark-line)
   
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] ohlr commented on issue #14257: Allow to set the color of markLine symbols

Posted by GitBox <gi...@apache.org>.
ohlr commented on issue #14257:
URL: https://github.com/apache/echarts/issues/14257#issuecomment-850866274


   @tmtron Have you checked [ItemStyle](https://echarts.apache.org/en/option.html#series-line.itemStyle)?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] echarts-bot[bot] commented on issue #14257: Allow to set the color of markLine symbols

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #14257:
URL: https://github.com/apache/echarts/issues/14257#issuecomment-776680021


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question.
   
   If you are interested in the project, you may also subscribe our [mailing list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] tmtron commented on issue #14257: Allow to set the color of markLine symbols

Posted by GitBox <gi...@apache.org>.
tmtron commented on issue #14257:
URL: https://github.com/apache/echarts/issues/14257#issuecomment-850956602


   > @tmtron Have you checked [ItemStyle](https://echarts.apache.org/en/option.html#series-line.itemStyle)?
   
   That will only change the style/symbols of the line.  
   [Markline](https://echarts.apache.org/en/option.html#series-line.markLine) does not have an `itemStyle` property


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org