dc.js icon indicating copy to clipboard operation
dc.js copied to clipboard

dc v3 related warning message while using dc v4

Open benjaminh opened this issue 4 years ago • 1 comments

With https://unpkg.com/dc@4/dist/dc.js, I get this message in the console : You are using d3.schemeCategory20c, which has been removed in D3v5. See the explanation at https://github.com/d3/d3/blob/master/CHANGES.md#changes-in-d3-50. DC is using it for backward compatibility, however it will be changed in DCv3.1

So my guess is that dc v4 came back to using d3.schemeCategory20c, is that correct ?

benjaminh avatar Mar 06 '20 14:03 benjaminh

Thanks for pointing this out. It was a bad idea to specify in advance when the compatibility color scheme would be removed from DC.

It has not been removed yet.

That said you should still follow the advice from this warning and stop using this color scheme. It was removed from D3 because it was ambiguous.

I’ll fix this issue by removing the mention of 3.1 from the warning message.

gordonwoodhull avatar Mar 06 '20 14:03 gordonwoodhull