Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

echarts module, the produced charts do not get copied, when pasting into MSWORD #69

Open
Bakr2030 opened this issue Jul 28, 2024 · 0 comments

Comments

@Bakr2030
Copy link

Is your feature request related to a problem? Please describe.
This module, when using it, the charts produced by is, do not get copied, as apparent when pasting to MSWORD nothing of the charts produced gets captured - Re: https://github.com/cumany/obsidian-echarts

Describe the solution you'd like
simple copy document as HTML, does not capture the echarts

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

sample code ::

Here is the adjusted code to ensure the title is displayed above the legend without overlap:

```echarts
{
  "title": {
    "text": "Theoretical Net Worth of Mine Owners",
    "left": "center",
    "top": "10%"
  },
  "tooltip": {},
  "legend": {
    "data": ["Min Net Worth", "Max Net Worth"],
    "top": "20%"
  },
  "grid": {
    "top": "30%"
  },
  "xAxis": {
    "type": "category",
    "data": ["abc", "efg", "hik"]
  },
  "yAxis": {
    "type": "value"
  },
  "series": [
    {
      "name": "Min Net Worth",
      "type": "bar",
      "data": [21.8, 3, 5.2]
    },
    {
      "name": "Max Net Worth",
      "type": "bar",
      "data": [91.2, 13, 20.8]
    }
  ]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant