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/08/29 21:07:43 UTC

[GitHub] [echarts] FirstVertex opened a new issue, #17590: [Bug] Value used instead of requested custom field in label formatter

FirstVertex opened a new issue, #17590:
URL: https://github.com/apache/echarts/issues/17590

   ### Version
   
   5.3.3
   
   ### Link to Minimal Reproduction
   
   https://codesandbox.io/s/disk-usage-forked-qc81o3?file=/index.js
   
   ### Steps to Reproduce
   
   * See the index.js of the codesandbox.
   * See the data of name "SU" has column "xt" with value "$223,215" (a string)
   * See the formatter is trying to display the "xt" field on line 2 of the label.
   * Expect it to display the xt field.
   * It displays the value field instead.
   * Now try to change the value of "SU" to be 223215 instead of 223214
   * Notice that line 2 of the yellow box changed to 223215 (to confirm it is displaying the value)
   
   ### Current Behavior
   
   Value field is displayed instead of the requested xt field.
   
   ### Expected Behavior
   
   Want to display the xt field which is a pre-formatted currency string (it could be other string data)
   
   ### Environment
   
   ```markdown
   independent of environment (see codesandbox)
   ```
   
   
   ### Any additional comments?
   
   we cannot use formatter callback function in this instance, as data is provided by third party and it has already formatted currency strings we need to display with the label


-- 
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.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] liganghui commented on issue #17590: [Bug] Value used instead of requested custom field in label formatter

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

   I have the same problem, please contact me if there is any solution!!!


-- 
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] liganghui commented on issue #17590: [Bug] Value used instead of requested custom field in label formatter

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

   If someone encounters a similar problem, you can use the function to solve it first
   
   ![image](https://user-images.githubusercontent.com/15844198/191255804-c7c13c0c-671d-44e1-a195-9e0e7c6a1a72.png)
   


-- 
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] FirstVertex commented on issue #17590: [Bug] Value used instead of requested custom field in label formatter

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

   Due to our unique application, the chart parameters must pass through window.postMessage() therefore we are unable to use callback function


-- 
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