Comments (2)
As mentioned in the documentation, you can set the unselectedColor
to a function. The chart takes this somewhat literally, and will show all bubbles that color even when none is selected. To approximate the behavior of other charts, you can do
.unselectedColor(d => choro.filters().length ? 'grey' : choro.getColor(d))
Only single selection is supported, though.
from dc.leaflet.js.
thanks, works now!
from dc.leaflet.js.
Related Issues (20)
- composite leaflet chart HOT 1
- The popup in Choropleth doesn't work HOT 10
- encode data by color in bubbleChart HOT 1
- Upgrading leaflet versions HOT 4
- LeafletMarkerChart hangs when popup moves chart 2 times HOT 2
- document bubbleChart
- Issue while importing module HOT 3
- How to show popup of marker automatically? HOT 1
- .marker(function(d, map) {}): map is undefined HOT 3
- move brushOn to leafletBase
- bubbleChart.radiusAccessor
- color accessor and color scale for bubbleChart HOT 1
- when data has exact same lat long, marker cluster displays it only once HOT 3
- A note regarding the dimension creation of markerChart
- osm Buildings integration
- Heat Map Functionality HOT 2
- not compatible with dc.js 4.0 HOT 3
- Reset all HOT 1
- Seeking new maintainers 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 dc.leaflet.js.