Giter VIP home page Giter VIP logo

Comments (12)

phibr0 avatar phibr0 commented on August 28, 2024

That's weired, could you try it again, open the developer tools (i guess cmd shift i) and copy the error? or better the whole log that's there?

from obsidian-charts.

dxcore35 avatar dxcore35 commented on August 28, 2024

Can you paste here exact code snippet? I will test it

from obsidian-charts.

phibr0 avatar phibr0 commented on August 28, 2024

```chart
type: bar
labels: [Monday, Tuesday, Wednesday, Thursday, Friday]
series: [[12, 5, 8, 8 , 5], [5, 8, 7, 9, 12]]
```

This should work!

If not, please open the Devloper Tools and Copy the Error (Red)

from obsidian-charts.

dxcore35 avatar dxcore35 commented on August 28, 2024

Screenshot 2021-01-26 at 20 49 48

from obsidian-charts.

phibr0 avatar phibr0 commented on August 28, 2024

Hmm it is working fine for me. Could you show me exactly what you have pasted into Obsidian? (Screenshot)

from obsidian-charts.

phibr0 avatar phibr0 commented on August 28, 2024

If you just paste it into obsidian there will be some backslashes inbetween the ```. You will need to press ctrl + shift + v

from obsidian-charts.

dxcore35 avatar dxcore35 commented on August 28, 2024

You are funny :D I paste the code you give me.... but I remove ///`... just paste copy and paste your code and you will know what im talking about.

Screenshot 2021-01-27 at 06 18 25

from obsidian-charts.

phibr0 avatar phibr0 commented on August 28, 2024
  1. It seems like the Block is indented by one tab/four spaces, which makes it a unfenced codeblock (It will just render as code)
  2. There are more \ in the yaml code, look at what i sent you and then what you have, Obsidian puts backslashes in front of square brackets

from obsidian-charts.

dxcore35 avatar dxcore35 commented on August 28, 2024

So?

from obsidian-charts.

phibr0 avatar phibr0 commented on August 28, 2024
  1. It seems like the Block is indented by one tab/four spaces, which makes it a unfenced codeblock (It will just render as code)
  2. There are more \ in the yaml code, look at what i sent you and then what you have, Obsidian puts backslashes in front of square brackets

You need to fix both things and then it will work

from obsidian-charts.

dxcore35 avatar dxcore35 commented on August 28, 2024

Screenshot 2021-01-28 at 17 33 22


Ok there are extra / in the numerical field. It looks like the Obsidian is for some reason adding /... after removing them the graph is rendered correctly! It is amazing.

Really thank you for this feature!


Im also sorry to take your time... but this is the first time I seen that Obsidian is not pasting the text as I copy it.

from obsidian-charts.

phibr0 avatar phibr0 commented on August 28, 2024

Yes it is trying to convert it from html to markdown but it creates errors sometimes. If it copies something wrong you can paste the raw data by using ctrl + shift + v

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.