diff --git a/en/api/echarts.md b/en/api/echarts.md index ddeee1d3..782f62dd 100644 --- a/en/api/echarts.md +++ b/en/api/echarts.md @@ -36,7 +36,7 @@ Creates an ECharts instance, and returns an [echartsInstance](~echartsInstance). + `devicePixelRatio` Ratio of one physical pixel to the size of one device independent pixels. Browser's `window.devicePixelRatio` is used by default. + `renderer` Supports `'canvas'` or `'svg'`. See [Render by Canvas or SVG](${handbookPath}best-practices/canvas-vs-svg). - + `ssr` Whether to use server-side rendering. Only available in SVG rendering mode. When enabled, it will no longer render automatically every frame, you have to use the [renderToSVGString](~echartsInstance.renderToSVGString) method to get the rendered SVG string. + + `ssr` Whether to use server-side rendering. Only available in SVG rendering mode. When enabled, it will no longer render automatically every frame, you have to use the [renderToSVGString](~echartsInstance.renderToSVGString) method to get the rendered SVG string. See [Server Side Rendering](${handbookPath}how-to/cross-platform/server). + `useDirtyRect` Enable dirty rectangle rendering or not, `false` by default. See [New features in ECharts 5](${handbookPath}basics/release-note/v5-feature). + `useCoarsePointer` Whether to expand the response area when interacting with elements. `null` means enabling for mobile devices; `true` means always enabling; `false` means always disabling. See [Coarse Pointer](${handbookPath}how-to/interaction/coarse-pointer) for more information. + `pointerSize` Size of expanded interaction size in pixels. It should be used along with `opts.useCoarsePointer`. diff --git a/en/option/component/angle-axis.md b/en/option/component/angle-axis.md index e81562f6..11b2a66d 100644 --- a/en/option/component/angle-axis.md +++ b/en/option/component/angle-axis.md @@ -19,10 +19,22 @@ The index of angle axis in Polar Coordinate. The first axis is used by default. Starting angle of axis. 90 degrees by default, standing for top position of center. 0 degree stands for right position of center. -The following shows an example with startAngle of 45 deg. +The following shows an example with `startAngle` of 45 deg. ~[400x400](${galleryViewPath}doc-example/polar-start-angle&edit=1&reset=1) +## endAngle(number) = null + + + +{{ use: partial-version(version = '5.5.0') }} + +Ending angle of axis. `null` by default, standing for a whole circle. + +The following shows an example with `endAngle` of -180 deg. + +~[400x400](${galleryViewPath}doc-example/polar-end-angle&edit=1&reset=1) + ## clockwise(boolean) = true diff --git a/en/option/component/axis-common.md b/en/option/component/axis-common.md index 6faaf9ff..0462773e 100644 --- a/en/option/component/axis-common.md +++ b/en/option/component/axis-common.md @@ -147,6 +147,62 @@ Whether to show the label of the min tick. Optional values: `true`, `false`, `nu Whether to show the label of the max tick. Optional values: `true`, `false`, `null`. It is auto determined by default, that is, if labels are overlapped, the label of the max tick will not be displayed. +{{ if: ${componentType} === 'xAxis' }} + +##${prefix} alignMinLabel(string) = null + +{{ use: partial-version(version = '5.5.0') }} + +Alignment of the label of the min tick. If set to be `null`, it's the same with other labels . + +Options are: ++ `'left'` ++ `'center'` ++ `'right'` ++ `null` (default) + +##${prefix} alignMaxLabel(string) = null + +{{ use: partial-version(version = '5.5.0') }} + +Alignment of the label of the max tick. If set to be `null`, it's the same with other labels. See [align](~${componentType}.axisLabel.align). + +Options are: ++ `'left'` ++ `'center'` ++ `'right'` ++ `null` (default) + +{{ /if }} + +{{ if: ${componentType} === 'yAxis' }} + +##${prefix} verticalAlignMinLabel(string) = null + +{{ use: partial-version(version = '5.5.0') }} + +Vertical alignment of the label of the min tick. If set to be `null`, it's the same with other labels. See [verticalAlign](~${componentType}.axisLabel.verticalAlign). + +Options are: ++ `'top'` ++ `'middle'` ++ `'bottom'` ++ `null` (default) + +##${prefix} verticalAlignMaxLabel(string) = null + +{{ use: partial-version(version = '5.5.0') }} + +Vertical alignment of the label of the max tick. If set to be `null`, it's the same with other labels. See [verticalAlign](~${componentType}.axisLabel.verticalAlign). + +Options are: ++ `'top'` ++ `'middle'` ++ `'bottom'` ++ `null` (default) + +{{ /if }} + ##${prefix} hideOverlap(boolean) diff --git a/en/option/component/tooltip.md b/en/option/component/tooltip.md index cae1ddf4..81676246 100644 --- a/en/option/component/tooltip.md +++ b/en/option/component/tooltip.md @@ -199,6 +199,8 @@ Useful when tooltip is cut because of `'overflow: hidden'` set on outer dom of c version = "4.7.0" ) }} +(DEPRECATED, use [appendTo](~tooltip.appendTo) instead.) + Whether to append the tooltip DOM element as a child of the `` of the HTML page, when using [renderMode](~tooltip.renderMode) `'html'`. By default `false`, means that the tooltip DOM element will be one of a descendant of its echarts DOM container. But that means that the tooltip might be cut when overflow the container if some of the ancestors DOM element of the echarts container are styled with `overflow: hidden`. This case could also be resolved by setting [tooltip.confine](~tooltip.confine), but it might not suitable for all scenarios. @@ -207,6 +209,20 @@ Here we provide `appendToBody: true` to auto append the tooltip element to `