Yodashboard 11.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Yodashboard --version 11.0.1                
NuGet\Install-Package Yodashboard -Version 11.0.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Yodashboard" Version="11.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Yodashboard --version 11.0.1                
#r "nuget: Yodashboard, 11.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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:

  1. A Customer Table (Currently commented out)
  2. Two Chart Panels (Bar Charts)
  3. Two Additional Chart Panels (Pie and Line Charts)

Dependencies

  • ASP.NET MVC
  • Bootstrap for UI styling
  • YomoneyChartHelper for dynamic chart generation

How to Use

  1. Ensure YomoneyChartHelper is available in your project.
  2. Populate the customers list with real data if necessary.
  3. 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
11.0.2 65 2/8/2025
11.0.1 59 2/8/2025