Skip to content

Commit

Permalink
doughnut label count positioning fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
micz committed Sep 11, 2024
1 parent 26663b3 commit 29e94ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions statslib/chartjs-lib/plugin-doughnutlabels.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ export const tsDoughnutLabelsLine = {
xLine = xLine - Math.abs(2 * ( x - xLine ));
//yLine = y >= halfheight ? y + 20 : y - 20;
extraLine = -extraLine;
is_dx = !is_dx;
}

ctx.beginPath();
Expand Down

0 comments on commit 29e94ff

Please sign in to comment.