From 80a6d76ffc40a7346ac3914f0b34754e3db53a38 Mon Sep 17 00:00:00 2001 From: Scott Rhamy Date: Sun, 1 Mar 2026 13:04:19 -0500 Subject: [PATCH 1/2] migrate-from-v1 adds to the guide section --- docs/src/content/guides/migrate-from-v1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 docs/src/content/guides/migrate-from-v1.md diff --git a/docs/src/content/guides/migrate-from-v1.md b/docs/src/content/guides/migrate-from-v1.md new file mode 100644 index 000000000..513e38c56 --- /dev/null +++ b/docs/src/content/guides/migrate-from-v1.md @@ -0,0 +1,18 @@ +--- +title: Migrate from v1 +--- + +In version 1 of Layerchart, it required that you add a wrapping div to define the size of the chart. This is now optional, and the height and width can be set directly on the root LayerChart component. + +```svelte diff + + +-
+- ++ +-
+``` + +...More to come soon! From 8bc1650bf3625560201b34c7dc707a806dd60072 Mon Sep 17 00:00:00 2001 From: Scott Rhamy Date: Sun, 1 Mar 2026 17:16:01 -0500 Subject: [PATCH 2/2] added h2 --- docs/src/content/guides/migrate-from-v1.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/content/guides/migrate-from-v1.md b/docs/src/content/guides/migrate-from-v1.md index 513e38c56..bf3c130cc 100644 --- a/docs/src/content/guides/migrate-from-v1.md +++ b/docs/src/content/guides/migrate-from-v1.md @@ -2,6 +2,8 @@ title: Migrate from v1 --- +## Chart Sizing + In version 1 of Layerchart, it required that you add a wrapping div to define the size of the chart. This is now optional, and the height and width can be set directly on the root LayerChart component. ```svelte diff