Y-axis values as integers only (no decimals)

Created on 5 July 2018, almost 7 years ago
Updated 18 April 2025, 14 days ago

Hi, I hope you can help. I'm creating a column chart and I'd like the Y-axis to only show integer values. I'm building the chart programmatically using the Charts API (Google Charts library) and I can't get the Y-axis to count up using whole numbers. I've tried many combinations using 'yaxis_decimal_count', 'yaxis_min', 'yaxis_max', 'yaxis_view_min', and 'yaxis_view_max' to no avail.

Any suggestions what I'm doing wrong? Many many thanks!

πŸ’¬ Support request
Status

Closed: won't fix

Component

Chart API

Created by

πŸ‡¨πŸ‡¦Canada MattBrigade

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024