Skip to content

Commit

Permalink
feat: add PieLabel plugin for rendering the labels of pie chart.
Browse files Browse the repository at this point in the history
  • Loading branch information
simaQ committed Oct 24, 2018
1 parent e60c9df commit 6ba1c70
Show file tree
Hide file tree
Showing 3 changed files with 595 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index-all.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ const Guide = require('./plugin/guide');
const Legend = require('./plugin/legend');
const Animation = require('./animation/detail');
const ScrollBar = require('./plugin/scroll-bar');
const PieLabel = require('./plugin/pie-label');

F2.Animate = require('./animation/animate');
// register plugins
F2.Chart.plugins.register([ Tooltip, Legend, Guide, Animation, ScrollBar ]);
F2.Chart.plugins.register([ Tooltip, Legend, Guide, Animation, ScrollBar, PieLabel ]);

// add interaction
require('./interaction');
Expand Down
Loading

0 comments on commit 6ba1c70

Please sign in to comment.