diff --git a/pom.xml b/pom.xml
index a49ca19..b2333e6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
io.camunda.community
zeebe-cherry-runtime
- 3.0.3-SNAPSHOT
+ 3.0.4
17
diff --git a/src/main/frontend/src/component/Chart.jsx b/src/main/frontend/src/component/Chart.jsx
index b5dc89d..171c1e6 100644
--- a/src/main/frontend/src/component/Chart.jsx
+++ b/src/main/frontend/src/component/Chart.jsx
@@ -134,6 +134,7 @@ class Chart extends React.Component {
getOptionsBarChart() {
const chartOptions = {
'maintainAspectRatio': false,
+ 'responsive': false,
'plugins': {
'legend': {
'display': false
@@ -145,7 +146,7 @@ class Chart extends React.Component {
y: {
ticks: {
beginAtZero: true,
- display: false
+ display: true
},
grid: {
display: false,
@@ -168,7 +169,6 @@ class Chart extends React.Component {
borderWidth: 2,
},
};
- chartOptions.responsive = true;
chartOptions.plugins = {
legend: {
position: 'right',
@@ -187,6 +187,7 @@ class Chart extends React.Component {
if (this.state.options.width !== undefined || this.state.options.height !== undefined) {
chartOptions.maintainAspectRatio = false;
}
+ // value is true by default
if (this.state.options.showXLabel === false) {
chartOptions.scales.x.ticks.display = false;
}
@@ -268,7 +269,7 @@ class Chart extends React.Component {
dataset.data = this.state.data;
}
console.log("Chart: dataChart=" + JSON.stringify(dataChart));
-
+ return dataChart;
}
/* ******************************************************************** */
diff --git a/src/main/frontend/src/dashboard/Dashboard.jsx b/src/main/frontend/src/dashboard/Dashboard.jsx
index f86e1a9..b64155e 100644
--- a/src/main/frontend/src/dashboard/Dashboard.jsx
+++ b/src/main/frontend/src/dashboard/Dashboard.jsx
@@ -157,7 +157,7 @@ class Dashboard extends React.Component {
|
-
|
diff --git a/src/main/frontend/src/dashboard/RunnerChart.jsx b/src/main/frontend/src/dashboard/RunnerChart.jsx
index ea758a0..a37010e 100644
--- a/src/main/frontend/src/dashboard/RunnerChart.jsx
+++ b/src/main/frontend/src/dashboard/RunnerChart.jsx
@@ -42,43 +42,51 @@ class RunnerChart extends React.Component {
options={{
title: this.state.title,
showXLabel: false,
- showYLabel: false,
+ showYLabel: true,
width: 200,
height: 100,
showGrid: false
}}
title="execution"/>
}
+ {this.state.type === "ExecutionsShort" && this.state.runner && this.state.runner.performance &&
+
+ }
{this.state.type === "DurationsAvg" && this.state.runner && this.state.runner.performance &&
+ title="Duration ms (average)"/>
}
{this.state.type === "DurationsPic" && this.state.runner && this.state.runner.performance &&
+ title="Duration ms (pic)"/>
}
{this.state.type === "Errors" && this.state.runner && this.state.runner.performance &&
Workers