FS.FluentUI.Charts
1.0.0-beta01
See the version list below for details.
dotnet add package FS.FluentUI.Charts --version 1.0.0-beta01
NuGet\Install-Package FS.FluentUI.Charts -Version 1.0.0-beta01
<PackageReference Include="FS.FluentUI.Charts" Version="1.0.0-beta01" />
<PackageVersion Include="FS.FluentUI.Charts" Version="1.0.0-beta01" />
<PackageReference Include="FS.FluentUI.Charts" />
paket add FS.FluentUI.Charts --version 1.0.0-beta01
#r "nuget: FS.FluentUI.Charts, 1.0.0-beta01"
#:package FS.FluentUI.Charts@1.0.0-beta01
#addin nuget:?package=FS.FluentUI.Charts&version=1.0.0-beta01&prerelease
#tool nuget:?package=FS.FluentUI.Charts&version=1.0.0-beta01&prerelease
FS.FullCalendar
FluentUI V9 Charts (React) made for F# in the style of Feliz
<a href="https://www.buymeacoffee.com/andrewsydsh" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-yellow.png" alt="Buy Me A Coffee" height="50" width="200"></a>
Please check all Charts docs for further component usage and properties
An example of a Charting component implementation:
open FS.FluentUI.Charts
type ChartPoints = {
legend: string
data: float
color: string
}
/// You can `.` into specific properties
let firstChartPoints = [
[ vsChartDataPoint.legend "MetaData1"; vsChartDataPoint.data 2; vsChartDataPoint.color (Fui.getColorFromToken Fui.dataVizPalette.color1) ]
[ vsChartDataPoint.legend "MetaData2"; vsChartDataPoint.data 0.5; vsChartDataPoint.color (Fui.getColorFromToken Fui.dataVizPalette.color2) ]
[ vsChartDataPoint.legend "MetaData3"; vsChartDataPoint.data 0; vsChartDataPoint.color (Fui.getColorFromToken Fui.dataVizPalette.color6) ]
]
// You can use anonymous types that include specific fields
let secondChartPoints = [
{| legend = "MetaData1"; data = 30; color = Fui.getColorFromToken Fui.dataVizPalette.color1 |}
{| legend = "MetaData2"; data = 3; color = Fui.getColorFromToken Fui.dataVizPalette.color2 |}
{| legend = "MetaData3"; data = 40; color = Fui.getColorFromToken Fui.dataVizPalette.color6 |}
]
// Or you can use custom data types
let thirdChartPoints = [
{ legend = "MetaData1"; data = 10; color = Fui.getColorFromToken Fui.dataVizPalette.color1 }
{ legend = "MetaData2"; data = 60; color = Fui.getColorFromToken Fui.dataVizPalette.color2 }
{ legend = "MetaData3"; data = 30; color = Fui.getColorFromToken Fui.dataVizPalette.color6 }
]
let verticalStackedBarChartDataList = [
[ verticalStackedChart.chartData firstChartPoints; verticalStackedChart.xAxisPoint "Simple Data" ]
[ verticalStackedChart.chartData secondChartPoints; verticalStackedChart.xAxisPoint "Long text will disaply all text" ]
[ verticalStackedChart.chartData thirdChartPoints; verticalStackedChart.xAxisPoint "Data" ]
]
Fui.verticalStackedBarChart [
verticalStackedBarChart.data verticalStackedBarChartDataList
verticalStackedBarChart.chartTitle "Vertical stacked bar chart axis tooltip example"
verticalStackedBarChart.height 400
verticalStackedBarChart.width 600
verticalStackedBarChart.showYAxisLablesTooltip true
verticalStackedBarChart.wrapXAxisLables true
verticalStackedBarChart.barWidth.auto
verticalStackedBarChart.maxBarWidth 50
verticalStackedBarChart.xAxisInnerPadding 0.25
verticalStackedBarChart.enableGradient true
verticalStackedBarChart.roundCorners true
verticalStackedBarChart.barGapMax 0.5
]
Installation
Current NPM dependencies:
Primary dependency:
- @fluentui/react-charts
Install into your Client.fsproj project using Femto (recommended)
cd ./{path to Client}
# when using femto as a global CLI tool
femto install FS.FluentUI.Charts
# when using femto as a local CLI tool
dotnet femto install FS.FluentUI.Charts
This will install the nuget package and afterwards automatically installs the required npm packages used by this binding.
Femto will detect whether you are using paket and will install the package using paket into the dependency group of the project
You can install the library manually if you want by first installing the nuget package
cd ./{path to your project}
dotnet add package FS.FluentUI.Charts
npm install @fluentui/react-charts
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. |
-
net8.0
- Feliz (>= 2.9.0)
- FSharp.Core (>= 6.0.1)
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 |
|---|---|---|
| 1.0.1 | 147 | 10/28/2025 |
| 1.0.0-beta02 | 107 | 10/17/2025 |
| 1.0.0-beta01 | 104 | 10/17/2025 |
- Inital release