Skip to content

Commit

Permalink
Merge branch 'dev' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovilia committed Feb 1, 2024
2 parents c54976a + 8b4df0f commit 62d1f0b
Show file tree
Hide file tree
Showing 107 changed files with 2,338 additions and 1,995 deletions.
92 changes: 68 additions & 24 deletions editor/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions en/api/action.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,13 @@ dispatchAction({
})
```

## toggleSelected(Action)
## toggleSelect(Action)

Toggle selected status of specified data.

```ts
dispatchAction({
type: 'toggleSelected',
type: 'toggleSelect',

{{ use: action-series-query }}

Expand Down Expand Up @@ -416,10 +416,10 @@ myChart.dispatchAction({
// If "areas" is empty, all of the select-boxes will be deleted.
{ // The first area.

// Indicate that this area is a "coodinate system area", belonging
// Indicate that this area is a "coordinate system area", belonging
// to a geo coordinate system with getIndex: 0.
// We can also use xAxisIndex or yAxisIndex to indicate that
// this area belongs to a catesian coodinate system.
// this area belongs to a catesian coordinate system.
// If no coordinate system is specified, this area is a
// "global area", which does not belong to any coordinate system.
// If an area belongs to a coordinate system, this area moves
Expand Down
4 changes: 2 additions & 2 deletions en/api/echarts-instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ Resizes chart, which should be called manually when container size changes.

**Tip:**

Sometimes charts may be placed in multiple tabs. Those in hidden labels may fail to initialize due to the ignorance of container width and height. So `resize` should be called manually to get the correct width and height when switching to the corresponding tabs, or specify width/heigth in `opts` explicitly.
Sometimes charts may be placed in multiple tabs. Those in hidden labels may fail to initialize due to the ignorance of container width and height. So `resize` should be called manually to get the correct width and height when switching to the corresponding tabs, or specify width/height in `opts` explicitly.

## renderToSVGString(Function)

Expand Down Expand Up @@ -737,7 +737,7 @@ Exports connected chart image; returns a base64 url; can be set to `src` of `Ima
```ts
(opts: {
// Specify which series the data will be appended to.
seriesIndex?: string,
seriesIndex?: number,
// The data to be appended.
data?: Array|TypedArray
}) => string
Expand Down
2 changes: 1 addition & 1 deletion en/api/echarts.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ echarts.use(
);
```

See [Use ECharts with bundler and NPM](${handbookPath}basics/import) for more detailed explaination.
See [Use ECharts with bundler and NPM](${handbookPath}basics/import) for more detailed explanation.

## registerMap(Function)

Expand Down
4 changes: 2 additions & 2 deletions en/api/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,14 @@ Event of data downplay.

## selectchanged(Event)

**ACTION:** [toggleSelected](~action.toggleSelected), [select](~action.select), [unselect](~action.unselect)
**ACTION:** [toggleSelect](~action.toggleSelect), [select](~action.select), [unselect](~action.unselect)

Event emitted when data selection is changed.

```ts
{
type: 'selectchanged',
fromAction: 'select' | 'toggleSelected' | 'unselect',
fromAction: 'select' | 'toggleSelect' | 'unselect',
// Grouped by series.
selected: ({
dataIndex: number[], seriesIndex: number
Expand Down
Loading

0 comments on commit 62d1f0b

Please sign in to comment.