Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

28 changes: 14 additions & 14 deletions common/config/rush/pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion common/config/rush/version-policies.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"definitionName":"lockStepVersion","policyName":"vchartMain","version":"2.0.1","mainProject":"@visactor/vchart","nextBump":"patch"}]
[{"definitionName":"lockStepVersion","policyName":"vchartMain","version":"2.0.2","mainProject":"@visactor/vchart","nextBump":"patch"}]
8 changes: 4 additions & 4 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
},
"dependencies": {
"@arco-design/web-react": "2.46.1",
"@visactor/openinula-vchart": "workspace:2.0.1",
"@visactor/react-vchart": "workspace:2.0.1",
"@visactor/vchart": "workspace:2.0.1",
"@visactor/vchart-extension": "workspace:2.0.1",
"@visactor/openinula-vchart": "workspace:2.0.3",
"@visactor/react-vchart": "workspace:2.0.3",
"@visactor/vchart": "workspace:2.0.3",
"@visactor/vchart-extension": "workspace:2.0.3",
"@visactor/vchart-theme": "~1.6.6",
"@visactor/vmind": "1.2.4-alpha.5",
"@visactor/vutils": "~1.0.6",
Expand Down
4 changes: 2 additions & 2 deletions packages/block-vchart/block/vchart/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/harmony_vchart/library/oh-package.json5
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
name: '@visactor/harmony-vchart',
version: '2.0.1',
version: '2.0.3',
description: '@visactor/vchart 针对 harmonyOS 打造的图表库,拥有非常酷炫的动画能力,近20种图表类型,以及原生的渲染性能',
main: 'Index.ets',
author: {
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/lark-vchart/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/lark-vchart",
"version": "2.0.1",
"version": "2.0.3",
"description": "VChart 飞书小程序组件",
"main": "index.js",
"files": [
Expand Down
4 changes: 2 additions & 2 deletions packages/lark-vchart/src/vchart/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/openinula-vchart/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/openinula-vchart",
"version": "2.0.1",
"version": "2.0.3",
"sideEffects": false,
"description": "The openinula version of VChart 4.x",
"keywords": [
Expand Down Expand Up @@ -28,7 +28,7 @@
"build": "bundle --clean"
},
"dependencies": {
"@visactor/vchart": "workspace:2.0.1",
"@visactor/vchart": "workspace:2.0.3",
"@visactor/vutils": "~1.0.6",
"@visactor/vrender-core": "1.0.9",
"@visactor/vrender-kits": "1.0.9",
Expand Down
6 changes: 3 additions & 3 deletions packages/react-vchart/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/react-vchart",
"version": "2.0.1",
"version": "2.0.3",
"sideEffects": false,
"description": "The react version of VChart 4.x",
"keywords": [
Expand Down Expand Up @@ -28,8 +28,8 @@
"build": "bundle --clean"
},
"dependencies": {
"@visactor/vchart": "workspace:2.0.1",
"@visactor/vchart-extension": "workspace:2.0.1",
"@visactor/vchart": "workspace:2.0.3",
"@visactor/vchart-extension": "workspace:2.0.3",
"@visactor/vutils": "~1.0.6",
"@visactor/vrender-core": "1.0.9",
"@visactor/vrender-kits": "1.0.9",
Expand Down
6 changes: 3 additions & 3 deletions packages/taro-vchart/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/taro-vchart",
"version": "2.0.1",
"version": "2.0.3",
"description": "Taro VChart 图表组件",
"sideEffects": false,
"main": "esm/index.js",
Expand Down Expand Up @@ -43,8 +43,8 @@
},
"license": "MIT",
"dependencies": {
"@visactor/vchart": "workspace:2.0.1",
"@visactor/vchart-extension": "workspace:2.0.1"
"@visactor/vchart": "workspace:2.0.3",
"@visactor/vchart-extension": "workspace:2.0.3"
},
"devDependencies": {
"@internal/bundler": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/tt-vchart/src/vchart/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/vchart-extension/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vchart-extension",
"version": "2.0.1",
"version": "2.0.3",
"description": "vchart extension package, including extension plugins and components",
"sideEffects": false,
"main": "cjs/index.js",
Expand Down Expand Up @@ -28,7 +28,7 @@
"@visactor/vutils": "~1.0.6",
"@visactor/vdataset": "~1.0.6",
"@visactor/vlayouts": "~1.0.6",
"@visactor/vchart": "workspace:2.0.1"
"@visactor/vchart": "workspace:2.0.3"
},
"devDependencies": {
"@internal/bundler": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/vchart-schema/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vchart-schema",
"version": "2.0.1",
"version": "2.0.3",
"description": "The VChart JSON schema file.",
"sideEffects": false,
"main": "vchart.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/vchart-types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vchart-types",
"version": "2.0.1",
"version": "2.0.3",
"description": "Provide the type declarations of VChart.",
"sideEffects": false,
"main": "types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/vchart-types/types/chart/interface/common.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { IBoundsLike } from '@visactor/vutils';
import type { ISeriesSpecInfo } from '../../series/interface';
import type { IRegionSpecInfo } from '../../region/interface';
import type { IPerformanceHook } from '../../typings';
export interface IChartOption extends Omit<IModelOption, 'getChartViewRect' | 'getChartLayoutRect' | 'globalScale' | 'getChart' | 'getSeriesData'> {
export interface IChartOption extends Omit<IModelOption, 'getChartViewRect' | 'getChartLayoutRect' | 'globalScale' | 'getChart' | 'getSeriesData' | 'animation'> {
container: HTMLElement | null;
canvas?: HTMLCanvasElement | OffscreenCanvas | string;
modeParams?: IRenderOption['modeParams'];
Expand Down
1 change: 1 addition & 0 deletions packages/vchart-types/types/core/interface.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ export interface IVChart {
x: number;
y: number;
}) => void;
isAnimationEnable: () => boolean;
stopAnimation: () => void;
pauseAnimation: () => void;
resumeAnimation: () => void;
Expand Down
1 change: 1 addition & 0 deletions packages/vchart-types/types/core/vchart.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ export declare class VChart implements IVChart {
private _chartPluginApply;
protected _getMode(): (typeof RenderModeEnum)["desktop-browser"] | "desktop-browser" | "mobile-browser" | "node" | "worker" | "miniApp" | "wx" | "tt" | "harmony" | "desktop-miniApp" | "lynx";
protected getTheme: (...keys: string[]) => any;
isAnimationEnable(): boolean;
protected _getChartOption(type: string): IChartOption;
}
export declare const registerVChartCore: () => void;
2 changes: 1 addition & 1 deletion packages/vchart-types/types/mark/base/base-line.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export declare abstract class BaseLineMark<T extends ILineLikeMarkSpec = ILineLi
setStyle<T>(style: Partial<ConvertToMarkStyleSpec<T>> | Partial<IMarkStyle<T>>, state?: StateValueType, level?: number): void;
_isValidPointChannel: (channel: string) => boolean;
_getLineSegments(items: any[], points: IPointLike[]): any[];
_getPrevPoints(g: ILine): IPointLike[];
_getPrevPoints(g: ILine): IPointLike[] | null;
_runPointsEncoder(newStyles: Record<string, (datum: Datum) => any>, g: IMarkGraphic, attrs?: any): any;
_runEncoderOfGraphic(newStyles: Record<string, (datum: Datum) => any>, g: IMarkGraphic, attrs?: any): any;
protected _getDataByKey(data: Datum[]): import("../interface").GroupedData<Datum>;
Expand Down
2 changes: 1 addition & 1 deletion packages/vchart-types/types/model/interface.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export interface IModelOption extends ICompilableInitOption {
getChart: () => IChart;
getSeriesData: (id: StringOrNumber | undefined, index: number | undefined) => DataView | undefined;
globalScale: IGlobalScale;
animation: boolean;
animation?: boolean;
onError: (...args: any[]) => void;
disableTriggerEvent?: boolean;
getDimensionInfo?: (chart: IChart | undefined, pos: ILayoutPoint, isTooltip?: boolean) => IDimensionInfo[] | null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export declare class DomTooltipHandler extends BaseTooltipHandler {
protected _updateTooltip(visible: boolean, params: TooltipHandlerParams): void;
protected _initStyle(): void;
protected _updateDomStringByCol(actualTooltip?: ITooltipActual): void;
protected _updateDomStyle(sizeKey?: 'width' | 'height'): void;
protected _updateDomStyle(sizeKey: 'width' | 'height', refreshSize: boolean): void;
protected _getParentElement(spec: ITooltipSpec): HTMLElement;
isTooltipShown(): boolean;
reInit(): void;
Expand Down
1 change: 1 addition & 0 deletions packages/vchart-types/types/util/object.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { get, pick, cloneDeep } from '@visactor/vutils';
export { get, pick, cloneDeep };
export declare function field(f: string | string[]): (datum: any) => any;
export declare function removeUndefined(obj: any, deep?: boolean): void;
29 changes: 28 additions & 1 deletion packages/vchart/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,33 @@
{
"name": "@visactor/vchart",
"entries": [
{
"version": "2.0.3",
"tag": "@visactor/vchart_v2.0.3",
"date": "Fri, 08 Aug 2025 09:24:12 GMT",
"comments": {
"none": [
{
"comment": "fix: fix bug of vchart onError will be overwritten by undefined\n\n"
},
{
"comment": "fix: animtion should be run after `spec.animation` is updated, fix #4104\n\n"
},
{
"comment": "fix: fix issue with normal after no-animate enter state"
},
{
"comment": "fix: fix height of tooltip element when set transform of container, fix #4109\n\n"
}
]
}
},
{
"version": "2.0.2",
"tag": "@visactor/vchart_v2.0.2",
"date": "Mon, 28 Jul 2025 08:19:21 GMT",
"comments": {}
},
{
"version": "2.0.1",
"tag": "@visactor/vchart_v2.0.1",
Expand Down Expand Up @@ -3972,4 +3999,4 @@
}
}
]
}
}
Loading
Loading