Comments (4)
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 data
in the series something like this:
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!
from highcharts.
Hi karolkolodziej,
Yes, a function type series it's probably the best way. And it can have some params, in example:
series: [{
type: 'function',
equation: function(x){ return x^2 + 5},
range /*optional*/: [-10, 10], //or [-10, null] or [null, 10]...
density /*optional*/: 10, //or nothing, draw a point every 10 pixel
}]
marc.
from highcharts.
Thank you for clarifying! We are going to discuss it internally and we will keep you posted!
from highcharts.
Another way to think the problem, perhaps more powerfull, is work on data instead of series.
Suppose "data" depends on xAxys range now visible for a generic series:
series: [{
type: anytype!!
data:{
function: function(o){
//o contains some information about newminx, newmax, oldminx, oldmax, olddata
//Here we can produce new dataset in any possible way, using any possibile optimization strategy
}
}
}]
marc.
from highcharts.
Related Issues (20)
- MouseWheel with Ordinal brake HOT 1
- Remove column aliases from DataTable
- Organization chart: Need a feature to accept the onClick event for customized node UI element HOT 1
- Multiple-point solidgauge is off-center when on 100% HOT 1
- Cannot select a line drawn using Stock Tools. HOT 3
- Donut Chart: Issue with Data plotting HOT 2
- Mapline is hidden when drawing from LA to taiwan HOT 2
- Error 1015 shows HOT 1
- Deleted annotation is present in exported image HOT 3
- Infinite chart resize (reflow) HOT 1
- Color Contrast Ratio for the text 'Month-year' in graph is 1.917:1 which is less than expected (4.5:1) HOT 3
- `headerFormat` use `{point.point.name}` syntax but `pointFormat` use `{point.name}` syntax HOT 1
- chart.getAxes() is poorly named HOT 3
- Adding a yAxis id to the navigator causes plot bands added to the main graph to also display on the navigator. HOT 1
- Improve responsiveness for plot band labels HOT 1
- Drag does not work correctly HOT 1
- Numbers on axis labels HOT 5
- Gantt subtasks with point dependencies getting disorganized when toggling legend HOT 1
- Declaring mouseEvent callback as point event breaks drilldown
- I'm trying to find a way to center my flag but can't seem to do it HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from highcharts.