Reveal.Sdk.Dom 0.1.11-beta

This is a prerelease version of Reveal.Sdk.Dom.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Reveal.Sdk.Dom --version 0.1.11-beta
                    
NuGet\Install-Package Reveal.Sdk.Dom -Version 0.1.11-beta
                    
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="Reveal.Sdk.Dom" Version="0.1.11-beta" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Reveal.Sdk.Dom" Version="0.1.11-beta" />
                    
Directory.Packages.props
<PackageReference Include="Reveal.Sdk.Dom" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Reveal.Sdk.Dom --version 0.1.11-beta
                    
#r "nuget: Reveal.Sdk.Dom, 0.1.11-beta"
                    
#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.
#:package Reveal.Sdk.Dom@0.1.11-beta
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Reveal.Sdk.Dom&version=0.1.11-beta&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Reveal.Sdk.Dom&version=0.1.11-beta&prerelease
                    
Install as a Cake Tool

Reveal.Sdk.Dom

The Reveal.Sdk.Dom is a Document Object Model (DOM) for the Reveal .rdash file format. It allows developer using the Reveal SDK to load, edit, and create dashboards using .NET.

The Reveal.Sdk.Dom is currently BETA so expect things to not work, or to possibly break in a future release.

Check out the Samples in the Sandbox application I am using to develop and test the API.

Quick Start Guide

Install the Reveal.Sdk.Dom NuGet package.

Load Dashboard

string filePath = Path.Combine(Environment.CurrentDirectory, "Sales.rdash");
var document = RdashDocument.Load(filePath);

Create Dashboard

//create the dashboard document
var document = new RdashDocument("My Dashboard");

//create a data source item using a REST service
var jsonDataSourceItem = new RestBuilder("https://excel2json.io/api/share/6e0f06b3-72d3-4fec-7984-08da43f56bb9")
    .SetTitle("JSON Data Source")
    .SetSubtitle("Sales by Category")
    .SetFields(new List<Field>() //must define the fields returned from the data set
    {
        new NumberField("CategoryID"),
        new TextField("CategoryName"),
        new TextField("ProductName"),
        new NumberField("ProductSales"),
    })
    .Build();

//add a Pie Chart to the dashboard using the REST service as the data source
document.Visualizations.Add(new PieChartVisualization("My Pie Chart", jsonDataSourceItem)
    .AddLabel("CategoryName")
    .AddValue("ProductSales"));

//save the document as an .rdash file
document.Save(filePath);

//optionally load the document into a RevealView
var json = document.ToJsonString();
_revealView.Dashboard = await RVDashboard.LoadFromJsonAsync(json);
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 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
0.1.660-beta 365 9/19/2025
0.1.656-beta 619 4/11/2025
0.1.654-beta 112 3/29/2025
0.1.631-beta 193 3/13/2025
0.1.629-beta 2,177 2/26/2025
0.1.346-beta 374 12/13/2024
0.1.300-beta 1,388 12/3/2024
0.1.245-beta 96 11/22/2024
0.1.235-beta 78 11/18/2024
0.1.234-beta 72 11/18/2024
0.1.221-beta 919 10/10/2024
0.1.216-beta 287 9/26/2024
0.1.214-beta 95 9/25/2024
0.1.210-beta 222 9/13/2024
0.1.207-beta 165 9/6/2024
0.1.205-beta 150 9/6/2024
0.1.198-beta 1,694 6/7/2024
0.1.194-beta 249 5/24/2024
0.1.164-beta 6,757 5/8/2024
0.1.160-beta 104 5/7/2024
0.1.152-beta 61 5/2/2024
0.1.150-beta 196 3/29/2024
0.1.148-beta 157 2/9/2024
0.1.147-beta 198 8/17/2023
0.1.145-beta 163 8/7/2023
0.1.143-beta 145 8/7/2023
0.1.141-beta 150 8/7/2023
0.1.140-beta 146 8/7/2023
0.1.133-beta 157 8/3/2023
0.1.130-beta 157 8/2/2023
0.1.127-beta 145 8/2/2023
0.1.125-beta 757 7/28/2023
0.1.123-beta 146 7/27/2023
0.1.111-beta 245 7/26/2022
0.1.65-beta 229 7/21/2022
0.1.11-beta 229 7/13/2022
0.1.10-beta 231 7/13/2022