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:30:03 UTC

[GitHub] [echarts] echarts-bot[bot] commented on issue #16544: [Feature] candlestick show unexpected message. need more option to custom it

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