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

Update to echarts 5.5.1 #122

Merged
merged 1 commit into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charming/src/asset/charts.html.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<title>{{ title }}</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/echarts/5.5.0/echarts.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/echarts@5.5.1/dist/echarts.min.js"></script>
<style> .container { display: flex; justify-content: center; align-items: center; } .item { margin: auto; } </style>
</head>
<body>
Expand Down
45 changes: 0 additions & 45 deletions charming/src/asset/echarts-5.5.0.min.js

This file was deleted.

45 changes: 45 additions & 0 deletions charming/src/asset/echarts-5.5.1.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion charming/src/renderer/image_renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ impl ImageRenderer {
runtime
.execute_script(
"[echarts.js]",
include_str!("../asset/echarts-5.5.0.min.js").to_string(),
include_str!("../asset/echarts-5.5.1.min.js").to_string(),
)
.unwrap();

Expand Down
2 changes: 1 addition & 1 deletion examples/dioxus-web-demo/Dioxus.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ style = []

# Javascript code file
script = [
"https://cdn.jsdelivr.net/npm/[email protected].0/dist/echarts.min.js",
"https://cdn.jsdelivr.net/npm/[email protected].1/dist/echarts.min.js",
"https://cdn.jsdelivr.net/npm/[email protected]/dist/echarts-gl.min.js",
]

Expand Down
4 changes: 2 additions & 2 deletions examples/leptos-demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<head>
<meta charset="utf-8" />
<title>Leptos App</title>
<script src="https://cdn.jsdelivr.net/npm/[email protected].0/dist/echarts.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].1/dist/echarts.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/echarts-gl.min.js"></script>
</head>

<body></body>

</html>
</html>
4 changes: 2 additions & 2 deletions examples/yew-demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<head>
<meta charset="utf-8" />
<title>Yew App</title>
<script src="https://cdn.jsdelivr.net/npm/[email protected].0/dist/echarts.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].1/dist/echarts.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/echarts-gl.min.js"></script>
</head>

</html>
</html>
Loading