PaykomanVll commented on issue #19721: URL: https://github.com/apache/echarts/issues/19721#issuecomment-1999969227
> You can use a second [dataset](https://echarts.apache.org/en/option.html#dataset) for the bar series or specify the [data](https://echarts.apache.org/en/option.html#series-bar.data) for each series individually. > > [Example](https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=PYBwLglsB2AEC8sDeAoWsA2BTA5l6AJgFzIC-ANGrAQIZg0DOWYJA2lequt7A8AK4AnAMZY2HHrFYByABbBBTBtPKxpATgD0AJgDMKtQEYADDv2rphw2YOXtNi9e0AWW_ZfSAupUncZAGQA3f1hzWABWADYAOnDVAA5taMME-OiAdlV042TVcN1o5wTw5O8JHgDg2Fc8w1yIuqKIkpSIgt0sgvjVSLT0st90SpDwg2cc1sik7R71WNVdGKbnEpnQpPCBweHYSINtVYX0-uc6tcNu0IL1VWc5w09y2EeeCgkuST4hUXFBqTkFEpbFo9LYTA4jE4wnYIZYdDU1O5XFtfDIAIIANQA4gY0sYstEOrBjjdYGlIqo5hTYFSXpI6ehSFQtgAPNEsiAMEhIMAATxAYjUwjouAUvOkb3QvPZnO5ktgOEEEGIyDAoBI0nC4QApBKfLwsEqsFypO8ntAaABbQXSIIhcxPPkCjUYCDQLAqJ4MS3AYBgWQkMCCfhYfU8JhGhj-Gi8gRgABCvI1gmAAHdPb4sJaQLJGLLkLAAGbAYT8E3SCMQY3SWBM15h5Dmq02u3VDOSJ0213u9vhn1-gOwIMhhvoSvG6Ox_gJpNqFPp0ewLM5vMmpBFktljXj5S1iTyzhN60a1ujRedl1uj2L72-_2B4Ohr2GqtRmNxxPJtO97jL3MMfN12LUtyx3Gs624A9G18C1jzUVs9nPfkuyvH90GEYAMAUDUAGIsCwSJCMQr1-3vIdHxvF8J3fadPznb9Fz_VduQ3EDtyo3cIMZBsPh4WCbUxHEkOdNQACMaEENDYAwrDBA1EA3QAayk2h6CYMAAElCCwFkSBSEi70HYcn18HdJw_WdpHnKSmIAtdWK3NQwNrRcMBoUSsAwbknjHeRUwfEcfNgEBg AAyAYA1NUQCk9BAhoDAQzRaAIEtOgoGgAKsCeLiXLNXwLzUBTryeZV5KrKTBBoAgIEc6RdGMXVF1EaAwENNhNQatwdS8Rjs3_QCguA2qmAwQtpGy1z3M87y_mLQRUrAVq5LUJBRNIbkAAEQV0UhYAACiQAhSG1ABKcbfCg9B8AwghBV4yQIFay0ADlmw1eRFGrRdYvikMNW2mKh19DBIBAf6bGy_dmRQUgAG4gA) Hello, thank you so much, best solution at the moment BUT as i said every solution has any problem. Your solution kill the update event on mouse hover. If you hover a "date" the pie has to update to the curent date the mouse is on, it will not more work now =( This was the update event and the pie has ben changed when mous was hover of a col (date) ``` myChart.on('updateAxisPointer', function( event ){ const xAxisInfo = event.axesInfo[0]; if( xAxisInfo ){ console.log('info', xAxisInfo); const dimension = xAxisInfo.value + 1; myChart.setOption({ series: { id: 'pie', label: { formatter: '{b}: {@[' + dimension + ']} ({d}%)' }, encode: { value: dimension, tooltip: dimension } } }); } }); ``` As i said, i want exactly the same from the default demo just add the bar without to pie, thats all and dont have working configuration :( Maybe we can fix it, then would it perfect. Its important i can see pie on the different data`s Best regards Stefan -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
