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
546 stars 25 forks source link

[Bug]: No color after 6 points #105

Open pickle-dev-fr opened 7 months ago

pickle-dev-fr commented 7 months ago

Describe the bug

I have a bar chart and after the 6th point, all color are gray image

Relevant errors (if available)

No response

Steps to reproduce

type: bar
labels: [nombre / min]
series:
  - title: Aluminium ingot
    data: [-120]
  - title: Alclad Aluminum Sheet
    data: [120]
  - title: Aluminium casing
    data: [120]
  - title: Battery
    data: [200]
  - title: Copper ingot
    data: [20]
  - title: Iron ingot
    data: [2340]
  - title: Iron plate
    data: [240]
  - title: Iron rod
    data: [180]
  - title: Quartz Crystal
    data: [216]
  - title: Screw
    data: [480]
  - title: Silica
    data: [200]
  - title: Steel Beam
    data: [225]
width: 100%
legend: false
beginAtZero: false

Expected Behavior

No response

Additional context

No response

Code

No response

Operating system

Windows

n00bmind commented 4 months ago

Same here on version 3.9.0

LucasParsy commented 4 months ago

found the solution: Go to Obsidian settings, on the "Charts" tab on the bottom left, and then you can add new custom colors.

Still not intuitive at all.