apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.1k stars 19.6k forks source link

plotting mathematical funtions #9602

Closed thatsmeta closed 2 years ago

thatsmeta commented 5 years ago

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

deqingli commented 5 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.

github-actions[bot] commented 3 years ago

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.

github-actions[bot] commented 2 years ago

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!