phibr0 / obsidian-charts

Charts - Obsidian Plugin | Create editable, interactive and animated Charts in Obsidian via Chart.js
https://charts.phib.ro/
GNU Affero General Public License v3.0
592 stars 27 forks source link

Suggestion: Adding an absolutely crucial check box or changing the defaults #15

Closed mikkovedru closed 3 years ago

mikkovedru commented 3 years ago

People lie with statistics (and graphs). There are many ways and a lot of famous books were written about it.

One of the most commonly used ways to lie is to truncate the y-axis by not starting it at 0. Very rarely it has a proper explanation, but way more often than not this is a sure way to see that the person/organization is either lying to you or are simply incompetent to talk about numbers.

Here is a good short video showing what is the problem with y-axis not starting at 0: https://www.youtube.com/watch?v=5Qhh0Cm_TZY

I was glad to see that your great plugin has the beginAtZero: true option. Unfortunately, I was sad to see it neither being the default behavior nor it even being easily available via a check box. :-(

Practically any chart is unusable to me if it doesn't start at 0. And it means that every time I want to use a chart, I need to google the correct option text to add to make it proper. This is very tedious.

Could you please be so kind to:

  1. change the default
  2. (optionally) to make an easily available/togglable check box for people ?

Thank you for your great plugin and consideration of my request! :-)

phibr0 commented 3 years ago

image

I added a checkbox for this!

mikkovedru commented 3 years ago

@phibr0 I already updated the plugin and confirmed that it works as it should.

What a great job you did! Thank you! :+1: :1st_place_medal: