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

Loading…
Cancel
Save