-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into release-3.0.0
- Loading branch information
Showing
11 changed files
with
350 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,40 @@ | ||
import Playground from '@site/src/components/PlaygroundV3'; | ||
|
||
# 3D-Charting | ||
# 3D charts | ||
|
||
The `echarts-gl` package extends ECharts to support 3D visualizations, enabling you to create immersive and interactive charts. | ||
With this package, you can design a variety of 3D charts, including: | ||
3D charts are a powerful way to visualize data in three dimensions. They provide a more immersive and interactive experience compared to traditional 2D charts. We typically use 3D charts to represent complex data sets or to visualize data in a more engaging way. | ||
|
||
The `echarts-gl` package extends ECharts to support 3D visualizations. With this package, you can design a variety of 3D charts, including: | ||
|
||
- 3D scatter plots | ||
- 3D bar charts | ||
- 3D surface plots | ||
|
||
<Playground | ||
height="40rem" | ||
name="echarts-special-3d" | ||
noMargin | ||
examplesByName> | ||
</Playground> | ||
|
||
## Installation | ||
|
||
To install the `echarts-gl` package, run the following command: | ||
|
||
```sh | ||
npm install --save @siemens/ix-echarts | ||
``` | ||
|
||
## Import | ||
|
||
To use 3D charts, import the `echarts-gl` package into your project: | ||
|
||
```typescript | ||
import 'echarts-gl'; | ||
``` | ||
|
||
## Example | ||
|
||
### Basic | ||
## Dos and Don'ts | ||
|
||
<Playground | ||
height="40rem" | ||
name="echarts-special-3d" | ||
noMargin | ||
examplesByName> | ||
</Playground> | ||
- Do use with data that's best seen and interpreted in multiple dimensions | ||
- Don’t use 3D charts for simple data that can be effectively represented with 2D charts | ||
- Don’t overuse 3D charts as they can make the data harder to interpret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,26 @@ | ||
import Playground from '@site/src/components/PlaygroundV3'; | ||
|
||
# Pie chart | ||
# Pie charts | ||
|
||
## Examples | ||
Pie charts display data using a circular graph. The length of each slice is proportional to the value it represents. Pie charts are commonly used to visualize the parts of a whole and are particularly useful for comparing the relative sizes of different categories. | ||
|
||
### Donut chart | ||
### Pie chart example | ||
|
||
<Playground | ||
height="40rem" | ||
name="echarts-circle" | ||
name="echarts-pie" | ||
noMargin | ||
examplesByName> | ||
</Playground> | ||
|
||
### Pie chart | ||
### Donut charts | ||
|
||
Donut charts are a variation of pie charts that have a hole in the center. Donut charts are often used to display the same information as a pie chart, but additional information can be displayed in the center of the chart. | ||
|
||
<Playground | ||
height="40rem" | ||
name="echarts-pie" | ||
name="echarts-circle" | ||
noMargin | ||
examplesByName> | ||
</Playground> | ||
|
Oops, something went wrong.