Yodashboard 11.0.1
See the version list below for details.
dotnet add package Yodashboard --version 11.0.1
NuGet\Install-Package Yodashboard -Version 11.0.1
<PackageReference Include="Yodashboard" Version="11.0.1" />
paket add Yodashboard --version 11.0.1
#r "nuget: Yodashboard, 11.0.1"
// Install Yodashboard as a Cake Addin #addin nuget:?package=Yodashboard&version=11.0.1 // Install Yodashboard as a Cake Tool #tool nuget:?package=Yodashboard&version=11.0.1
Home Page - ASP.NET MVC View
Overview
This view is part of an ASP.NET MVC application and is responsible for displaying customer data in a table format along with dynamic charts.
Features
- Dynamic Customer Table: Displays a list of customers with columns for Customer Name, City, Date of Birth, and Date Added.
- Chart Integration: Uses
YomoneyChartHelper
to generate bar, pie, and line charts based on sample data. - Bootstrap Panels: Organizes charts inside Bootstrap panels for better UI presentation.
Components
Customer Data
Customer data is stored in a list of dictionaries where each dictionary represents a customer with key-value pairs for:
Customer Name
City
Date of Birth
Date Added
Column Headers
Column headers are predefined as:
var columnHeaders = new List<string> { "Customer Name", "City", "Date of Birth", "Date Added" };
Chart Data
Chart data is stored as lists and used to generate various charts:
var chartData = new List<int> { 10, 20, 30, 40 };
var chartLabels = new List<string> { "January", "February", "March", "April" };
Charts
Charts are generated using the YomoneyChartHelper
:
- Bar Chart:
YomoneyChartHelper.GenerateChartHtml("bar", chartData, chartLabels, "myBarChart");
- Pie Chart:
YomoneyChartHelper.GenerateChartHtml("pie", chartData, chartLabels, "pieBarChart");
- Line Chart:
YomoneyChartHelper.GenerateApexChartHtml("line", chartData, chartLabels, "lineapexdats");
Dynamic Customer Table
The table is generated dynamically using:
var tableHtml = YomoneyChartHelper.GenerateDynamicCustomerTableHtml(
"customerTable",
customers,
columnHeaders,
"dateFrom",
"dateTo",
3
);
UI Layout
The UI consists of:
- A Customer Table (Currently commented out)
- Two Chart Panels (Bar Charts)
- Two Additional Chart Panels (Pie and Line Charts)
Dependencies
- ASP.NET MVC
- Bootstrap for UI styling
YomoneyChartHelper
for dynamic chart generation
How to Use
- Ensure
YomoneyChartHelper
is available in your project. - Populate the
customers
list with real data if necessary. - Un-comment
@Html.Raw(tableHtml)
to display the dynamic table.
Notes
- The sample data contains multiple duplicate entries of "Jane Smith." Ensure real customer data is used in production.
- The table includes a date filter for "Date Added." Adjust as needed for filtering requirements.
Future Improvements
- Add AJAX support for dynamic data fetching.
- Implement pagination for large customer lists.
- Improve chart styles and responsiveness.
Author:Innocent Tauzeni
Date: 2025-02-08
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.AspNet.Mvc (>= 5.3.0)
- Microsoft.AspNetCore.Mvc.ViewFeatures (>= 2.3.0)
- System.Text.Json (>= 5.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.