Saturday, May 27, 2017

Displaying Legend in nvd3 Boxplot chart



Displaying Legend in nvd3 Boxplot chart

As of now, nvd3 chart library doesn't support, legends in BoxPlot chart. 
I have forked nvd3 project and legend option in Boxplot  chart. You can see the legends in the rightside bottom of the chart.

You can find the source code here: https://github.com/muralidharand/nvd3

Use boxPlotCustomModel.html

Here are the screenshots:
 


On clicking the legend item, the selected legend item will be hide in the chart area. Click again the same legend item, to bring it back.


Happy Coding !

No comments:

Post a Comment