Skip to content

Commit

Permalink
chore: readme showcase
Browse files Browse the repository at this point in the history
  • Loading branch information
Koooooo-7 committed Jul 11, 2024
1 parent 73a473e commit c8bc663
Show file tree
Hide file tree
Showing 13 changed files with 41 additions and 5 deletions.
27 changes: 23 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ version [![Release](https://jitpack.io/v/Koooooo-7/echarts4j.svg)](https://jitp
.

<details>
<summary>Install via Gradle</summary>
<summary><strong>Install via Gradle</strong></summary>

```gradle
repositories {
Expand All @@ -41,15 +41,16 @@ repositories {
}
dependencies {
implementation 'com.github.Koooooo-7.echarts4j:echarts4j-project:v1.0.0-SNAPSHOT'
implementation 'com.github.Koooooo-7.echarts4j:echarts4j-project:v1.0.0-SNAPSHOT-rc1'
}
```

</details>


<details>
<summary>Install via Maven</summary>
<summary><strong>Install via Maven</strong></summary>

```pom
<repositories>
Expand All @@ -62,7 +63,7 @@ dependencies {
<dependency>
<groupId>com.github.Koooooo-7.echarts4j</groupId>
<artifactId>echarts4j-project</artifactId>
<version>v1.0.0-SNAPSHOT</version>
<version>v1.0.0-SNAPSHOT-rc1</version>
</dependency>
```

Expand All @@ -77,6 +78,24 @@ dependencies {
* Strong Extensibility.
* Live update support for displaying (see [echarts4j-chart-server](./echarts4j-chart-server/README.md)).
* Snapshot for image render (see [echarts4j-snapshot-playwright](./echarts4j-snapshot-playwright/README.md)).
* And more

### 🎨 Showcase

<div align="center">
<img src="docs/assets/line-sample.png" width="25%" alt="bar"/>
<img src="docs/assets/bar.png" width="25%" alt="bar"/>
<img src="docs/assets/candlestick.png" width="22%" alt="bar"/>
<img src="docs/assets/overlap.png" width="24%" alt="bar"/>
<img src="docs/assets/dynamic-pie.png" width="26%" alt="bar"/>
<img src="docs/assets/funnel.png" width="23%" alt="bar"/>
<img src="docs/assets/tree.png" width="22%" alt="bar"/>
<img src="docs/assets/effectscatter.png" width="26%" alt="bar"/>
<img src="docs/assets/sunburst.png" width="25%" alt="bar"/>
<img src="docs/assets/radar.png" width="24%" alt="bar"/>
<img src="docs/assets/liquidfill.png" width="24%" alt="bar"/>
<img src="docs/assets/wordcloud.png" width="24%" alt="bar"/>
</div>

---

Expand Down
16 changes: 16 additions & 0 deletions README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,22 @@ dependencies {
* 支持动态更新展示图表 ([echarts4j-chart-server](./echarts4j-chart-server/README.md)).
* 支持渲染成图片 ([echarts4j-snapshot-playwright](./echarts4j-snapshot-playwright/README.md)).

### 🎨 Showcase

<div align="center">
<img src="docs/assets/line-sample.png" width="25%" alt="bar"/>
<img src="docs/assets/bar.png" width="25%" alt="bar"/>
<img src="docs/assets/candlestick.png" width="22%" alt="bar"/>
<img src="docs/assets/overlap.png" width="24%" alt="bar"/>
<img src="docs/assets/dynamic-pie.png" width="26%" alt="bar"/>
<img src="docs/assets/funnel.png" width="23%" alt="bar"/>
<img src="docs/assets/tree.png" width="22%" alt="bar"/>
<img src="docs/assets/effectscatter.png" width="26%" alt="bar"/>
<img src="docs/assets/sunburst.png" width="25%" alt="bar"/>
<img src="docs/assets/radar.png" width="24%" alt="bar"/>
<img src="docs/assets/liquidfill.png" width="24%" alt="bar"/>
<img src="docs/assets/wordcloud.png" width="24%" alt="bar"/>
</div>
---

### 📝 RunBook
Expand Down
Binary file added docs/assets/candlestick.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/dynamic-pie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/effectscatter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/funnel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/line-sample.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/liquidfill.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/radar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/sunburst.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/tree.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/wordcloud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;

import java.io.FileWriter;
import java.io.IOException;
import java.io.StringWriter;
import java.util.ArrayList;
Expand Down Expand Up @@ -136,7 +137,7 @@ void shouldRenderCorrectly_WhenRenderTheEffectScatterCharts_GivenRelatedConfigs(
.build();
final Render render = RenderProvider.get();
render.render(cvs, writer);
// render.render(cvs, new FileWriter("effect-scatter.html"));
render.render(cvs, new FileWriter("effect-scatter.html"));
} catch (Exception e) {
Assertions.fail();
}
Expand Down

0 comments on commit c8bc663

Please sign in to comment.