MCPcopy
hub / github.com/dc-js/dc.js / expireCache

Method expireCache

src/base/base-mixin.js:1374–1377  ·  view source on GitHub ↗

* Expire the internal chart cache. dc charts cache some data internally on a per chart basis to * speed up rendering and avoid unnecessary calculation; however it might be useful to clear the * cache if you have changed state which will affect rendering. For example, if you invoke *

()

Source from the content-addressed store, hash-verified

1372 * @returns {BaseMixin}
1373 */
1374 expireCache () {
1375 // do nothing in base, should be overridden by sub-function
1376 return this;
1377 }
1378
1379 /**
1380 * Attach a Legend widget to this chart. The legend widget will automatically draw legend labels

Callers 6

dimensionMethod · 0.95
dataMethod · 0.95
groupMethod · 0.95
orderingMethod · 0.95
buildPieChartFunction · 0.80
buildLineChartFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected