Skip to content

Commit

Permalink
chore: update to the latest g
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoiver committed Mar 21, 2024
1 parent a9f6187 commit 95cd1a5
Show file tree
Hide file tree
Showing 162 changed files with 5,657 additions and 5,889 deletions.
9 changes: 3 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"cSpell.words": [
"bbox",
"Sparkline",
"timebar"
]
}
"cSpell.words": ["bbox", "Sparkline", "timebar"],
"svg.preview.background": "white"
}
3 changes: 0 additions & 3 deletions __tests__/integration/components/bugs/axis-title-position.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ export const BugAxisTitlePosition = () => {
labelAlign: 'horizontal',
labelSpacing: 4,
labelDirection: 'positive',
lineArrow: undefined,
gridLength: 565,
gridDirection: 'negative',
tickDirection: 'positive',
lineOpacity: 1,
},
Expand Down
2 changes: 1 addition & 1 deletion __tests__/integration/components/bugs/category-marker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const BugCategoryMarker = () => {
group.appendChild(
new Category({
style: {
itemMarker: (d: any, i: number) => () => new Path({ style: { path: circle(0, 0, 6) } }),
itemMarker: (d: any, i: number) => () => new Path({ style: { d: circle(0, 0, 6) } }),
itemMarkerStroke: (_: any, index: number) => data[index].color,
data,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const CategoryItem10 = () => {
marker: () =>
new Path({
style: {
path: shape(0, 0, 6),
d: shape(0, 0, 6),
},
}),
markerStroke: 'green',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,17 @@ export const CategoryItemMarker2 = () => {
gridCol: 10,
height: 40,
titleText: 'Legend Title',
// titleFill: '#1D2129',
// titleFillOpacity: 0.65,
// titleFontSize: 12,
// titleFontWeight: 'normal',
// titleSpacing: 4,
// showTitle: false,
width: 500,
itemMarker: (d: any, i: number) => () =>
new Path({
style: {
path: paths[i],
d: paths[i],
},
}),
itemMarkerStroke: 'red',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const CategoryItems11 = () => {
itemValueFill: 'green',
colPadding: 5,
itemMarker: (d: any, i: number) => () =>
new Path({ style: { path: [circle, triangle, diamond][i % 3](0, 0, 6) } }),
new Path({ style: { d: [circle, triangle, diamond][i % 3](0, 0, 6) } }),
itemMarkerStroke: (_: any, index: number) => colors[index % colors.length],
itemMarkerStrokeWidth: 2,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const CategoryItems12 = () => {
new CategoryItems({
style: {
data,
itemMarker: (d: any, i: number) => () => new Path({ style: { path: circle(0, 0, 6) } }),
itemMarker: (d: any, i: number) => () => new Path({ style: { d: circle(0, 0, 6) } }),
itemMarkerStroke: (_: any, index: number) => data[index].color,

width: 565,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const CategoryLayout3 = () => {
itemMarker: () => () =>
new Path({
style: {
path: smooth(0, 0, 6),
d: smooth(0, 0, 6),
},
}),
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const CategoryLayout7 = () => {
itemMarker: () => () =>
new Path({
style: {
path: smooth(0, 0, 6),
d: smooth(0, 0, 6),
},
}),
itemValueText: '',
Expand Down
Loading

0 comments on commit 95cd1a5

Please sign in to comment.