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 2022/02/18 20:29:53 UTC

[GitHub] [echarts] bab409866 opened a new issue #16544: [Feature] candlestick show unexpected message. need more option to custom it

bab409866 opened a new issue #16544:
URL: https://github.com/apache/echarts/issues/16544


   ### What problem does this feature solve?
   
   1. simply, using tooltip and yAxis.axisPointer(type:line)  and then use api below to show tooltip
   chartObj.dispatchAction({
       type: 'showTip',
       seriesIndex: 0,
       dataIndex: 0,
   })
   2. the chart will focus on the target dataIndex object . and tooltip show well. but the cross line  point to the wrong place . the yAxis value is default to use the "open price"  of the  "klineData[dataIndex]" but in fact , "close price " is wanted
   3. and i look for all the doc . no option to change it
   4.  i suggest to add option like valueDim to custom the value that yAxis.axisPointer use . 
   5. 如图 使用API showTip 后 在开启y轴的 axisPointer 情况下 自动指向的是数据是 开盘价。需求是要指向 收盘价,希望可以增加字段比如 valueDim之类的 当series的type是复杂的数据类型时,比如candlestick 那么应该支持指向其中的某一个指作为 y轴指示器指向的数据对象
   6. 
   ![image](https://user-images.githubusercontent.com/93972417/154756683-df247670-1e54-4d4a-ac9c-a3f64ecf2e75.png)
   
   
   
   
   
   ### What does the proposed API look like?
   
   add new option to point the target use field of object


-- 
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: commits-unsubscribe@echarts.apache.org

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] bab409866 closed issue #16544: [Feature] candlestick show unexpected message. need more option to custom it 蜡烛图k线图使用事件显示tooltip后 十字坐标的定位使用的y轴数据是开盘数据,期望是收盘数据

Posted by GitBox <gi...@apache.org>.
bab409866 closed issue #16544:
URL: https://github.com/apache/echarts/issues/16544


   


-- 
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: commits-unsubscribe@echarts.apache.org

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 #16544: [Feature] candlestick show unexpected message. need more option to custom it

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


   @bab409866 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **BODY**
   
   ### What problem does this feature solve?
   
   1. simply, using tooltip and yAxis.axisPointer(type:line) and then use api below to show tooltip
   chartObj.dispatchAction({
       type: 'showTip',
       seriesIndex: 0,
       dataIndex: 0,
   })
   2. the chart will focus on the target dataIndex object . and tooltip show well. but the cross line point to the wrong place . the yAxis value is default to use the "open price" of the "klineData[dataIndex]" but in fact , "close price " is wanted
   3. and i look for all the doc . no option to change it
   4. i suggest to add option like valueDim to custom the value that yAxis.axisPointer use .
   5. As shown in the figure, after using the API showTip, when the axisPointer of the y-axis is turned on, the data is automatically pointed to the opening price. The requirement is to point to the closing price, and I hope to add fields such as valueDim. When the type of the series is a complex data type, such as candlestick, it should support pointing to one of them as the data object pointed to by the y-axis indicator
   6.
   ![image](https://user-images.githubusercontent.com/93972417/154756683-df247670-1e54-4d4a-ac9c-a3f64ecf2e75.png)
   
   
   
   
   
   ### What does the proposed API look like?
   
   add new option to point the target use field of object
   </details>


-- 
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: commits-unsubscribe@echarts.apache.org

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] bab409866 commented on issue #16544: [Feature] candlestick show unexpected message. need more option to custom it

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


   同时建议很多修改label的 formatter只传递了该label的string value过来,希望把数据的index也传递过来 这样更加灵活。


-- 
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: commits-unsubscribe@echarts.apache.org

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] bab409866 commented on issue #16544: [Feature] candlestick show unexpected message. need more option to custom it 蜡烛图k线图使用事件显示tooltip后 十字坐标的定位使用的y轴数据是开盘数据,期望是收盘数据

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


   好吧 我间接解决了问题。不用改代码


-- 
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: commits-unsubscribe@echarts.apache.org

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] bab409866 edited a comment on issue #16544: [Feature] candlestick show unexpected message. need more option to custom it

Posted by GitBox <gi...@apache.org>.
bab409866 edited a comment on issue #16544:
URL: https://github.com/apache/echarts/issues/16544#issuecomment-1045140713


   同时建议增加所有label的 formatter的参数,现在只传递了该label的string value过来,希望把数据的index也传递过来 这样更加灵活。


-- 
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: commits-unsubscribe@echarts.apache.org

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