Comments (5)
Easy fix. Just replace stockSeries
assignement to use current "stock series", not a reference to some global variable which does not get updated when series type is switched.
stockSeries: stockChart.get("stockSeries")
We have updated our CodePens and docs accordingly.
from amcharts5.
Series switcher functionality is something that is handled by user code. I'm afraid debugging custom code is beyond the scope of our support.
from amcharts5.
@martynasma The code which you are seeing is from amcharts only.
Just merge below codepen
Both of them are from amcharts:
- This codepen have custom indicator : https://codepen.io/team/amcharts/pen/vYvBwbW
- This codepen have series switcher : https://www.amcharts.com/demos/stock-chart/
In my codepen I have only copy pasted.
from amcharts5.
Getting this error :
Uncaught Error: EventDispatcher is disposed
from amcharts5.
I hope this clears it @martynasma ?
01.05.2024_04.37.13_REC.mp4
from amcharts5.
Related Issues (20)
- Logarithmic scale not showed completely HOT 3
- Zoom property doesn't hold the zoom state of the chart in the GapelessDateAxis. HOT 2
- Tooltip doesn't work properly with no grouping and base interval set to 5 min HOT 4
- yAxis doesn't show values below 1e-5 on logarithmic scale HOT 1
- Is it possible to fix chart crashing for mobile devices if set useSafeResolution as false? HOT 9
- Compressed grid lines on logarithmic yAxis HOT 1
- Bug when loading the Map with specific geojson HOT 10
- DateRangeSelector not inheriting timezone from root HOT 8
- Animating x axis range label HOT 12
- 'EventDispatcher is disposed' error when refreshing bullets containing PieCharts HOT 5
- Settings button visible, even after disabling it. HOT 1
- Draw tools cut off / do not show scrollbar when longer than div HOT 2
- Setting Timezone to the root causes error HOT 1
- How do I prevent the forceDirected from going out of bounds? HOT 2
- Amcharts 5 - Horizontal scrollbar resets to random indexes HOT 2
- Labels in Responsive HOT 6
- Bellcurve in v5 HOT 1
- Overlapping charts when using the opposite option HOT 3
- What is the best way to apply theme in stock Charts 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 amcharts5.