Skip to content

Commit

Permalink
fix!: rename option dependencies to dependency in crosshair and t…
Browse files Browse the repository at this point in the history
…ooltip
  • Loading branch information
xile611 authored and TingLittleKang committed Dec 7, 2023
1 parent ea3d309 commit eadb9e5
Show file tree
Hide file tree
Showing 54 changed files with 62 additions and 62 deletions.
2 changes: 1 addition & 1 deletion docs/site/assets/examples/en/animate/custom-animate.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const spec = {
end: { x: params.viewBox.x2 }
};
},
dependencies: ['viewBox']
dependency: ['viewBox']
}
],

Expand Down
2 changes: 1 addition & 1 deletion docs/site/assets/examples/en/basic-mark-area/basic-area.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const spec = {
scale: 'xscale',
crosshairShape: 'line',
crosshairType: 'x',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
start: { y: params.viewBox.y1 },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ const spec = {
scale: 'xscale',
crosshairShape: 'line',
crosshairType: 'x',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
start: { y: params.viewBox.y1 },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ const spec = {
scale: 'xscale',
crosshairShape: 'line',
crosshairType: 'x',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
start: { y: params.viewBox.y1 },
Expand Down
2 changes: 1 addition & 1 deletion docs/site/assets/examples/en/basic-mark-area/stack-area.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ const spec = {
scale: 'xscale',
crosshairShape: 'line',
crosshairType: 'x',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
start: { y: params.viewBox.y1 },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const spec = {
scale: 'yscale',
crosshairShape: 'line',
crosshairType: 'y',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
start: { x: params.viewBox.x1 },
Expand Down
2 changes: 1 addition & 1 deletion docs/site/assets/examples/en/basic-mark-line/basic-line.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const spec = {
scale: 'xscale',
crosshairShape: 'line',
crosshairType: 'x',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
start: { y: params.viewBox.y1 },
Expand Down
2 changes: 1 addition & 1 deletion docs/site/assets/examples/en/basic-mark-line/log-line.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const spec = {
scale: 'xscale',
crosshairShape: 'line',
crosshairType: 'x',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
start: { y: params.viewBox.y1 },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const spec = {
scale: 'xscale',
crosshairShape: 'line',
crosshairType: 'x',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
start: { y: params.viewBox.y1 },
Expand Down
2 changes: 1 addition & 1 deletion docs/site/assets/examples/en/basic-mark-line/spiral.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const spec = {
scale: 'xscale',
crosshairShape: 'line',
crosshairType: 'angle',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
radius: Math.min(params.viewBox.height(), params.viewBox.width()) / 2,
Expand Down
4 changes: 2 additions & 2 deletions docs/site/assets/examples/en/basic-mark-rect/percent-rect.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ const spec = {
scale: 'xscale',
crosshairShape: 'rect',
crosshairType: 'x',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
start: { y: params.viewBox.y1 },
Expand All @@ -277,7 +277,7 @@ const spec = {
type: 'tooltip',
selector: '#stack',
title: { value: { field: 'month' } },
dependencies: ['color'],
dependency: ['color'],
content: [
{
key: '数量',
Expand Down
2 changes: 1 addition & 1 deletion docs/site/assets/examples/en/basic-mark-rect/stack-rect.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ const spec = {
type: 'tooltip',
selector: '#stackRect',
title: { value: { field: 'month' } },
dependencies: ['color'],
dependency: ['color'],
content: [
{
key: '数量',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const spec = {
scale: 'yScale',
crosshairShape: 'rect',
crosshairType: 'y',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (datum, elment, params) => {
return {
start: { x: params.viewBox.x1 },
Expand Down
2 changes: 1 addition & 1 deletion docs/site/assets/examples/en/basic-mark-rule/basic-rule.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const spec = {
scale: 'xscale',
crosshairShape: 'line',
crosshairType: 'x',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
start: { y: params.viewBox.y1 },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1128,7 +1128,7 @@ const spec = {
scale: 'xscale',
crosshairShape: 'line',
crosshairType: 'x',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
start: { y: params.viewBox.y1 },
Expand All @@ -1142,7 +1142,7 @@ const spec = {
scale: 'yscale',
crosshairShape: 'line',
crosshairType: 'y',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
start: { x: params.viewBox.x1 },
Expand Down
4 changes: 2 additions & 2 deletions docs/site/assets/examples/en/basic-mark-symbol/bubble.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ const spec = {
scale: 'xscale',
crosshairShape: 'line',
crosshairType: 'x',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
start: { y: params.viewBox.y1 },
Expand All @@ -227,7 +227,7 @@ const spec = {
scale: 'yscale',
crosshairShape: 'line',
crosshairType: 'y',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
start: { x: params.viewBox.x1 },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26065,7 +26065,7 @@ const spec = {
scale: 'xscale',
crosshairShape: 'rect',
crosshairType: 'x',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
start: { y: params.viewBox.y1 },
Expand Down
2 changes: 1 addition & 1 deletion docs/site/assets/examples/en/component/dataZoom.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const spec = {
scale: 'xscale',
crosshairShape: 'line',
crosshairType: 'x',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
start: { y: params.viewBox.y1 },
Expand Down
2 changes: 1 addition & 1 deletion docs/site/assets/examples/en/glyph-mark/bar-boxplot.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const spec = {
end: { y: params.viewBox.y2 }
};
},
dependencies: ['viewBox']
dependency: ['viewBox']
}
],

Expand Down
2 changes: 1 addition & 1 deletion docs/site/assets/examples/en/glyph-mark/boxplot.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const spec = {
end: { y: params.viewBox.y2 }
};
},
dependencies: ['viewBox']
dependency: ['viewBox']
}
],

Expand Down
2 changes: 1 addition & 1 deletion docs/site/assets/examples/en/glyph-mark/candle.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ const spec = {
end: { y: params.viewBox.y2 }
};
},
dependencies: ['viewBox']
dependency: ['viewBox']
}
],

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const spec = {
end: { x: params.viewBox.x2 }
};
},
dependencies: ['viewBox']
dependency: ['viewBox']
}
],

Expand Down
2 changes: 1 addition & 1 deletion docs/site/assets/examples/en/glyph-mark/polar-boxplot.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ const spec = {
}
};
},
dependencies: 'polar'
dependency: 'polar'
}
],

Expand Down
2 changes: 1 addition & 1 deletion docs/site/assets/examples/en/glyph-mark/ripple.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const spec = {
end: { y: params.viewBox.y2 }
};
},
dependencies: ['viewBox']
dependency: ['viewBox']
}
],

Expand Down
2 changes: 1 addition & 1 deletion docs/site/assets/examples/en/glyph-mark/violin.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ const spec = {
end: { y: params.viewBox.y2 }
};
},
dependencies: ['viewBox']
dependency: ['viewBox']
}
],

Expand Down
2 changes: 1 addition & 1 deletion docs/site/assets/examples/zh/animate/custom-animate.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const spec = {
end: { x: params.viewBox.x2 }
};
},
dependencies: ['viewBox']
dependency: ['viewBox']
}
],

Expand Down
2 changes: 1 addition & 1 deletion docs/site/assets/examples/zh/basic-mark-area/basic-area.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const spec = {
scale: 'xscale',
crosshairShape: 'line',
crosshairType: 'x',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
start: { y: params.viewBox.y1 },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ const spec = {
scale: 'xscale',
crosshairShape: 'line',
crosshairType: 'x',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
start: { y: params.viewBox.y1 },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ const spec = {
scale: 'xscale',
crosshairShape: 'line',
crosshairType: 'x',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
start: { y: params.viewBox.y1 },
Expand Down
2 changes: 1 addition & 1 deletion docs/site/assets/examples/zh/basic-mark-area/stack-area.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ const spec = {
scale: 'xscale',
crosshairShape: 'line',
crosshairType: 'x',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
start: { y: params.viewBox.y1 },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const spec = {
scale: 'yscale',
crosshairShape: 'line',
crosshairType: 'y',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
start: { x: params.viewBox.x1 },
Expand Down
2 changes: 1 addition & 1 deletion docs/site/assets/examples/zh/basic-mark-line/basic-line.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const spec = {
scale: 'xscale',
crosshairShape: 'line',
crosshairType: 'x',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
start: { y: params.viewBox.y1 },
Expand Down
2 changes: 1 addition & 1 deletion docs/site/assets/examples/zh/basic-mark-line/log-line.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const spec = {
scale: 'xscale',
crosshairShape: 'line',
crosshairType: 'x',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
start: { y: params.viewBox.y1 },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const spec = {
scale: 'xscale',
crosshairShape: 'line',
crosshairType: 'x',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
start: { y: params.viewBox.y1 },
Expand Down
2 changes: 1 addition & 1 deletion docs/site/assets/examples/zh/basic-mark-line/spiral.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const spec = {
scale: 'xscale',
crosshairShape: 'line',
crosshairType: 'angle',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
radius: Math.min(params.viewBox.height(), params.viewBox.width()) / 2,
Expand Down
4 changes: 2 additions & 2 deletions docs/site/assets/examples/zh/basic-mark-rect/percent-rect.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ const spec = {
scale: 'xscale',
crosshairShape: 'rect',
crosshairType: 'x',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
start: { y: params.viewBox.y1 },
Expand All @@ -277,7 +277,7 @@ const spec = {
type: 'tooltip',
selector: '#stack',
title: { value: { field: 'month' } },
dependencies: ['color'],
dependency: ['color'],
content: [
{
key: '数量',
Expand Down
2 changes: 1 addition & 1 deletion docs/site/assets/examples/zh/basic-mark-rect/stack-rect.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ const spec = {
type: 'tooltip',
selector: '#stackRect',
title: { value: { field: 'month' } },
dependencies: ['color'],
dependency: ['color'],
content: [
{
key: '数量',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const spec = {
scale: 'yScale',
crosshairShape: 'rect',
crosshairType: 'y',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (datum, elment, params) => {
return {
start: { x: params.viewBox.x1 },
Expand Down
2 changes: 1 addition & 1 deletion docs/site/assets/examples/zh/basic-mark-rule/basic-rule.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const spec = {
scale: 'xscale',
crosshairShape: 'line',
crosshairType: 'x',
dependencies: ['viewBox'],
dependency: ['viewBox'],
attributes: (scale, elment, params) => {
return {
start: { y: params.viewBox.y1 },
Expand Down
Loading

0 comments on commit eadb9e5

Please sign in to comment.