Skip to content

Commit

Permalink
Merge pull request #516 from apexcharts/update-tabblazor
Browse files Browse the repository at this point in the history
Updated to latest TabBlazor
  • Loading branch information
joadan authored Oct 7, 2024
2 parents 4c3a74d + 31dd8fa commit 55d0b0c
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs/BlazorApexCharts.Docs.Server/Pages/_Host.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<title>Blazor ApexCharts Docs</title>
<base href="~/" />

<link rel="stylesheet" href="@("https://unpkg.com/@tabler/[email protected]beta15/dist/css/tabler.min.css")">
<link rel="stylesheet" href="@("https://unpkg.com/@tabler/[email protected]beta21/dist/css/tabler.min.css")">
<link rel="stylesheet" href="_content/TabBlazor/css/tabblazor.min.css" />
<script src="_content/TabBlazor/js/tabblazor.js"></script>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.2" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.2" PrivateAssets="all" />
<PackageReference Include="PublishSPAforGitHubPages.Build" Version="2.1.1" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.8" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.8" PrivateAssets="all" />
<PackageReference Include="PublishSPAforGitHubPages.Build" Version="3.0.0" />
<PackageReference Include="System.Net.Http.Json" Version="8.0.0" />
<PackageReference Include="TabBlazor" Version="0.12.2-alpha" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 2 additions & 0 deletions docs/BlazorApexCharts.Docs.Wasm/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ public static async Task Main(string[] args)
//builder.Services.AddSingleton(serviceProvider => (IJSInProcessRuntime)serviceProvider.GetRequiredService<IJSRuntime>());
builder.Services.AddSingleton(serviceProvider => (IJSUnmarshalledRuntime)serviceProvider.GetRequiredService<IJSRuntime>());

var dummy = new TabBlazor.TablerOptions();

await builder.Build().RunAsync();
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/BlazorApexCharts.Docs.Wasm/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<title>Blazor ApexCharts Documentation</title>
<base href="/" />

<link rel="stylesheet" href="https://unpkg.com/@tabler/[email protected]beta15/dist/css/tabler.min.css">
<link rel="stylesheet" href="https://unpkg.com/@tabler/[email protected]beta21/dist/css/tabler.min.css">
<link rel="stylesheet" href="_content/TabBlazor/css/tabblazor.min.css" />
<script src="_content/TabBlazor/js/tabblazor.js"></script>

Expand Down
4 changes: 2 additions & 2 deletions docs/BlazorApexCharts.Docs/BlazorApexCharts.Docs.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
<ItemGroup>
<PackageReference Include="Bogus" Version="35.4.1" />
<PackageReference Include="ColorCode.HTML" Version="2.0.15" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.2" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.8" />
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
<PackageReference Include="TabBlazor" Version="0.7.2-alpha" />
<PackageReference Include="TabBlazor" Version="0.12.2-alpha" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
Legend = new Legend
{
Position = LegendPosition.Top,
HorizontalAlign = Align.Right,
HorizontalAlign = ApexCharts.Align.Right,
Floating = true,
OffsetX = -5,
OffsetY = -25
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
Legend = new Legend
{
Position = LegendPosition.Top,
HorizontalAlign = Align.Right,
HorizontalAlign = ApexCharts.Align.Right,
Floating = true,
OffsetX = -5,
OffsetY = -25
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@

protected override void OnInitialized()
{
options.Legend = new Legend { Position = LegendPosition.Top, FontSize ="20px", HorizontalAlign = Align.Center };
options.Legend = new Legend { Position = LegendPosition.Top, FontSize = "20px", HorizontalAlign = ApexCharts.Align.Center };
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@

protected override void OnInitialized()
{
options1.Legend = new Legend { HorizontalAlign = Align.Center, Position = LegendPosition.Top };
options1.Legend = new Legend { HorizontalAlign = ApexCharts.Align.Center, Position = LegendPosition.Top };
options2.Legend = new Legend { Show = false };
}

Expand Down
4 changes: 2 additions & 2 deletions src/Blazor-ApexCharts/Blazor-ApexCharts.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="7.0.14" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Microsoft.AspNetCore.Components" Version="8.0.2" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.2" />
<PackageReference Include="Microsoft.AspNetCore.Components" Version="8.0.8" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.8" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 55d0b0c

Please sign in to comment.