Merge pull request #837 from MiguelMedeiros/fix-circle-dots-mempool-charts
Remove circle symbols when hovering the series.
This commit is contained in:
commit
2e0845847d
@ -66,8 +66,10 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onChartReady(myChart: any) {
|
onChartReady(myChart: any) {
|
||||||
myChart.on('mouseover', 'series', (serie: any) => {
|
myChart.getZr().on('mousemove', e => {
|
||||||
this.hoverIndexSerie = serie.seriesIndex;
|
if (e.target !== undefined) {
|
||||||
|
this.hoverIndexSerie = e.target.parent.parent.__ecComponentInfo.index;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -109,7 +111,7 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
|
|||||||
return {
|
return {
|
||||||
name: this.feeLevelsOrdered[index],
|
name: this.feeLevelsOrdered[index],
|
||||||
type: 'line',
|
type: 'line',
|
||||||
stack: 'total',
|
stack: 'fees',
|
||||||
smooth: false,
|
smooth: false,
|
||||||
markPoint: {
|
markPoint: {
|
||||||
symbol: 'rect',
|
symbol: 'rect',
|
||||||
@ -118,8 +120,7 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
|
|||||||
width: 0,
|
width: 0,
|
||||||
opacity: 0,
|
opacity: 0,
|
||||||
},
|
},
|
||||||
symbolSize: (this.template === 'advanced') ? 10 : 10,
|
symbol: 'none',
|
||||||
showSymbol: false,
|
|
||||||
emphasis: {
|
emphasis: {
|
||||||
focus: 'none',
|
focus: 'none',
|
||||||
areaStyle: {
|
areaStyle: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user