Comments (7)
However, I wonder why this option is set to false in native Highcharts update() function
It's for backwards compatibility reasons. I think it should be true
by default in the wrappers, where chart.update
is abstracted.
from highcharts-react.
Hi @rahildar
Thank you for reporting about the problem.
The update should be done with oneToOne
argument set to true
- docs. Currently there's no control over this, so this should be added.
Internal note: ...probably in a similiar way as was done for Angular - highcharts/highcharts-angular@8e7b8bf
from highcharts-react.
Hi @rahildar ,
Now it is possible to se the oneToOne
parameter directly as a props of your component:
oneToOne={true}
.
Live example: https://codesandbox.io/s/3xv686167m
from highcharts-react.
@Denyllon
Wouldn't it make sense that oneToOne
defaults to true? It was designed to handle updating of array configurations, and it is probably unnecessary to require this to be set. Would be better to leave it to true
by default, with the option to set it to false
.
from highcharts-react.
hi @TorsteinHonsi ,
It make sense to me, and that's why I set it in highcharts-vue
by default equal to true
. I will commit the changes soon.
However, I wonder why this option is set to false
in native Highcharts update()
function, as well as in highcharts-angular
wrapper.
from highcharts-react.
Hi everyone, I relied on the highcharts-angular
when I did the pull-request and is set to false
the default, I also see that true
would make more sense.
It is enough to analyze the degree of impact in projects dependent on the package.
from highcharts-react.
So, we should consider to change it in angular
wrapper too.
from highcharts-react.
Related Issues (20)
- Is this the correct way to use the Boost module to improve performance? HOT 3
- Updating a column chart's series data with dataSorting: enabled causes a crash HOT 2
- Bar Chart Rendering is different if I use boost HOT 4
- Leaving the page with a highstock chart in it throws multiple console errors despite chart doing its job HOT 4
- Issue: Component Getting Unmounted from DOM When Using Scroll HOT 4
- Issue: Inconsistent Space Between Axis and Scroll Bar When Scrolling and Zooming in Chart HOT 3
- Incorrect Typescript usage documentation HOT 1
- Scroll Wobble in Highcharts/Stock HOT 2
- Charts resize infinitely when placed under a flexbox with flex-direction: column HOT 2
- mapline is hidden when draw from LA to Taiwan HOT 1
- How to add new y axis? HOT 2
- I'm trying to find a way to center my flag but can't seem to do it #21540 HOT 1
- Cannot center data label HOT 1
- Can i add a marker at the end of the path Gauge? HOT 2
- Question: Remove 1/2 solidchart HOT 4
- RangeSelector.ts: Cannot read properties of undefined (reading 'options') HOT 2
- Dynamic Column Width in Highcharts Not Working with pointPadding and groupPadding api HOT 2
- Axis Alignment and Tooltip Issues with Highcharts Stock Scroll HOT 3
- Height difficulties HOT 5
- Charts with responsiveness rule and boost activated, when updated they cause an internal error HOT 1
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-react.