Comments (4)
That example is actually perfect. The code to highlight the series is already there. You can just attach it to your own custom legend.
from amcharts5.
In this example, what should I do to make the same effect for the Bullets?
from amcharts5.
You could do something like this:
chart.series.each(function(chartSeries) {
if (chartSeries != series) {
chartSeries.strokes.template.setAll({
strokeOpacity: 0.15,
stroke: am5.color(0x000000)
});
chartSeries.bulletsContainer.children.each(function(bullet) {
bullet.setAll({
fillOpacity: 0.15,
fill: am5.color(0x000000)
});
});
} else {
chartSeries.strokes.template.setAll({
strokeWidth: 3
});
chartSeries.bulletsContainer.children.each(function(bullet) {
bullet.setAll({
fillOpacity: 1,
fill: series.get("stroke")
});
});
}
})
from amcharts5.
This issue is stale because it has been open 30 days with no activity. It will be closed in 5 days unless a new comment is added.
from amcharts5.
Related Issues (20)
- how to handling dataItem in labels template setup HOT 2
- DateAxis Labels overlapping HOT 1
- heatmap with huge dataset HOT 2
- The Chrome browser is using more than 1 gigabyte of memory. HOT 1
- What event signals that the chart is finished rendering? HOT 1
- Unable to sync the cursor in multi-series in stock chart HOT 3
- Column Series not spanning the length of a Date Axis HOT 2
- How to add text to the last date axis label value ? HOT 3
- Heat Rules not working on Polar HOT 2
- Add Scatter plot to stock chart HOT 3
- ENHANCEMENT Request : Comparison Series with new price scale HOT 2
- ZoomControl buttons hover colour not getting changed #amcharts5 HOT 3
- Tooltip background colour getting removed after initial hover #amcharts5 HOT 4
- Overlapping charts in the same Root HOT 1
- Clickable scatter plot canvasBullets HOT 2
- Bug regarding donut chart HOT 5
- Any possibility to configure the valueAxis HOT 3
- Remove click event in the series HOT 2
- How can I achieve the 7 hour candle ( timeUnit: "hour", count: 7) HOT 4
- How to remove the volumeSeries HOT 8
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.