Skip to content

Commit

Permalink
Bugfix KNOWAGE-8263
Browse files Browse the repository at this point in the history
  • Loading branch information
BojanSovticEngIT committed Nov 14, 2023
1 parent 642a226 commit 36752cf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ export class KnowageHighchartsGaugeChart extends KnowageHighcharts {
const serie = this.model.series[i] as any
serie.data = []
data?.rows?.forEach((row: any) => {
const value = row[`column_${i + 1}`]
const serieElement = {
name: serie.name,
y: row[`column_${i + 1}`]
y: isNaN(value) || value == '' ? 0 : value
} as any
if (this.model.chart.type === 'activitygauge') {
serieElement.radius = startingRadius + '%'
Expand Down

0 comments on commit 36752cf

Please sign in to comment.