Skip to content

Commit 45c8bdb

Browse files
authored
Update animation delays and CSS for image handling (#20)
Modified animation delays in BarChart demo for smoother transitions. Added CSS rules to set image width to auto. Updated several chart images with binary changes. NOTE: This commit message is auto-generated using GitHub Copilot.
1 parent d018905 commit 45c8bdb

File tree

8 files changed

+7
-2
lines changed

8 files changed

+7
-2
lines changed

BlazorExpress.ChartJS.Demo.RCL/Pages/Demos/BarChart/BarChart_Demo_08_Animations_B_DataSet_Level_Delay.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
BackgroundColor = new List<string> { colors[7] },
3131
BorderColor = new List<string> { colors[7] },
3232
BorderWidth = new List<double> { 0 },
33-
Animation = new ChartAnimation { Duration = 1000, Delay = 1000 }
33+
Animation = new ChartAnimation { Duration = 1000, Delay = 1500 }
3434
};
3535
datasets.Add(dataset2);
3636

@@ -41,7 +41,7 @@
4141
BackgroundColor = new List<string> { colors[8] },
4242
BorderColor = new List<string> { colors[8] },
4343
BorderWidth = new List<double> { 0 },
44-
Animation = new ChartAnimation { Duration = 1000, Delay = 1500 }
44+
Animation = new ChartAnimation { Duration = 1000, Delay = 2500 }
4545
};
4646
datasets.Add(dataset3);
4747

BlazorExpress.ChartJS.Demo.RCL/wwwroot/css/blazorexpress.chartjs.demo.rcl.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ h1:focus-visible {
7979
color: var(--bulma-text-weak);
8080
}
8181

82+
/* img */
83+
.image img {
84+
width: auto;
85+
}
86+
8287
/* carbon ads */
8388
#carbonads {
8489
position: static;
-6.45 KB
Loading
-3.35 KB
Loading
-3.34 KB
Loading
-3.68 KB
Loading
-3.4 KB
Loading
-6.42 KB
Loading

0 commit comments

Comments
 (0)