You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to integrate Datamaps with Zeppelin, using the angular-datamps plugin in order to use Datamaps under the angular framework, when trying to color countries using the fillColor key instead of fillKey key finally goes black instead.
After debugging, seems to be a bug in the updateChoropleth method. If you change the original:
color = this.options.fills[ subunitData.fillKey ]; (line 12155 of the master version)
for something like this:
color = val (subunitData.fillKey, subunitData.fillColor);
it seems to be solved.
Is there any collateral effect?
Thanks
The text was updated successfully, but these errors were encountered:
rolmovel
pushed a commit
to keedio/datamaps
that referenced
this issue
Oct 5, 2015
Found 1 issue. To fill any color you want you can change 'fills' object in this way:
map.updateChoropleth({ UKR:{fillColor: "red"}})
to
map.updateChoropleth({ UKR: "red"})
Trying to integrate Datamaps with Zeppelin, using the angular-datamps plugin in order to use Datamaps under the angular framework, when trying to color countries using the fillColor key instead of fillKey key finally goes black instead.
After debugging, seems to be a bug in the updateChoropleth method. If you change the original:
for something like this:
it seems to be solved.
Is there any collateral effect?
Thanks
The text was updated successfully, but these errors were encountered: