Skip to content

Commit ed39c4c

Browse files
committed
format
1 parent b9fc5ff commit ed39c4c

File tree

5 files changed

+6
-12
lines changed

5 files changed

+6
-12
lines changed

.github/workflows/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ The tilde prefix ("~") is used to avoid conflicts with existing directories in t
4747
Before these workflows can function properly, you need to:
4848

4949
1. **Enable GitHub Pages** for your repository:
50-
5150
- Go to repository Settings > Pages
5251
- Set up GitHub Pages to deploy from GitHub Actions
5352
- Make sure the repository has the necessary permissions (pages: write, id-token: write)

src/lib/helpers/arrowPath.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,15 @@ export function arrowPath(
8080
sign * Math.sign(insetEnd)
8181
);
8282
lineAngle += Math.atan2(y - cy, x - cx) - Math.atan2(y2 - cy, x2 - cx);
83-
(x2 = x), (y2 = y);
83+
((x2 = x), (y2 = y));
8484
}
8585
} else {
8686
// For inset straight arrows, offset along the straight line.
8787
const dx = x2 - x1,
8888
dy = y2 - y1,
8989
d = Math.hypot(dx, dy);
90-
if (insetStart) (x1 += (dx / d) * insetStart), (y1 += (dy / d) * insetStart);
91-
if (insetEnd) (x2 -= (dx / d) * insetEnd), (y2 -= (dy / d) * insetEnd);
90+
if (insetStart) ((x1 += (dx / d) * insetStart), (y1 += (dy / d) * insetStart));
91+
if (insetEnd) ((x2 -= (dx / d) * insetEnd), (y2 -= (dy / d) * insetEnd));
9292
}
9393
}
9494

src/lib/transforms/bollinger.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,18 +66,18 @@ function bollinger(values: number[], N: number, K: number[]) {
6666
// compute sum and square of sums
6767
for (let n = Math.min(N - 1, values.length); i < n; ++i) {
6868
const value = values[i];
69-
(sum += value), (sumSquared += value ** 2);
69+
((sum += value), (sumSquared += value ** 2));
7070
}
7171
for (let n = values.length, m = bands.length; i < n; ++i) {
7272
const value = values[i];
73-
(sum += value), (sumSquared += value ** 2);
73+
((sum += value), (sumSquared += value ** 2));
7474
const mean = sum / N;
7575
const deviation = Math.sqrt((sumSquared - sum ** 2 / N) / (N - 1));
7676
for (let j = 0; j < K.length; ++j) {
7777
bands[j][i] = mean + deviation * K[j];
7878
}
7979
const value0 = values[i - N + 1];
80-
(sum -= value0), (sumSquared -= value0 ** 2);
80+
((sum -= value0), (sumSquared -= value0 ** 2));
8181
}
8282
return bands;
8383
}

src/routes/features/plot/+page.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,6 @@ List of all plot options you can pass via props on the `<Plot />` component:
213213
- `length` - options for the length scale
214214

215215
- You can set the following shared scale options for all the scales listed above:
216-
217216
- `domain` - custom domain for the scale
218217
- `range` - custom range for the scale
219218
- `reverse` - reverse the scale direction
@@ -233,7 +232,6 @@ List of all plot options you can pass via props on the `<Plot />` component:
233232
**Scale-specific options**
234233

235234
- `x` also supports:
236-
237235
- `grid` - whether to show a grid
238236
- `axis` - axis position ('top', 'bottom', 'both', or false)
239237
- `tickRotate` - rotation angle for tick labels
@@ -242,7 +240,6 @@ List of all plot options you can pass via props on the `<Plot />` component:
242240
- `insetRight` - right inset value
243241

244242
- `y` also supports:
245-
246243
- `grid` - whether to show a grid
247244
- `axis` - axis position ('left', 'right', 'both', or false)
248245
- `tickRotate` - rotation angle for tick labels

src/routes/marks/arrow/+page.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,14 +268,12 @@ The Arrow mark offers various customization options to control appearance and be
268268
**Arrow Style and Shape**
269269

270270
- **bend** - Controls the curvature of the arrow in degrees:
271-
272271
- Set to a number (e.g., `30`) for a specific bend angle
273272
- Set to `true` for a default bend of 22.5°
274273
- Set to `0` or `false` for a straight arrow
275274
- Positive values curve clockwise, negative values curve counterclockwise
276275

277276
- **sweep** - Controls the direction of the bend:
278-
279277
- `1` (default) - Standard direction
280278
- `0` - No bending (straight line regardless of bend angle)
281279
- `-1` - Reverse direction

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy