Skip to content

Commit

Permalink
fix: overlapping data labels for line chart
Browse files Browse the repository at this point in the history
  • Loading branch information
nextchamp-saqib committed Jan 2, 2025
1 parent 61cc079 commit 90a4b23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src2/charts/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export function getLineChartOptions(config: LineChartConfig, result: QueryResult
label: {
fontSize: 11,
show: show_data_labels,
position: idx === number_columns.length - 1 ? 'top' : 'inside',
position: 'top',
formatter: (params: any) => {
return getShortNumber(params.value?.[1], 1)
},
Expand Down

0 comments on commit 90a4b23

Please sign in to comment.