Closed thatsmeta closed 3 years ago
Currently, we don't have this feature yet, we can consider supporting this feature in the form of a callback in the future.
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!
General Questions
In this issue, I have provided information with: 在这个 issue 中我提供了以下信息:
Issue Type
Issue Details
It should be possible to plot mathematical funtions in 2D charts.
Expected Behavior
For 3D charts, it is already possible to have mathematical functions in the chart options which will then be plotted. I think it would be nice to have that possibility for 2D charts as well. For example, I might have the formula for a polynomial regression over a timeseries and would like to plot it. At the moment, I would have to generate an array of points for that regression and create a new series from that array. It would be helpful to have a callback instead, which calculates the value from a given timestamp.
If this is already possible, please tell me how to do it.
Current Behavior
Online Example
dygraphs can do it, see here: http://dygraphs.com/gallery/#g/plotter
Topics
Anything Else We Need to Know
Environment
ECharts version;ECharts 版本: {DESCRIBE_HERE}
[ ] It happens only on certain browsers or operating systems. 对于特定浏览器或操作系统才会出现的问题,请提供相应环境信息:{BROWSER_VERSION_OR_OS_INFORMATION_HERE}