diff --git a/docs/assets/tutorials/en/animation/advanced-animation.md b/docs/assets/tutorials/en/animation/advanced-animation.md index 240961c610..94399424ef 100644 --- a/docs/assets/tutorials/en/animation/advanced-animation.md +++ b/docs/assets/tutorials/en/animation/advanced-animation.md @@ -102,7 +102,7 @@ const vchart = new VChart(spec, { dom: CONTAINER_ID }); vchart.renderAsync(); ``` -In the above example, we are using the `duration`/`delay`/`easing`/`oneByOne` configuration introduced in our previous chapter ([Animation Types](./Animation_Types)) to achieve simple animation effects. +In the above example, we are using the `duration`/`delay`/`easing`/`oneByOne` configuration introduced in our previous chapter ([Animation Types](./defination-of-animtion)) to achieve simple animation effects. The animation configuration for graphic elements supports multiple properties for detailed control of the animation behavior. Here are the supported attributes for the graphic animation configuration: @@ -594,4 +594,89 @@ VChart provides animation arrangement configuration based on JSON spec to meet a A timeline represents the animation performance of a graphic element over a specific period of time. A timeline contains a set of serialized animation fragments (TimeSlice). The timeline describes the animation performance of a graphic element over a period of time. Animations in different timelines can be executed in parallel. The timeline can also be set with `loop: true` to loop the configured animation effects. - + +### Timeslice + +In a timeline, each time slice is executed serially, and the constituent elements in a time slice include: +- `effect`: The specific execution effect of the animation, which describes the specific interpolation calculation logic of the visual channel attributes of the primitive. Effects can be encapsulated specific animation effects, or animation configurations configured by developers to start and end states, and describe the calculation logic of animation attribute interpolation. Each timeSlice can be configured with multiple `effect`; +- `duration`: the execution duration of animation slices; +- `delay`: the waiting time before the execution of the animation slice; + +### Animation Effect (Effect) +The constituent elements in animation effects (Effect) include: +- `channel`: the changed visual channel attribute, which describes the visual channel attribute when the interpolation calculation starts and ends; +- `easing`: easing strategy for difference calculation; + +The following example achieves an accordion effect by animating a looping timeline: +```javascript livedemo +const spec = { + type: 'bar', + data: [ + { + id: 'id0', + values: [ + { x: '1', y: 22 }, + { x: '2', y: 43 }, + { x: '3', y: 33 }, + { x: '4', y: 22 }, + { x: '5', y: 10 }, + { x: '6', y: 30 }, + { x: '7', y: 46 }, + { x: '8', y: 21 }, + { x: '9', y: 33 }, + { x: '10', y: 43 }, + { x: '11', y: 42 }, + { x: '12', y: 30 }, + { x: '13', y: 9 }, + { x: '14', y: 46 } + ] + } + ], + xField: ['x'], + yField: 'y', + axes: [ + { orient: 'bottom', type: 'band' }, + { orientation: 'left', type: 'linear' } + ], + animationNormal: { + bar: [ + { + loop: true, + startTime: 100, + oneByOne: 100, + timeSlices: [ + { + delay: 1000, + effects: { + channel: { + fillOpacity: { to: 0.5 } + }, + easing: 'linear' + }, + duration: 500 + }, + { + effects: { + channel: { + fillOpacity: { to: 1 } + }, + easing: 'linear' + }, + duration: 500 + } + ] + } + ] + } +}; + +const vchart = new VChart(spec, { dom: CONTAINER_ID }); +vchart.renderAsync(); +``` + +## Custom animation +In the animation effect (Effect), if the simple `channel` configuration cannot meet your needs, you can configure custom animation effects through `custom` and `customParameters`: +- `custom`: custom animation; +- `customParameters`: Custom animation parameters; +For detailed usage, please refer to the [Custom Animation](../custom-extension/custom-animation) chapter. \ No newline at end of file diff --git a/docs/assets/tutorials/en/animation/how-to-config-animation.md b/docs/assets/tutorials/en/animation/how-to-config-animation.md index 4111260144..0558196d0c 100644 --- a/docs/assets/tutorials/en/animation/how-to-config-animation.md +++ b/docs/assets/tutorials/en/animation/how-to-config-animation.md @@ -63,7 +63,7 @@ window['vchart'] = vchart; ### Animation Easing Effect -Easing effects describe the process of "acceleration" of the animation. Setting the appropriate easing effect can make the chart animation more dynamic. VChart has many built-in easing effect types that can be selected through the `animation.easing` property. The default value is `cubicOut`. The following built-in easing effect types are available, and you can refer to the [easing demo](../../../demo/combination/easing-visualization) for more information. +Easing effects describe the process of "acceleration" of the animation. Setting the appropriate easing effect can make the chart animation more dynamic. VChart has many built-in easing effect types that can be selected through the `animation.easing` property. The default value is `cubicOut`. The following built-in easing effect types are available, and you can refer to the [easing demo](../../demo/combination/easing-visualization) for more information. - linear - quadIn diff --git a/docs/assets/tutorials/en/chart/3d-area.md b/docs/assets/tutorials/en/chart/3d-area.md index 2bb37dec1e..b9ba991bdc 100644 --- a/docs/assets/tutorials/en/chart/3d-area.md +++ b/docs/assets/tutorials/en/chart/3d-area.md @@ -21,9 +21,9 @@ Point elements and line elements are the basic components of an area chart, and Axes, tooltips, and other components that assist in chart display are optional configurations with default effects and functions: -- `areaChart.axes`: Axis component, default is to display and automatically infer the coordinate system and data mapping logic according to the chart type. For detailed configuration, see [VChart Axis Component Configuration](../../../option/areaChart#axes) -- `areaChart.tooltip`: Tooltip, default is displayed during interaction. For detailed configuration, see [VChart Tooltip Component Configuration](../../../option/areaChart#tooltip) -- For more component configurations, see [VChart areaChart Configuration](../../../option/areaChart) +- `areaChart.axes`: Axis component, default is to display and automatically infer the coordinate system and data mapping logic according to the chart type. For detailed configuration, see [VChart Axis Component Configuration](../../option/areaChart#axes) +- `areaChart.tooltip`: Tooltip, default is displayed during interaction. For detailed configuration, see [VChart Tooltip Component Configuration](../../option/areaChart#tooltip) +- For more component configurations, see [VChart areaChart Configuration](../../option/areaChart) As a 3d chart, the 3d area chart requires enabling the 3d view. Configure the 3d view in the vChart initialization parameters: diff --git a/docs/assets/tutorials/en/chart/3d-bar.md b/docs/assets/tutorials/en/chart/3d-bar.md index b5bfcb4a8b..d5f46b391b 100644 --- a/docs/assets/tutorials/en/chart/3d-bar.md +++ b/docs/assets/tutorials/en/chart/3d-bar.md @@ -24,9 +24,9 @@ The rectangular chart element is an essential building block for bar/column char Axes, tooltips, and other components, which serve as auxiliary chart display components, are optional configurations with default effects and functionality: -- `barChart.axes`: Axis component, displayed by default and automatically inferring coordinate system and data mapping logic based on chart type. For detailed configurations, see [VChart Axis Component Configuration](../../../option/barChart#axes) -- `barChart.tooltip`: Tooltip information, displayed by default during interaction, for detailed configurations, see [VChart Tooltip Component Configuration](../../../option/barChart#tooltip) -- For more component configurations, see [VChart barChart Configuration](../../../option/barChart) +- `barChart.axes`: Axis component, displayed by default and automatically inferring coordinate system and data mapping logic based on chart type. For detailed configurations, see [VChart Axis Component Configuration](../../option/barChart#axes) +- `barChart.tooltip`: Tooltip information, displayed by default during interaction, for detailed configurations, see [VChart Tooltip Component Configuration](../../option/barChart#tooltip) +- For more component configurations, see [VChart barChart Configuration](../../option/barChart) As a 3D chart, 3D scatter plot needs to enable 3D view, which needs to be configured in the initialization parameters of vChart: - `options3d.enable`: Enable 3D view diff --git a/docs/assets/tutorials/en/chart/3d-funnel.md b/docs/assets/tutorials/en/chart/3d-funnel.md index 971ff7841c..1f38786bd9 100644 --- a/docs/assets/tutorials/en/chart/3d-funnel.md +++ b/docs/assets/tutorials/en/chart/3d-funnel.md @@ -24,8 +24,8 @@ Transformation layers, labels, and other auxiliary elements are only displayed i Tooltip information and other components that assist in chart presentation are optional configurations that come with default effects and functions: -- `funnelChart.tooltip`: Tooltip information, displayed by default during interaction, for detailed configuration see [VChart Tooltip Component Configuration](../../../option/funnelChart#tooltip) -- For more component configurations, see [VChart funnelChart Configuration](../../../option/funnelChart) +- `funnelChart.tooltip`: Tooltip information, displayed by default during interaction, for detailed configuration see [VChart Tooltip Component Configuration](../../option/funnelChart#tooltip) +- For more component configurations, see [VChart funnelChart Configuration](../../option/funnelChart) As a 3D chart, a 3D scatter plot requires enabling the 3D view, which needs to be configured in the initialization parameters of vChart: @@ -100,4 +100,4 @@ const vchart = new VChart(spec, { vchart.renderAsync(); ``` -For other configurations, refer to [Funnel Chart](../../../option/funnelChart) +For other configurations, refer to [Funnel Chart](../../option/funnelChart) diff --git a/docs/assets/tutorials/en/chart/3d-line.md b/docs/assets/tutorials/en/chart/3d-line.md index b39dc79042..df65244670 100644 --- a/docs/assets/tutorials/en/chart/3d-line.md +++ b/docs/assets/tutorials/en/chart/3d-line.md @@ -20,9 +20,9 @@ 坐标轴、提示信息等作为辅助图表展示的组件,属于可选配置,自带默认效果和功能: -- `lineChart.axes`: 坐标轴组件,默认显示并根据图表类型自动推断坐标系及数据映射逻辑,详情配置见[VChart 坐标轴组件配置](../../../option/line/axes/lineChart#axes) -- `lineChart.tooltip`: 提示信息,默认交互时显示,详细配置见[VChart 提示信息组件配置](../../../option/line/axes/lineChart#tooltip) -- 更多组件配置见[VChart lineChart 配置](../../../option/lineChart) +- `lineChart.axes`: 坐标轴组件,默认显示并根据图表类型自动推断坐标系及数据映射逻辑,详情配置见[VChart 坐标轴组件配置](../../option/line/axes/lineChart#axes) +- `lineChart.tooltip`: 提示信息,默认交互时显示,详细配置见[VChart 提示信息组件配置](../../option/line/axes/lineChart#tooltip) +- 更多组件配置见[VChart lineChart 配置](../../option/lineChart) 作为 3d 图表,3d 折线图需要开启 3d 视图,需要在 vChart 的初始化参数中配置 3d 视角: diff --git a/docs/assets/tutorials/en/chart/3d-scatter.md b/docs/assets/tutorials/en/chart/3d-scatter.md index be51499fbb..45391d4d44 100644 --- a/docs/assets/tutorials/en/chart/3d-scatter.md +++ b/docs/assets/tutorials/en/chart/3d-scatter.md @@ -18,9 +18,9 @@ 坐标轴、提示信息等作为辅助图表展示的组件,属于可选配置,自带默认效果和功能: -- `scatterChart.axes`: 坐标轴组件,默认显示并根据图表类型自动推断坐标系及数据映射逻辑,详情配置见[VChart 坐标轴组件配置](../../../option/scatterChart#axes) -- `scatterChart.tooltip`: 提示信息,默认交互时显示,详细配置见[VChart 提示信息组件配置](../../../option/scatterChart#tooltip) -- 更多组件配置见[VChart scatterChart 配置](../../../option/scatterChart) +- `scatterChart.axes`: 坐标轴组件,默认显示并根据图表类型自动推断坐标系及数据映射逻辑,详情配置见[VChart 坐标轴组件配置](../../option/scatterChart#axes) +- `scatterChart.tooltip`: 提示信息,默认交互时显示,详细配置见[VChart 提示信息组件配置](../../option/scatterChart#tooltip) +- 更多组件配置见[VChart scatterChart 配置](../../option/scatterChart) 作为 3d 图表,3d 散点图需要开启 3d 视图,需要在 vChart 的初始化参数中配置 3d 视角: diff --git a/docs/assets/tutorials/en/chart/area.md b/docs/assets/tutorials/en/chart/area.md index c50b599ac7..3f6fa0cecd 100644 --- a/docs/assets/tutorials/en/chart/area.md +++ b/docs/assets/tutorials/en/chart/area.md @@ -1,16 +1,16 @@ # Area Chart -[\[Configuration Manual\]](../../../option/areaChart) +[\[Configuration Manual\]](../../option/areaChart) ## Introduction Area charts visually display quantitative data. It is based on line charts. Areas between the axis and the line are often emphasized with colors, textures, and shading lines. Typically, an area chart compares two or more quantities. Area charts are suitable for illustrating the trend changes of one or more groups of data under continuous independent variables, as well as comparing them with each other, while also being able to observe the changing trend of the total data. -In VChart, you can use the [area chart configuration](../../../option/areaChart) to display the changing trends of both data components and total data simultaneously. As shown below, this example shows the trend of sales of different cosmetics: +In VChart, you can use the [area chart configuration](../../option/areaChart) to display the changing trends of both data components and total data simultaneously. As shown below, this example shows the trend of sales of different cosmetics:  -In the [area chart example](../../../demo/area-chart/stacked-area) shown above, you need to use the following key configurations: +In the [area chart example](../../demo/area-chart/stacked-area) shown above, you need to use the following key configurations: - `seriesField` attribute is used to declare the field participating in color mapping - `stack` attribute is declared as true for configuring stacking, which will be stacked according to the field declared in the `seriesField` attribute @@ -29,9 +29,9 @@ Point elements and line elements are essential for area charts, and relevant dra Axes, tooltips, and other auxiliary chart display components are optional configurations with default effects and functionalities: -- `areaChart.axes`: Axis components, automatically displayed and inferred according to chart type with coordinate system and data mapping logic, for detailed configuration see [VChart Axis Component Configuration](../../../option/areaChart#axes) -- `areaChart.tooltip`: Tooltip information, displayed interactively by default, for detailed configuration see [VChart Tooltip Configuration](../../../option/areaChart#tooltip) -- For more component configurations see [VChart areaChart configuration](../../../option/areaChart) +- `areaChart.axes`: Axis components, automatically displayed and inferred according to chart type with coordinate system and data mapping logic, for detailed configuration see [VChart Axis Component Configuration](../../option/areaChart#axes) +- `areaChart.tooltip`: Tooltip information, displayed interactively by default, for detailed configuration see [VChart Tooltip Configuration](../../option/areaChart#tooltip) +- For more component configurations see [VChart areaChart configuration](../../option/areaChart) ## Quick Start diff --git a/docs/assets/tutorials/en/chart/bar.md b/docs/assets/tutorials/en/chart/bar.md index 91661be180..612fcc2a52 100644 --- a/docs/assets/tutorials/en/chart/bar.md +++ b/docs/assets/tutorials/en/chart/bar.md @@ -1,14 +1,14 @@ # Bar Chart / Bar Graph -[\[Configuration Manual\]](../../../option/barChart) +[\[Configuration Manual\]](../../option/barChart) ## Introduction A bar chart is a statistical chart with a variable based on the length of a rectangle. Bar charts are used to compare two or more values (different times or different conditions), with only one variable, and are often used for smaller data set analysis. -In VChart, you can display data values for multiple groups through the [Bar Chart Configuration](../../../option/barChart). As shown in the following figure: +In VChart, you can display data values for multiple groups through the [Bar Chart Configuration](../../option/barChart). As shown in the following figure:  -In the [example](../../../demo/bar-chart/group-stack-column) shown above, you need the following key configurations: +In the [example](../../demo/bar-chart/group-stack-column) shown above, you need the following key configurations: - Set the mapping field for the x-axis and the **grouping field** on the `xField` property. - `seriesField` property declares the color mapping field. @@ -19,7 +19,7 @@ A bar graph is a bar chart with a transpose of the x and y axes. The configurati  -To achieve a [Population Pyramid Chart](../../../demo/bar-chart/population-pyramid) as shown above, you need to use a combination of chart + bar series + layout with the following configurations: +To achieve a [Population Pyramid Chart](../../demo/bar-chart/population-pyramid) as shown above, you need to use a combination of chart + bar series + layout with the following configurations: - Grid layout, configured through the `layout` property, used for bar chart layout. - Use the `type: common` type, i.e., the combination chart. @@ -39,9 +39,9 @@ Rectangle elements are the basic elements of bar charts/bar graphs, and the corr Coordinate axis, prompt information, and other components are optional configurations for assisting in chart presentation and come with default effects and functions: -- `barChart.axes`: coordinate axis component, default displayed, and automatically infer coordinate system and data mapping logic based on chart type, detailed configuration see [VChart Coordinate Axis Component Configuration](../../../option/barChart#axes) -- `barChart.tooltip`: prompts information, default interaction display, detailed configuration see [VChart Tooltip Component Configuration](../../../option/barChart#tooltip) -- More component configurations see [VChart barChart configuration](../../../option/barChart) +- `barChart.axes`: coordinate axis component, default displayed, and automatically infer coordinate system and data mapping logic based on chart type, detailed configuration see [VChart Coordinate Axis Component Configuration](../../option/barChart#axes) +- `barChart.tooltip`: prompts information, default interaction display, detailed configuration see [VChart Tooltip Component Configuration](../../option/barChart#tooltip) +- More component configurations see [VChart barChart configuration](../../option/barChart) ## Quick Start diff --git a/docs/assets/tutorials/en/chart/box-plot.md b/docs/assets/tutorials/en/chart/box-plot.md index e5a4d94c92..4c7d3f65fd 100644 --- a/docs/assets/tutorials/en/chart/box-plot.md +++ b/docs/assets/tutorials/en/chart/box-plot.md @@ -1,6 +1,6 @@ # Box Plot -[\[Configuration Manual\]](../../../option/boxPlotChart) +[\[Configuration Manual\]](../../option/boxPlotChart) ## Introduction @@ -8,7 +8,7 @@ A box plot (English: box plot), also known as a box-whisker plot, box chart, box ## Chart Composition -Box plots are made up of box plot elements (box plot elements are a special type of chart element, based on the [VGrammr Glyph chart element](../../../../vgrammar/guide/guides/mark/mark-glyph) packaging) and other components. +Box plots are made up of box plot elements (box plot elements are a special type of chart element, based on the [VGrammr Glyph chart element](../../../vgrammar/guide/guides/mark/mark-glyph) packaging) and other components.  @@ -26,9 +26,9 @@ The box plot element is the basic element of a box plot. To draw a complete box Components such as coordinate axes and tooltips, which help present the chart, are optional configurations with built-in default effects and functions: -- `boxPlotChart.axes`: Coordinate axis component, displayed by default and automatically infers coordinate system and data mapping logic based on chart type; note that histogram does not support discrete axes, as histogram is used to display frequency distribution within data ranges, so the main axis must be input in the form of value ranges; discrete axes do not support this feature. For detailed configuration, see [VChart Coordinate Axis Component Configuration](../../../option/boxPlotChart#axes) -- `boxPlotChart.tooltip`: Tooltip information, displayed by default when interacting; for detailed configuration, see [VChart Tooltip Information Component Configuration](../../../option/boxPlotChart#tooltip) -- For more component configurations, see [VChart boxPlotChart configuration](../../../option/boxPlotChart) +- `boxPlotChart.axes`: Coordinate axis component, displayed by default and automatically infers coordinate system and data mapping logic based on chart type; note that histogram does not support discrete axes, as histogram is used to display frequency distribution within data ranges, so the main axis must be input in the form of value ranges; discrete axes do not support this feature. For detailed configuration, see [VChart Coordinate Axis Component Configuration](../../option/boxPlotChart#axes) +- `boxPlotChart.tooltip`: Tooltip information, displayed by default when interacting; for detailed configuration, see [VChart Tooltip Information Component Configuration](../../option/boxPlotChart#tooltip) +- For more component configurations, see [VChart boxPlotChart configuration](../../option/boxPlotChart) ## Quick Start diff --git a/docs/assets/tutorials/en/chart/chart-types.md b/docs/assets/tutorials/en/chart/chart-types.md index 2c1a4f88f4..d986a668f9 100644 --- a/docs/assets/tutorials/en/chart/chart-types.md +++ b/docs/assets/tutorials/en/chart/chart-types.md @@ -1,5 +1,5 @@ **Chart Types** -VChart supports various different chart types, allowing users to visualize abstract data through simple configuration, including combination chart, line chart, area chart, bar/column chart, pie/doughnut chart, scatter plot, heat map, histogram, box plot, waterfall chart, progress bar, funnel chart, time series chart, interval column chart, interval area chart, word cloud, dashboard, treemap, Sankey diagram, rose chart, radar chart, map, Circle Packing, sunburst diagram, etc. For a complete description of chart types and how to use them, please refer to [VChart Options](../../../option). +VChart supports various different chart types, allowing users to visualize abstract data through simple configuration, including combination chart, line chart, area chart, bar/column chart, pie/doughnut chart, scatter plot, heat map, histogram, box plot, waterfall chart, progress bar, funnel chart, time series chart, interval column chart, interval area chart, word cloud, dashboard, treemap, Sankey diagram, rose chart, radar chart, map, Circle Packing, sunburst diagram, etc. For a complete description of chart types and how to use them, please refer to [VChart Options](../../option).  @@ -27,6 +27,6 @@ You can also combine multiple chart series flexibly and freely by using combinat } ``` -For more information about how to declare combination charts, please refer to [VChart commonChart Options](../../../option/commonChart). +For more information about how to declare combination charts, please refer to [VChart commonChart Options](../../option/commonChart). For instructions on how to use each chart type, please refer to the documentation on the left side of the menu bar. diff --git a/docs/assets/tutorials/en/chart/circle-packing.md b/docs/assets/tutorials/en/chart/circle-packing.md index e2d25e266f..e1a23e3bb1 100644 --- a/docs/assets/tutorials/en/chart/circle-packing.md +++ b/docs/assets/tutorials/en/chart/circle-packing.md @@ -1,6 +1,6 @@ # Circle Packing -[\[Configuration Manual\]](../../../option/circlePackingChart) +[\[Configuration Manual\]](../../option/circlePackingChart) ## Introduction @@ -41,8 +41,8 @@ Nested circle graphics are the basic elements of Circle Packing, and the related Tooltips and other auxiliary components for chart display are optional configuration, with default effects and functionality: -- `circlePackingChart.tooltip`: Tooltip, displayed by default when interacting, detailed configuration can be found in [VChart Tooltip Component Configuration](../../../option/circlePackingChart#tooltip) -- For more component configuration, see [VChart circlePackingChart Configuration](../../../option/circlePackingChart) +- `circlePackingChart.tooltip`: Tooltip, displayed by default when interacting, detailed configuration can be found in [VChart Tooltip Component Configuration](../../option/circlePackingChart#tooltip) +- For more component configuration, see [VChart circlePackingChart Configuration](../../option/circlePackingChart) ## Quick Start diff --git a/docs/assets/tutorials/en/chart/combination.md b/docs/assets/tutorials/en/chart/combination.md index 6645c5b954..9a89eb8d68 100644 --- a/docs/assets/tutorials/en/chart/combination.md +++ b/docs/assets/tutorials/en/chart/combination.md @@ -1,6 +1,6 @@ # Combination Chart -[\[Options Manual\]](../../../option/commonChart) +[\[Options Manual\]](../../option/commonChart) ## Introduction @@ -8,10 +8,10 @@ A combination chart is a type of data visualization chart that displays interdep The advantage of combination charts is that they can simultaneously present information from multiple data sets, providing a more comprehensive view of the overall trend and direction. By combining different data types, units, and measurements, combination charts can provide deeper and more comprehensive insights into complex data. Combination charts are widely used in various fields such as business, science, and medical to effectively analyze and compare various complex data. -In VChart, you can combine various series through the [combination chart configuration](../../../option/commonChart): +In VChart, you can combine various series through the [combination chart configuration](../../option/commonChart):  -In the [combination chart example](../../../demo/combination/bar-combine) shown above, you need to use the following key configurations: +In the [combination chart example](../../demo/combination/bar-combine) shown above, you need to use the following key configurations: - `type: 'common'` declares a combination chart type - `layout` attribute declares a custom combination chart layout diff --git a/docs/assets/tutorials/en/chart/funnel.md b/docs/assets/tutorials/en/chart/funnel.md index dbcac659d8..440c573ab7 100644 --- a/docs/assets/tutorials/en/chart/funnel.md +++ b/docs/assets/tutorials/en/chart/funnel.md @@ -1,6 +1,6 @@ # Funnel Chart -[\[Configuration Manual\]](../../../option/funnelChart) +[\[Configuration Manual\]](../../option/funnelChart) ## Introduction @@ -26,8 +26,8 @@ Transformation layers, labels, and other auxiliary elements are displayed only u Tooltip information and other components that assist in chart display are optional configurations with default effects and features: -- `funnelChart.tooltip`: Tooltip, displayed by default during interaction, detailed configuration can be found [VChart tooltip component configuration](../../../option/funnelChart#tooltip) -- For more component configurations, see [VChart funnelChart configuration](../../../option/funnelChart) +- `funnelChart.tooltip`: Tooltip, displayed by default during interaction, detailed configuration can be found [VChart tooltip component configuration](../../option/funnelChart#tooltip) +- For more component configurations, see [VChart funnelChart configuration](../../option/funnelChart) ## Quick Start diff --git a/docs/assets/tutorials/en/chart/gauge.md b/docs/assets/tutorials/en/chart/gauge.md index 38a9b57031..04023b6396 100644 --- a/docs/assets/tutorials/en/chart/gauge.md +++ b/docs/assets/tutorials/en/chart/gauge.md @@ -1,6 +1,6 @@ # Gauge Chart -[\[Configuration Manual\]](../../../option/gaugeChart) +[\[Configuration Manual\]](../../option/gaugeChart) ## Introduction diff --git a/docs/assets/tutorials/en/chart/heatmap.md b/docs/assets/tutorials/en/chart/heatmap.md index 3c756e0059..d18005b3f0 100644 --- a/docs/assets/tutorials/en/chart/heatmap.md +++ b/docs/assets/tutorials/en/chart/heatmap.md @@ -1,6 +1,6 @@ # Heatmap -[\[Configuration Manual\]](../../../option/heatmapChart) +[\[Configuration Manual\]](../../option/heatmapChart) ## Introduction @@ -8,11 +8,11 @@ Heatmap in Cartesian coordinate system requires the x-axis and y-axis to be disc One common example is to use a heatmap to represent the correlation between different statistical variables. By looking at the colors of different squares on the heatmap corresponding to the size of correlation coefficients, we can determine the size of the correlation between different variables. -In VChart, you can use the [Heatmap Configuration](../../../option/heatmapChart) to display the correlation between different variables. As shown in the following figure, this example shows the data of listed companies in 2016 by exploring the correlation between various indicators of listed companies through heatmap: +In VChart, you can use the [Heatmap Configuration](../../option/heatmapChart) to display the correlation between different variables. As shown in the following figure, this example shows the data of listed companies in 2016 by exploring the correlation between various indicators of listed companies through heatmap:  -In the [Heatmap Example](../../../demo/heatmap-chart/basic-heatmap) shown above, you need the following key configurations: +In the [Heatmap Example](../../demo/heatmap-chart/basic-heatmap) shown above, you need the following key configurations: - Set `xField` attribute as the x-axis classification field - Set `yField` attribute as the y-axis classification field @@ -47,9 +47,9 @@ Rectangle elements are the basic elements of the heatmap, and related drawing co Axis, legend, and other components are optional configurations that support default effects and functions: -- `heatmapChart.axes`: Axes components, default display and automatically inferred coordinate system and data mapping logic according to chart type, detailed configuration can be found in [VChart Axes Component Configuration](../../../option/heatmapChart#axes) -- `heatmapChart.legends`: Legend components, linear legends are commonly used in heatmaps to display mapping relationships, detailed configuration can be found in [VChart Legend Component Configuration](../../../option/heatmapChart#legends) -- More component configurations can be found in [VChart heatmapChart Configuration](../../../option/heatmapChart) +- `heatmapChart.axes`: Axes components, default display and automatically inferred coordinate system and data mapping logic according to chart type, detailed configuration can be found in [VChart Axes Component Configuration](../../option/heatmapChart#axes) +- `heatmapChart.legends`: Legend components, linear legends are commonly used in heatmaps to display mapping relationships, detailed configuration can be found in [VChart Legend Component Configuration](../../option/heatmapChart#legends) +- More component configurations can be found in [VChart heatmapChart Configuration](../../option/heatmapChart) ## Getting Started diff --git a/docs/assets/tutorials/en/chart/histogram.md b/docs/assets/tutorials/en/chart/histogram.md index 6f32606cc5..e93dfd9cf6 100644 --- a/docs/assets/tutorials/en/chart/histogram.md +++ b/docs/assets/tutorials/en/chart/histogram.md @@ -1,6 +1,6 @@ # Histogram -[\[Configuration Manual\]](../../../option/histogramChart) +[\[Configuration Manual\]](../../option/histogramChart) ## Introduction @@ -25,9 +25,9 @@ The rectangle element is the basic element of the histogram, and the relevant dr Coordinate axes, tooltips, and other components that assist chart display are optional configuration, with default effects and functionality: -- `histogramChart.axes`: Coordinate axis component, displayed by default, and automatically infers coordinate system and data mapping logic according to chart type. Note that histograms do not support discrete axes because they are used to statistically analyze the frequency distribution within each data range, and the main axis(values) must be entered as a value range, which isn't supported by the discrete axis. Detailed configuration can be found at [VChart coordinate axis component configuration](../../../option/histogramChart#axes) -- `histogramChart.tooltip`: Tooltip, displayed by default during interaction, detailed configuration can be found at [VChart tooltip component configuration](../../../option/histogramChart#tooltip) -- For more component configuration see [VChart histogramChart configuration](../../../option/histogramChart) +- `histogramChart.axes`: Coordinate axis component, displayed by default, and automatically infers coordinate system and data mapping logic according to chart type. Note that histograms do not support discrete axes because they are used to statistically analyze the frequency distribution within each data range, and the main axis(values) must be entered as a value range, which isn't supported by the discrete axis. Detailed configuration can be found at [VChart coordinate axis component configuration](../../option/histogramChart#axes) +- `histogramChart.tooltip`: Tooltip, displayed by default during interaction, detailed configuration can be found at [VChart tooltip component configuration](../../option/histogramChart#tooltip) +- For more component configuration see [VChart histogramChart configuration](../../option/histogramChart) ## Getting Started diff --git a/docs/assets/tutorials/en/chart/line.md b/docs/assets/tutorials/en/chart/line.md index 1b99886771..14472feca5 100644 --- a/docs/assets/tutorials/en/chart/line.md +++ b/docs/assets/tutorials/en/chart/line.md @@ -1,15 +1,15 @@ # Line Chart -[\[Configuration Manual\]](../../../option/lineChart) +[\[Configuration Manual\]](../../option/lineChart) ## Introduction A line chart is constructed by connecting a series of data points to reveal trends. Line charts are used to analyze the trends of things changing over time or sequential categories. If there is more than one group of data, a line chart can be used to analyze the interaction and impact of multiple data groups changing over time or categorical sequences. The direction of the line chart indicates positive/negative changes, and the slope of the line chart indicates the degree of change. -In VChart, you can display the data trends of different categories through [Line Chart Configuration](../../../option/lineChart). As shown in the example below, it displays the changing trend of cigarette consumption in developed countries: +In VChart, you can display the data trends of different categories through [Line Chart Configuration](../../option/lineChart). As shown in the example below, it displays the changing trend of cigarette consumption in developed countries:  -In the [Line Chart Example](../../../demo/line-chart/multi-line) shown above, you need to use the following key configurations: +In the [Line Chart Example](../../demo/line-chart/multi-line) shown above, you need to use the following key configurations: - `seriesField` property is used to declare the field involved in color mapping - `legends` property is used for configuring the legend @@ -28,9 +28,9 @@ Point elements and line elements are the basic elements of a line chart, and the Axis components, tooltip information, and other components that serve as auxiliary chart display components are optional configurations with default effects and functionality: -- `lineChart.axes`: Axis component, displayed by default and automatically infers the coordinate system and data mapping logic based on the chart type, detailed configuration can be found in [VChart Axis Component Configuration](../../../option/line/axes/lineChart#axes) -- `lineChart.tooltip`:tooltip information, displayed by default during interaction, detailed configuration can be found in [VChart Tooltip Information Component Configuration](../../../option/line/axes/lineChart#tooltip) -- For more component configurations, see [VChart lineChart Configuration](../../../option/lineChart) +- `lineChart.axes`: Axis component, displayed by default and automatically infers the coordinate system and data mapping logic based on the chart type, detailed configuration can be found in [VChart Axis Component Configuration](../../option/line/axes/lineChart#axes) +- `lineChart.tooltip`:tooltip information, displayed by default during interaction, detailed configuration can be found in [VChart Tooltip Information Component Configuration](../../option/line/axes/lineChart#tooltip) +- For more component configurations, see [VChart lineChart Configuration](../../option/lineChart) ## Quick Start @@ -407,7 +407,7 @@ window['vchart'] = vchart; ### Elements and Styles -The main elements used in line charts are two: point and line. They correspond to chart elements like markers and lines. Each mark can be individually configured for its style, see the detailed configuration: [lineChart.line](../../../option/lineChart#line) and [lineChart.point](../../../option/lineChart#point) +The main elements used in line charts are two: point and line. They correspond to chart elements like markers and lines. Each mark can be individually configured for its style, see the detailed configuration: [lineChart.line](../../option/lineChart#line) and [lineChart.point](../../option/lineChart#point) #### Dashed Lines at the End @@ -476,7 +476,7 @@ window['vchart'] = vchart; #### Marker Point Style -Marker points support custom shapes and sizes. We set the marker points to slightly larger triangles through configurations. For specific configurations, see [Configuration Documentation](../../../option/lineChart#point) +Marker points support custom shapes and sizes. We set the marker points to slightly larger triangles through configurations. For specific configurations, see [Configuration Documentation](../../option/lineChart#point) ```ts point: { diff --git a/docs/assets/tutorials/en/chart/map.md b/docs/assets/tutorials/en/chart/map.md index 267887327b..907908d4ff 100644 --- a/docs/assets/tutorials/en/chart/map.md +++ b/docs/assets/tutorials/en/chart/map.md @@ -1,6 +1,6 @@ # Map -[\[Configuration Item Manual\]](../../../option/mapChart) +[\[Configuration Item Manual\]](../../option/mapChart) ## Introduction @@ -23,7 +23,7 @@ Since mapping Geographical Regions requires the support of map data, the configu - `VChart.registerMap(mapName, mapData)`: VChart provides an api for map data registration, where`mapName`Indicates the name of the registered map data,`mapData`Refers to the specific map data, the default is`geojson`Type map data, also supported`topojson` Type map data. - `mapChart.map`: Specify to use the registered map data name -For more map related configurations, see[Map](../../../option/mapChart) +For more map related configurations, see[Map](../../option/mapChart) ## Get started quickly @@ -140,7 +140,7 @@ await vChart.renderAsync(); ### Specify nameMap As mentioned above, if the Region name in the metadata map data does not correspond to the base map data, you need to pass`mapChart.nameMap`Specify. -For example in[Base map](../../../demo/map-chart/basic-map)In the example of, the Region name in the metadata map data does not have an administrative unit, but it is in the base map data, so it needs to be configured`mapChart.nameMap`. +For example in[Base map](../../demo/map-chart/basic-map)In the example of, the Region name in the metadata map data does not have an administrative unit, but it is in the base map data, so it needs to be configured`mapChart.nameMap`. ### Custom Mapping @@ -231,7 +231,7 @@ await vChart.renderAsync(); ### Custom projection -Can be configured in Map Region`projection: type`To configure the map projection type, you can refer to the specific configuration items[Configuration Item Document](../../../option/mapChart#region.projection.type). +Can be configured in Map Region`projection: type`To configure the map projection type, you can refer to the specific configuration items[Configuration Item Document](../../option/mapChart#region.projection.type). ```javascript livedemo const spec = { diff --git a/docs/assets/tutorials/en/chart/pie.md b/docs/assets/tutorials/en/chart/pie.md index be6f9c1bc5..60d46995b2 100644 --- a/docs/assets/tutorials/en/chart/pie.md +++ b/docs/assets/tutorials/en/chart/pie.md @@ -1,6 +1,6 @@ # Pie / Ring Chart -[\[Configuration Manual\]](../../../option/pieChart) +[\[Configuration Manual\]](../../option/pieChart) ## Introduction @@ -8,9 +8,9 @@ Pie chart, also known as a pie chart, is a circular statistical chart divided in A donut chart is formed by adding the `innerRadius` and `outerRadius` attributes to the base of the pie chart to adjust the inner and outer radii of the specified sectors. -In VChart, you can display the relative relationships of multiple data through the [Pie/Donut Chart Configuration](../../../option/pieChart). The following chart shows the distribution of the U.S. population by age in 2021 using a combination of a pie chart and donut chart: +In VChart, you can display the relative relationships of multiple data through the [Pie/Donut Chart Configuration](../../option/pieChart). The following chart shows the distribution of the U.S. population by age in 2021 using a combination of a pie chart and donut chart:  -In the [Nested Pie Chart Example](../../../demo/pie-chart/nested-pie) shown above, you need the following key configurations: +In the [Nested Pie Chart Example](../../demo/pie-chart/nested-pie) shown above, you need the following key configurations: - The `categoryField` and `valueField` attributes are used to specify the pie chart category and sector angle fields, respectively - The `innerRadius` and `outerRadius` attributes are used to specify the inner and outer radii of the sector. @@ -31,9 +31,9 @@ Sector primitives are the basic elements of pie/donut charts, and related drawin Indicator cards, tooltips, and other components that assist the chart in displaying are optional configurations with default effects and functionality: -- `pieChart.indicator`: Indicator card component, located at the heart of the pie chart, used to display total data or the data of a specific sector during interaction. See the detailed configuration of [VChart Indicator Card Component Configuration](../../../option/pieChart#indicator) -- `pieChart.tooltip`: Tooltip information, displayed by default during interaction. See the detailed configuration of [VChart Tooltip Component Configuration](../../../option/pieChart#tooltip) -- For more component configurations, see [VChart pieChart Configuration](../../../option/pieChart) +- `pieChart.indicator`: Indicator card component, located at the heart of the pie chart, used to display total data or the data of a specific sector during interaction. See the detailed configuration of [VChart Indicator Card Component Configuration](../../option/pieChart#indicator) +- `pieChart.tooltip`: Tooltip information, displayed by default during interaction. See the detailed configuration of [VChart Tooltip Component Configuration](../../option/pieChart#tooltip) +- For more component configurations, see [VChart pieChart Configuration](../../option/pieChart) ## Quick Start diff --git a/docs/assets/tutorials/en/chart/progress.md b/docs/assets/tutorials/en/chart/progress.md index 3b1c148922..f5268da777 100644 --- a/docs/assets/tutorials/en/chart/progress.md +++ b/docs/assets/tutorials/en/chart/progress.md @@ -1,7 +1,7 @@ # Progress Chart -[\[Linear Progress Chart Option Manual\]](../../../option/linearProgressChart) -[\[Circular Progress Chart Option Manual\]](../../../option/circularProgressChart) +[\[Linear Progress Chart Option Manual\]](../../option/linearProgressChart) +[\[Circular Progress Chart Option Manual\]](../../option/circularProgressChart) ## Introduction @@ -23,8 +23,8 @@ The linear progress chart consists of the rectangular chart element representing Tooltip information and other components that act as auxiliary chart displays are optional configurations with default effects and functionality: -- `linearProgressChart.tooltip`: Tooltip information, displayed by default during interaction, see [VChart Tooltip Component Configuration](../../../option/linearProgressChart#tooltip) for detailed configuration -- For more component configurations, see [VChart linearProgressChart configuration](../../../option/linearProgressChart) +- `linearProgressChart.tooltip`: Tooltip information, displayed by default during interaction, see [VChart Tooltip Component Configuration](../../option/linearProgressChart#tooltip) for detailed configuration +- For more component configurations, see [VChart linearProgressChart configuration](../../option/linearProgressChart) ### Quick Start @@ -282,8 +282,8 @@ The circular progress chart consists of the arc chart element representing progr Optional components, which are auxiliary chart displays, have self-contained default effects and functionality: -- `circularProgressChart.tooltip`: Tooltip information, displayed by default during interaction, and more detailed configurations can be found in [VChart Tooltip Component Configuration](../../../option/circularProgress[type]tooltip) -- For more component configurations, see [VChart circularProgressChart configuration](../../../option/circularProgress[type]) +- `circularProgressChart.tooltip`: Tooltip information, displayed by default during interaction, and more detailed configurations can be found in [VChart Tooltip Component Configuration](../../option/circularProgress[type]tooltip) +- For more component configurations, see [VChart circularProgressChart configuration](../../option/circularProgress[type]) ### Quick Start diff --git a/docs/assets/tutorials/en/chart/radar.md b/docs/assets/tutorials/en/chart/radar.md index 87d270e3d7..ac8b58f0ef 100644 --- a/docs/assets/tutorials/en/chart/radar.md +++ b/docs/assets/tutorials/en/chart/radar.md @@ -1,6 +1,6 @@ # Radar Chart -[\[Configuration Manual\]](../../../option/radarChart) +[\[Configuration Manual\]](../../option/radarChart) ## Introduction @@ -21,9 +21,9 @@ Area chart elements and point chart elements are the basic components of a radar Coordinate axes, tooltips, and other components are optional for auxiliary chart display, with default effects and features: -- `radarChart.axes`: Axis component, displayed by default and automatically inferred based on chart type coordinate system and data mapping logic, detailed configuration see [VChart Axis Component Configuration](../../../option/radarChart#axes) -- `radarChart.tooltip`: Tooltip information, displayed interactively by default, detailed configuration see [VChart Tooltip Information Component Configuration](../../../option/radarChart#tooltip) -- More component configurations see [VChart radarChart configuration](../../../option/radarChart) +- `radarChart.axes`: Axis component, displayed by default and automatically inferred based on chart type coordinate system and data mapping logic, detailed configuration see [VChart Axis Component Configuration](../../option/radarChart#axes) +- `radarChart.tooltip`: Tooltip information, displayed interactively by default, detailed configuration see [VChart Tooltip Information Component Configuration](../../option/radarChart#tooltip) +- More component configurations see [VChart radarChart configuration](../../option/radarChart) ### Quick Start diff --git a/docs/assets/tutorials/en/chart/range-area.md b/docs/assets/tutorials/en/chart/range-area.md index 658b327963..51ecaab71f 100644 --- a/docs/assets/tutorials/en/chart/range-area.md +++ b/docs/assets/tutorials/en/chart/range-area.md @@ -1,6 +1,6 @@ # Range Area Chart -[\[Configuration Manual\]](../../../option/rangeAreaChart) +[\[Configuration Manual\]](../../option/rangeAreaChart) ## Introduction @@ -21,9 +21,9 @@ The rectangular chart element is the basic element of the range area chart, and Coordinate axes, tooltips, and other components serve as auxiliary chart display components and are optional configurations with default effects and functions: -- `rangeAreaChart.axes`: Coordinate axis component, displayed by default and automatically infers the coordinate system and data mapping logic based on the chart type, detailed configuration see [VChart Coordinate Axis Component Configuration](../../../option/rangeAreaChart#axes) -- `rangeAreaChart.tooltip`: Tooltip, displayed by default when interacting, detailed configuration see [VChart Tooltip Component Configuration](../../../option/rangeAreaChart#tooltip) -- For more component configurations, see [VChart rangeAreaChart Configuration](../../../option/rangeAreaChart) +- `rangeAreaChart.axes`: Coordinate axis component, displayed by default and automatically infers the coordinate system and data mapping logic based on the chart type, detailed configuration see [VChart Coordinate Axis Component Configuration](../../option/rangeAreaChart#axes) +- `rangeAreaChart.tooltip`: Tooltip, displayed by default when interacting, detailed configuration see [VChart Tooltip Component Configuration](../../option/rangeAreaChart#tooltip) +- For more component configurations, see [VChart rangeAreaChart Configuration](../../option/rangeAreaChart) ## Getting Started Quickly diff --git a/docs/assets/tutorials/en/chart/range-column.md b/docs/assets/tutorials/en/chart/range-column.md index 5b4b08db67..afecd8e603 100644 --- a/docs/assets/tutorials/en/chart/range-column.md +++ b/docs/assets/tutorials/en/chart/range-column.md @@ -1,6 +1,6 @@ # Range Column Chart -[\[Configuration Manual\]](../../../option/rangeColumnChart) +[\[Configuration Manual\]](../../option/rangeColumnChart) ## Introduction @@ -24,9 +24,9 @@ Rectangular chart elements are essential for range column charts, and related dr Axes, tooltips, and other components that assist in chart display are optional configurations with default effects and features: -- `rangeColumnChart.axes`: Axis component, the default display automatically infers the coordinate system and data mapping logic according to the chart type, detailed configuration can be found in [VChart Axis Component Configuration](../../../option/rangeColumnChart#axes) -- `rangeColumnChart.tooltip`: Tooltip, default interactive display, detailed configuration can be found in [VChart Tooltip Component Configuration](../../../option/rangeColumnChart#tooltip) -- More component configurations can be found in [VChart rangeColumnChart Configuration](../../../option/rangeColumnChart) +- `rangeColumnChart.axes`: Axis component, the default display automatically infers the coordinate system and data mapping logic according to the chart type, detailed configuration can be found in [VChart Axis Component Configuration](../../option/rangeColumnChart#axes) +- `rangeColumnChart.tooltip`: Tooltip, default interactive display, detailed configuration can be found in [VChart Tooltip Component Configuration](../../option/rangeColumnChart#tooltip) +- More component configurations can be found in [VChart rangeColumnChart Configuration](../../option/rangeColumnChart) ### Quick Start diff --git a/docs/assets/tutorials/en/chart/rose.md b/docs/assets/tutorials/en/chart/rose.md index 367b16e64b..5197801424 100644 --- a/docs/assets/tutorials/en/chart/rose.md +++ b/docs/assets/tutorials/en/chart/rose.md @@ -1,6 +1,6 @@ # Rose Chart -[\[Configuration Manual\]](../../../option/roseChart) +[\[Configuration Manual\]](../../option/roseChart) ## Introduction @@ -24,9 +24,9 @@ Sector elements are the basic elements of a rose chart, and related drawing conf Axes, tooltips, and other components that assist in chart display are optional configurations with default effects and functionality: -- `roseChart.axes`: Axes component, displayed by default and automatically infers the coordinate system and data mapping logic according to the chart type, for detailed configuration see [VChart Axes Component Configuration](../../../option/roseChart#axes) -- `roseChart.tooltip`: Tooltip, displayed by default when interactive, for detailed configurations see [VChart Tooltip Component Configuration](../../../option/roseChart#tooltip) -- For more component configurations, see [VChart roseChart configuration](../../../option/roseChart) +- `roseChart.axes`: Axes component, displayed by default and automatically infers the coordinate system and data mapping logic according to the chart type, for detailed configuration see [VChart Axes Component Configuration](../../option/roseChart#axes) +- `roseChart.tooltip`: Tooltip, displayed by default when interactive, for detailed configurations see [VChart Tooltip Component Configuration](../../option/roseChart#tooltip) +- For more component configurations, see [VChart roseChart configuration](../../option/roseChart) ## Rose Chart Features diff --git a/docs/assets/tutorials/en/chart/sankey.md b/docs/assets/tutorials/en/chart/sankey.md index 02cb97f493..d430760fb4 100644 --- a/docs/assets/tutorials/en/chart/sankey.md +++ b/docs/assets/tutorials/en/chart/sankey.md @@ -1,6 +1,6 @@ # Sankey Diagram -[\[Configuration manual\]](../../../option/sankeyChart) +[\[Configuration manual\]](../../option/sankeyChart) ## Introduction @@ -28,8 +28,8 @@ Node and link components are essential elements of the Sankey diagram, and the r Tooltip and other components that assist in chart display are optional configurations with default effects and functions: -- `sankeyChart.tooltip`: Tooltip information. Default interaction is displayed. For detailed configuration, see the [VChart Tooltip Component Configuration](../../../option/sankeyChart#tooltip). -- For more component configurations, see [VChart sankeyChart Configuration](../../../option/sankeyChart). +- `sankeyChart.tooltip`: Tooltip information. Default interaction is displayed. For detailed configuration, see the [VChart Tooltip Component Configuration](../../option/sankeyChart#tooltip). +- For more component configurations, see [VChart sankeyChart Configuration](../../option/sankeyChart). ## Quick Start diff --git a/docs/assets/tutorials/en/chart/scatter.md b/docs/assets/tutorials/en/chart/scatter.md index 60496cd054..709c16ec88 100644 --- a/docs/assets/tutorials/en/chart/scatter.md +++ b/docs/assets/tutorials/en/chart/scatter.md @@ -1,6 +1,6 @@ # Scatter Plot -[\[Option Manual\]](../../../option/scatterChart) +[\[Option Manual\]](../../option/scatterChart) ## Introduction @@ -21,9 +21,9 @@ A scatter plot consists of point elements, axes, tooltip information, and other Axes, tooltip information, and other components are optional configurations that assist the chart display and come with default effects and capabilities: -- `scatterChart.axes`: Axis component, displayed by default, and automatically infers coordinate system and data mapping logic based on chart type, detailed configuration see [VChart Axis Component Configuration](../../../option/scatterChart#axes) -- `scatterChart.tooltip`: Tooltip information, displayed during interaction by default, detailed configuration see [VChart Tooltip Component Configuration](../../../option/scatterChart#tooltip) -- For more component configurations, see [VChart scatterChart configuration](../../../option/scatterChart) +- `scatterChart.axes`: Axis component, displayed by default, and automatically infers coordinate system and data mapping logic based on chart type, detailed configuration see [VChart Axis Component Configuration](../../option/scatterChart#axes) +- `scatterChart.tooltip`: Tooltip information, displayed during interaction by default, detailed configuration see [VChart Tooltip Component Configuration](../../option/scatterChart#tooltip) +- For more component configurations, see [VChart scatterChart configuration](../../option/scatterChart) ### Quick Start diff --git a/docs/assets/tutorials/en/chart/sequence.md b/docs/assets/tutorials/en/chart/sequence.md index 909bb83167..4864e6896a 100644 --- a/docs/assets/tutorials/en/chart/sequence.md +++ b/docs/assets/tutorials/en/chart/sequence.md @@ -1,6 +1,6 @@ # Sequence Chart -[\[Configuration Guide\]](../../../option/sequenceChart) +[\[Configuration Guide\]](../../option/sequenceChart) ## Introduction diff --git a/docs/assets/tutorials/en/chart/sunburst.md b/docs/assets/tutorials/en/chart/sunburst.md index 2558e3a01a..c5e3fc7773 100644 --- a/docs/assets/tutorials/en/chart/sunburst.md +++ b/docs/assets/tutorials/en/chart/sunburst.md @@ -1,6 +1,6 @@ # Sunburst Chart -[\[Configuration Manual\]](../../../option/sunburstChart) +[\[Configuration Manual\]](../../option/sunburstChart) ## Introduction @@ -42,8 +42,8 @@ The hierarchical fan-like graphics are essential to the Sunburst Chart, and rela Tooltip information and other components that help with displaying the chart are optional configurations with default effects and features: -- `sunburstChart.tooltip`: Tooltip information, displayed by default during interaction. For detailed configuration, see [VChart Tooltip Component Configuration ](../../../option/sunburstChart#tooltip) -- For more component configuration, see [VChart sunburstChart configuration](../../../option/sunburstChart) +- `sunburstChart.tooltip`: Tooltip information, displayed by default during interaction. For detailed configuration, see [VChart Tooltip Component Configuration ](../../option/sunburstChart#tooltip) +- For more component configuration, see [VChart sunburstChart configuration](../../option/sunburstChart) ## Quick Start diff --git a/docs/assets/tutorials/en/chart/treemap.md b/docs/assets/tutorials/en/chart/treemap.md index 97e65a1e83..7ff0202469 100644 --- a/docs/assets/tutorials/en/chart/treemap.md +++ b/docs/assets/tutorials/en/chart/treemap.md @@ -1,6 +1,6 @@ # Treemap -[\[Configuration Manual\]](../../../option/treemapChart) +[\[Configuration Manual\]](../../option/treemapChart) ## Introduction @@ -22,8 +22,8 @@ Rectangle elements are the basic elements of the treemap, and relevant drawing c Tooltip information and other components that assist in chart presentation are optional configurations with default effects and functions: -- `treemapChart.tooltip`: Tooltip, displayed by default during interactions, detailed configuration see [VChart Tooltip Component Configuration](../../../option/treemapChart#tooltip) -- More component configurations can be found at [VChart treemapChart Configuration](../../../option/treemapChart) +- `treemapChart.tooltip`: Tooltip, displayed by default during interactions, detailed configuration see [VChart Tooltip Component Configuration](../../option/treemapChart#tooltip) +- More component configurations can be found at [VChart treemapChart Configuration](../../option/treemapChart) ## Getting Started diff --git a/docs/assets/tutorials/en/chart/waterfall.md b/docs/assets/tutorials/en/chart/waterfall.md index 8707a9e6e9..5779fa748a 100644 --- a/docs/assets/tutorials/en/chart/waterfall.md +++ b/docs/assets/tutorials/en/chart/waterfall.md @@ -1,6 +1,6 @@ # Waterfall Chart -[Configuration Manual](../../../option/waterfallChart) +[Configuration Manual](../../option/waterfallChart) ## Introduction @@ -18,13 +18,13 @@ Rectangular chart elements are the basic elements of waterfall charts, and relat - `waterfallChart.data`: Data source for chart rendering - `waterfallChart.xField`: Categorical field, mapping rectangle chart element's x-coordinate or width - `waterfallChart.yField`: Numeric field, mapping rectangle chart element's height or y-coordinate -- `waterfallChart.total`: Used to configure this **rectangular chart element corresponding to the total calculated data** of the chart, see [waterfallChart.total](../../../option/waterfallChart#total) for detailed configuration +- `waterfallChart.total`: Used to configure this **rectangular chart element corresponding to the total calculated data** of the chart, see [waterfallChart.total](../../option/waterfallChart#total) for detailed configuration Coordinate axes, tooltip information, and other components that serve as auxiliary chart displays are optional configurations with default effects and features: -- `waterfallChart.axes`: Coordinate axis component, by default it is displayed and automatically inferred coordinate system and data mapping logic based on the chart type, see [VChart coordinate axis component configuration](../../../option/waterfallChart#axes) for detailed configuration -- `waterfallChart.tooltip`: Tooltip information, displayed by default during interaction, see [VChart tooltip information component configuration](../../../option/waterfallChart#tooltip) for detailed configuration -- For more component configurations, see [VChart waterfallChart configuration](../../../option/waterfallChart) +- `waterfallChart.axes`: Coordinate axis component, by default it is displayed and automatically inferred coordinate system and data mapping logic based on the chart type, see [VChart coordinate axis component configuration](../../option/waterfallChart#axes) for detailed configuration +- `waterfallChart.tooltip`: Tooltip information, displayed by default during interaction, see [VChart tooltip information component configuration](../../option/waterfallChart#tooltip) for detailed configuration +- For more component configurations, see [VChart waterfallChart configuration](../../option/waterfallChart) ## Quick Start diff --git a/docs/assets/tutorials/en/chart/word-cloud.md b/docs/assets/tutorials/en/chart/word-cloud.md index e99aa3e57d..89a4f6126f 100644 --- a/docs/assets/tutorials/en/chart/word-cloud.md +++ b/docs/assets/tutorials/en/chart/word-cloud.md @@ -1,6 +1,6 @@ # Word Cloud -[\[Options Manual\]](../../../option/wordCloudChart) +[\[Options Manual\]](../../option/wordCloudChart) ## Introduction diff --git a/docs/assets/tutorials/en/concepts/axes.md b/docs/assets/tutorials/en/concepts/axes.md index 032382361d..8cd9ce2d62 100644 --- a/docs/assets/tutorials/en/concepts/axes.md +++ b/docs/assets/tutorials/en/concepts/axes.md @@ -1,6 +1,6 @@ # Axes -The axes in the chart are the basic elements used to represent the relationships between data. They help us better understand the data and guide us in reading and analyzing the chart. This tutorial mainly explains the related concepts and components of the axes. For more detailed configuration and examples of axes, please see the [Configuration Document](../../../option) and [Example](../../../example) pages. +The axes in the chart are the basic elements used to represent the relationships between data. They help us better understand the data and guide us in reading and analyzing the chart. This tutorial mainly explains the related concepts and components of the axes. For more detailed configuration and examples of axes, please see the [Configuration Document](../../option) and [Example](../../example) pages. ## Components of Axes @@ -40,9 +40,9 @@ There are currently three types of axes supported in VChart: 1. Linear axis (type: 'linear'), suitable for numerical data; 2. Discrete axis (type: 'band'), suitable for discrete data; -3. Time axis (type: 'time'), suitable for representing time series data, for specific usage please refer to [SequenceChart Time Series Chart demo](../../../demo/sequence-chart/social-media-event); +3. Time axis (type: 'time'), suitable for representing time series data, for specific usage please refer to [SequenceChart Time Series Chart demo](../../demo/sequence-chart/social-media-event); It should be noted that histograms do not support discrete axes, as histograms are used to count the frequency distribution of data intervals, and the main axis must be passed in as value intervals, which the discrete axis does not support. -4. Log axis (type: 'log'), the characteristic of the log axis is that the interval between the scales is calculated according to the logarithmic function (usually base 10). This means that each logarithmic unit (unit of size) of the data has the same physical length, e.g. from 1 to 10, 10 to 100, 100 to 1000, etc. For exponential growth or decline of data, the log axis can better show the relative change of data. , the specific use can be viewed [log axis demo](../../../demo/axis/log-axis) +4. Log axis (type: 'log'), the characteristic of the log axis is that the interval between the scales is calculated according to the logarithmic function (usually base 10). This means that each logarithmic unit (unit of size) of the data has the same physical length, e.g. from 1 to 10, 10 to 100, 100 to 1000, etc. For exponential growth or decline of data, the log axis can better show the relative change of data. , the specific use can be viewed [log axis demo](../../demo/axis/log-axis) ### Cartesian coordinate system axis configuration diff --git a/docs/assets/tutorials/en/concepts/brush.md b/docs/assets/tutorials/en/concepts/brush.md index a0d22c0146..9103c917d8 100644 --- a/docs/assets/tutorials/en/concepts/brush.md +++ b/docs/assets/tutorials/en/concepts/brush.md @@ -1,10 +1,10 @@ # Brush Selection -Brush is an interactive component provided by VChart, which can help users select data in the chart, making it convenient for users to further analyze or manipulate data. This tutorial mainly introduces the related concepts and components of Brush. For more detailed configuration and examples of Brush, please refer to the [configuration documentation](../../../option) and [example](../../../example) pages. +Brush is an interactive component provided by VChart, which can help users select data in the chart, making it convenient for users to further analyze or manipulate data. This tutorial mainly introduces the related concepts and components of Brush. For more detailed configuration and examples of Brush, please refer to the [configuration documentation](../../option) and [example](../../example) pages. ## Components -The Brush component mainly consists of a selection area, providing rich selection types, styles, and interactions, and also provides corresponding event support (`brushChange`, see [Event API](../../../api/API/event) for details). +The Brush component mainly consists of a selection area, providing rich selection types, styles, and interactions, and also provides corresponding event support (`brushChange`, see [Event API](../../api/event) for details).