Browse Source

#666 fixed visual bug when data update using flow

During change latest, fall out check the config.point_show.
Add 'if statement' when call the redraw.
pull/681/head
Yong-Hoo-Shin 10 years ago
parent
commit
6058af43ec
  1. 4
      c3.js

4
c3.js

@ -559,7 +559,7 @@
// lines, areas and cricles
$$.redrawLine(durationForExit);
$$.redrawArea(durationForExit);
$$.redrawCircle();
if ( config.point_show ) { $$.redrawCircle(); }
// text
if ($$.hasDataLabel()) {
@ -594,7 +594,7 @@
$$.addTransitionForLine(transitions, drawLine);
$$.addTransitionForArea(transitions, drawArea);
$$.addTransitionForCircle(transitions, cx, cy);
$$.addTransitionForText(transitions, xForText, yForText, options.flow);
if ( config.point_show ) { $$.addTransitionForCircle(transitions, cx, cy); }
$$.addTransitionForRegion(transitions);
$$.addTransitionForGrid(transitions);

Loading…
Cancel
Save