MCPcopy
hub / github.com/palantir/plottable / getTotalDrawTime

Method getTotalDrawTime

src/plots/plot.ts:44–46  ·  view source on GitHub ↗
(data: any[], drawSteps: Drawers.DrawStep[])

Source from the content-addressed store, hash-verified

42 public static OPTIMIZE_MEMOIZE_PROJECTORS: boolean = false;
43
44 public static getTotalDrawTime(data: any[], drawSteps: Drawers.DrawStep[]) {
45 return drawSteps.reduce((time, drawStep) => time + drawStep.animator.totalTime(data.length), 0);
46 }
47
48 public static applyDrawSteps(drawSteps: DrawStep[], dataset: Dataset): AppliedDrawStep[] {
49 const appliedDrawSteps: AppliedDrawStep[] = drawSteps.map((drawStep) => {

Callers 2

plotTests.tsFile · 0.80
_paintMethod · 0.80

Calls 1

totalTimeMethod · 0.65

Tested by

no test coverage detected