pissang commented on a change in pull request #13013:
URL:
https://github.com/apache/incubator-echarts/pull/13013#discussion_r459872522
##########
File path: src/chart/line/LineSeries.ts
##########
@@ -103,6 +103,8 @@ export interface LineSeriesOption extends
SeriesOption<LineStateOption, ExtraSta
showAllSymbol?: 'auto'
data?: (LineDataValue | LineDataItemOption)[]
+
+ bolderWhenHover?: boolean
Review comment:
<del>I think we can just ignore `emphasis.bolder` if
`emphasis.lineStyle.width` is specified.</del>
Another thought just comes in my mind: can `emphasis.lineStyle.width` be a
semantic value like `'bolder'`?
```ts
emphasis: {
lineStyle: {
width: 'bolder'
}
}
```
Just like font-weight in CSS. @100pah What do you think about this?
We already have similar configuration in sankey chart.
```
lineStyle: {
color: 'source' | 'target' | 'gradient'
}
```
By which link color will use the color of source/target node, or even a
gradient color between them.
----------------------------------------------------------------
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]