Skip to content

Commit

Permalink
num-dot-chart brownplt#469, sharpen comment about vAxis option settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ds26gte committed Nov 14, 2024
1 parent 4a4b982 commit aa0a38b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/web/js/trove/chart-lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -1428,7 +1428,10 @@ ${labelRow}`;
}

if (dotChartP) {
// dot charts don't need horiz grid or anything below the x axis
// ticks [] as we don't want horizontal grid lines;
// maxValue must be set to something as otherwise having
// all dots at y=0 causes vAxis to be centered at 0;
// we don't want any chart real estate below x-axis
options['vAxis'] = {
ticks: [],
minValue: 0,
Expand Down

0 comments on commit aa0a38b

Please sign in to comment.