第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

我可以在懸停時(shí)使用highcharts列堆疊而不是突出顯示整個(gè)系列

我可以在懸停時(shí)使用highcharts列堆疊而不是突出顯示整個(gè)系列

正如你在這里看到的jsfiddle。如果我使用highcharts柱用column: {stacking: 'normal'}。當(dāng)您將鼠標(biāo)懸停在其上時(shí),它會(huì)突出顯示具有相同名稱的整個(gè)系列。有什么方法我只能突出懸停的元素,并以任何方式影響系列中的其他元素嗎?我還想保留懸停標(biāo)簽。Highcharts.chart('container', {    chart: {        type: 'column'    },    title: {        text: 'Stacked column chart'    },    xAxis: {        categories: ['Apples', 'Oranges', 'Pears', 'Grapes', 'Bananas']    },    yAxis: {        min: 0,        title: {            text: 'Total fruit consumption'        },        stackLabels: {            enabled: true,            style: {                fontWeight: 'bold',                color: (Highcharts.theme && Highcharts.theme.textColor) || 'gray'            }        }    },    legend: {        align: 'right',        x: -30,        verticalAlign: 'top',        y: 25,        floating: true,        backgroundColor: (Highcharts.theme && Highcharts.theme.background2) || 'white',        borderColor: '#CCC',        borderWidth: 1,        shadow: false    },    tooltip: {        headerFormat: '<b>{point.x}</b><br/>',        pointFormat: '{series.name}: {point.y}<br/>Total: {point.stackTotal}'    },    plotOptions: {        column: {            stacking: 'normal',            dataLabels: {                enabled: true,                color: (Highcharts.theme && Highcharts.theme.dataLabelsColor) || 'white'            }        }    },    series: [{        name: 'John',        data: [5, 3, 4, 7, 2]    }, {        name: 'Jane',        data: [2, 2, 3, 2, 1]    }, {        name: 'Joe',        data: [3, 4, 4, 2, 5]    }]});<script src="https://code.highcharts.com/highcharts.js"></script><script src="https://code.highcharts.com/modules/exporting.js"></script><script src="https://code.highcharts.com/modules/export-data.js"></script><div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
查看完整描述

2 回答

  • 2 回答
  • 0 關(guān)注
  • 528 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號