New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Continuous Functions Module #21013
Comments
Hi @MarcelloPoletti! Thank you for sharing this idea! Right now with a bit of code, you can create such a thing- see the y = f(x) demo. But if I understand you correctly your idea is to have instead of the series: [{
type: 'function',
equation: 'x^2 + 5'
range: [-10, 10]
}] If you have any other idea how it might look or work please feel free to share that! |
Hi karolkolodziej, Yes, a function type series it's probably the best way. And it can have some params, in example:
marc. |
Thank you for clarifying! We are going to discuss it internally and we will keep you posted! |
Another way to think the problem, perhaps more powerfull, is work on data instead of series.
marc. |
Hi,
There are many cases where there is a need to represent continuous trends rather than discrete ones. Some examples include:
These types of series or annotations are essentially continuous functions rather than a set of points. The topic is evidently complex and broad. There are challenges in defining the domain and codomain of functions, and functions can be expressed in various ways - explicitly, parametrically, and so on.
However, by imposing certain restrictions (at least initially), we could create a powerful tool. For instance, we could consider only:
A series or annotation associated with a function could then be drawn by the engine. Naturally, this leads to some special behaviors:
In summary, this is indeed a non-trivial task, but if someone willing takes it up, it would benefit the entire community! 😊
Marc.
The text was updated successfully, but these errors were encountered: