Giter VIP home page Giter VIP logo

Comments (12)

phibr0 avatar phibr0 commented on September 13, 2024 6

Should be fixed in 3.8.2. Sorry for the delay.

I am honestly unsure about what caused this as it works without issues when I manually build it locally, must be something in the CI Pipeline. The latest release was published manually by me

from obsidian-charts.

claremacrae avatar claremacrae commented on September 13, 2024 5

@phibr0 Here's a full repro, using a table and chart taken from the docs:

Steps to reproduce Charts #97

1 Set up the vault

  1. Open a new folder as a vault
  2. Install and enable the Charts plugin

2 Set up the file

  1. Create a new note
  2. Paste in the table and first Tasks block from the Chart from Table docs page
  3. Fix the block id in the chart so that it matches the table
|       | Test1 | Test2 | Test3 |
| ----- | ----- | ----- | ----- |
| Data1 | 1     | 2     | 3.33  |
| Data2 | 3     | 2     | 1     |
| Data3 | 6.7   | 4     | 2     |
^table


```chart
type: bar
id: table
layout: rows
width: 80%
beginAtZero: true
```
  1. View the page in Live Preview or Reading Mode

Expected result:

A chart displayed

Actual result:

image

There was no output in the Console.

from obsidian-charts.

somewhereville avatar somewhereville commented on September 13, 2024

Confirming same issue in OSX when using "id:" for a table that exists on the same markdown page (working before the update run this morning).

from obsidian-charts.

countcb avatar countcb commented on September 13, 2024

Can confirm the issue as well.
ALL my charts (created from table with id) fail with "There is no table at that id and/or file" after updating to 3.8.0 from 3.7.2.

I also get the popup "Table malformed".
All charts have been working before the update.

from obsidian-charts.

tomvankan avatar tomvankan commented on September 13, 2024

I experience the same issue since the last update

from obsidian-charts.

kepano avatar kepano commented on September 13, 2024

I'm experiencing the same issue as well, using Obsidian 1.4.16 and Charts 3.8.0

from obsidian-charts.

robertohernando avatar robertohernando commented on September 13, 2024

Same problem. With Obsidian previous to 1.4.16 there was perfect.

from obsidian-charts.

claremacrae avatar claremacrae commented on September 13, 2024

Workaround

For those on Desktop computers, the workaround for this is to revert the Charts plugin from 3.8.0 to 3.7.2:

  1. Click this button in settings to open the plugins folder in your vault:

image

  1. Open the obsidian-charts folder
  2. Download the 3.7.2 release zip file
  3. Expand the zip
  4. Copy the 3 expanded files in to the obsidian-charts folder, overwriting the 3.8.0 files.
  5. Restart Obsidian

Prevention

@kepano @phibr0 May I suggest that 3.8.0 is marked in the community plugins store as not to download, since it is effectively useless.

from obsidian-charts.

claremacrae avatar claremacrae commented on September 13, 2024

.... since it is effectively useless

Well, at least for those creating charts from tables.

from obsidian-charts.

countcb avatar countcb commented on September 13, 2024

Thanks for the fix! :)

from obsidian-charts.

BoboTheBarbar avatar BoboTheBarbar commented on September 13, 2024

Reading view does work, but generating an image doesn't. Might this be related?
Generating images without table id references does work fine 👍

from obsidian-charts.

claremacrae avatar claremacrae commented on September 13, 2024

Reading view does work, but generating an image doesn't. Might this be related?
Generating images without table id references does work fine 👍

In general, once a bug is closed as fixed, there's more chance of getting something different, even if related, fixed by logging a new issue. By all means include a link to this one...

And do add a detailed list of steps to reproduce it - like here: #97 (comment)

All of these increase the chance of a friendly volunteer passer-by deciding to spend their time to help you out.

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.