Giter VIP home page Giter VIP logo

Comments (8)

Scarlov avatar Scarlov commented on August 28, 2024 1

Love your plugin by the way! Can't wait for that option to do graphs from tables

from obsidian-charts.

phibr0 avatar phibr0 commented on August 28, 2024 1
type: radar
labels: [Physical Strength, Coding, Languages, Maths, Chemistry]
series:
- title: Me now
  data: [2.5,2,3,2,2]
  - title: Me I want to be
  data: [4.5,5,4,3.5,3]
width: 50%
fill: true
xMin: 0

or this

type: radar
labels: [Physical Strength, Coding, Languages, Maths, Chemistry]
series:
- title: Me now
  data: [2.5,2,3,2,2]
  - title: Me I want to be
  data: [4.5,5,4,3.5,3]
width: 50%
fill: true
beginAtZero: true

should work

from obsidian-charts.

phibr0 avatar phibr0 commented on August 28, 2024

This is intended behavior. The Chart is cut off at the "bottom", so that it doesn't use unnecessary space. You can disable that behavior by adding the beginAtZero Modifier set to true or using the appropriate Min Modifier (see Readme for more information).

Just add the following line at the bottom:
beginAtZero: true

from obsidian-charts.

Scarlov avatar Scarlov commented on August 28, 2024

Thank you! Sorry to bother you for no reason 😅

from obsidian-charts.

phibr0 avatar phibr0 commented on August 28, 2024

No Problem! I am here to help

from obsidian-charts.

phibr0 avatar phibr0 commented on August 28, 2024

Thanks! I will probably work on improving the Generator Modal first though, things like a live Preview etc.

from obsidian-charts.

tranvnhan avatar tranvnhan commented on August 28, 2024

This is intended behavior. The Chart is cut off at the "bottom", so that it doesn't use unnecessary space. You can disable that behavior by adding the beginAtZero Modifier set to true or using the appropriate Min Modifier (see Readme for more information).

Just add the following line at the bottom: beginAtZero: true

Hi. Could you give one example of how to use Min modifier? I don't know where to put it in my script.
Thanks.

from obsidian-charts.

tranvnhan avatar tranvnhan commented on August 28, 2024
type: radar
labels: [Physical Strength, Coding, Languages, Maths, Chemistry]
series:
- title: Me now
  data: [2.5,2,3,2,2]
  - title: Me I want to be
  data: [4.5,5,4,3.5,3]
width: 50%
fill: true
xMin: 0

or this

type: radar
labels: [Physical Strength, Coding, Languages, Maths, Chemistry]
series:
- title: Me now
  data: [2.5,2,3,2,2]
  - title: Me I want to be
  data: [4.5,5,4,3.5,3]
width: 50%
fill: true
beginAtZero: true

should work

Thanks. It works perfectly.

from obsidian-charts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.