Comments (4)
I don't know if the original author is still working on the project. I would also very much like the plugin to integrate more natively with the current theme in obsidian. I have forked the project here (https://github.com/emiltb/obsidian-plotly) and will try to come up with a solution.
from obsidian-plotly.
@emiltb any luck on the dark mode?
from obsidian-plotly.
@emiltb any luck on the dark mode?
All god intentions from my side, but I ran into some quirks the last time I worked on it that stopped me in my track. I might pick it up again at some point, but I don't have the time right now.
from obsidian-plotly.
Here's how you can do it, just customize what colors you want to set your chart:
data:
- x: [0, 1, 2]
y: [0, 1, 0]
line:
color: 'rgb(255, 255, 255)' # Line color (white)
width: 2 # Line width
marker:
color: 'rgb(0, 150, 255)' # Marker color (blue)
size: 8 # Marker size
mode: 'lines+markers' # Display both lines and markers
layout:
paper_bgcolor: 'rgb(17, 17, 17)' # Dark background color
plot_bgcolor: 'rgb(17, 17, 17)' # Dark plot area color
font:
color: 'rgb(255, 255, 255)' # Font color (white)
xaxis:
color: 'rgb(255, 255, 255)' # X-axis color (white)
gridcolor: 'rgb(102, 102, 102)' # X-axis grid color (gray)
yaxis:
color: 'rgb(255, 255, 255)' # Y-axis color (white)
gridcolor: 'rgb(102, 102, 102)' # Y-axis grid color (gray)
from obsidian-plotly.
Related Issues (20)
- Math support
- Insert chart gui (like obsidian-charts) HOT 1
- Plotly: New Plotly Chart doesn't work
- Implement feature: command palette - on create plot - add modal with basic chart examples list
- Implement feature: width and height scaling to auto fill, or partially fill screen
- Implement feature: generate chart theme that matches current UI css theme
- Implement feature: create plot using `plotlyjs` block, so there will be no dependency to dataviewjs plugin.
- Implement feature: autocomplete suggestions (show hints) when editing `plotly` or/and `plotlyjs` block
- Implement feature: settings - default layout and config values HOT 1
- Implement feature: settings - custom d3 path; maybe download from settings menu
- Bug: plugin commands do not appear on palette (sometimes) HOT 1
- docs would be greatly appreciated HOT 6
- Dataviewjs does not show title HOT 3
- Latex in Charts
- Syntax error with more complex graphs HOT 9
- Set default values in settings HOT 1
- How to draw gantt chart? HOT 5
- How to create time-series charts? HOT 2
- Load .plotly or .json file for display HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-plotly.