profiler charts

This commit is contained in:
Jan Prochazka
2022-12-18 13:48:24 +01:00
parent 9a2631dc09
commit 2e37788471
9 changed files with 110 additions and 45 deletions

View File

@@ -58,7 +58,8 @@
export let database;
export let jslid;
export let profilerFormatterFunction;
export let profilerChartFormatterFunction;
export let profilerTimestampFunction;
export let profilerChartAggregateFunction;
export let profilerChartMeasures;
let profiling = false;
@@ -128,7 +129,8 @@
const data = await apiCall('jsldata/extract-timeline-chart', {
jslid,
formatterFunction: profilerChartFormatterFunction || engine.profilerChartFormatterFunction,
timestampFunction: profilerTimestampFunction || engine.profilerTimestampFunction,
aggregateFunction: profilerChartAggregateFunction || engine.profilerChartAggregateFunction,
measures: profilerChartMeasures || engine.profilerChartMeasures,
});
chartData = {