Adjusting Y-Axis | QuickChart

Hey!

Is there any possibility to adjust the y-axis so that it doesn’t start from 0?

I know it’s set to 0 by default. Based on the QuickChart API, you can change that by adding an option, but I’m not sure if it’s possible to add options, as currently, the QuickChart node on n8n only has predefined chart options.

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @Im30now , yes, you can change the min valie of Y-axis but you would need to use HTTP Request node for that. See QuickChat API docs how it is done, Axes | QuickChart.

Here’s an example of options.scales,yAxes.ticks.min usage of v2 API option to achive that. Note that using v3 would require a slight modification of the options, namely options.scales.y.min

2 Likes

Thank you! Everything works great. Was able to connect Google Sheets and use your provided information to make it work.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.