Skip to content

Commit

Permalink
Fix none shape in chart node
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuhitoyokoi committed Feb 4, 2024
1 parent 130622c commit b3a0351
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nodes/widgets/ui_chart.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
{ value: 'rectRot', label: 'Rotated Rectangle' },
{ value: 'star', label: 'Star' },
{ value: 'triangle', label: 'Triangle' },
{ value: false, label: 'None' }
{ value: 'false', label: 'None' }
]
}]
})
Expand Down
2 changes: 1 addition & 1 deletion ui/src/widgets/ui-chart/UIChart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export default {
const radius = this.props.pointRadius ? this.props.pointRadius : 4
this.chart.data.datasets.push({
borderColor: this.props.colors[datalabels.length],
pointStyle: this.props.pointShape || 'circle',
pointStyle: this.props.pointShape === 'false' ? false : this.props.pointShape || 'circle',
pointRadius: radius,
pointHoverRadius: radius * 1.25,
label,
Expand Down

0 comments on commit b3a0351

Please sign in to comment.