Microcharts Documentation

repository·main·Indexed 24 days ago

https://github.com/microcharts-dotnet/microcharts

A simple, cross-platform charting library for .NET applications leveraging SkiaSharp for rendering. Supports .NET MAUI, iOS, and Android via packages such as Microcharts, Microcharts.Core, and Microcharts.Maui.

Tokens
302
Snippets
0
Records
3
Agent score
35%

What's inside Microcharts

  1. Understand Microcharts compatibility and rendering

    main

    Microcharts is a lightweight charting library built on top of SkiaSharp. It uses shared code and rendering logic across different platforms.

    Supported platforms (targeting .NET 10) include:

    • .NET MAUI: Windows, Android, iOS, and Mac Catalyst.
    • .NET for iOS: Uses the native Microcharts.iOS view.
    • .NET for Android: Uses the native Microcharts.Droid view.
  2. Install Microcharts via NuGet

    main

    Microcharts is available through NuGet. Depending on your platform and needs, you should choose one of the following packages:

    • Microcharts: The meta-package (recommended starting point).
    • Microcharts.Core: Provides cross-platform rendering logic.
    • Microcharts.Maui: Provides the ChartView specifically for .NET MAUI.

    Note: Native iOS (Microcharts.iOS) and Android (Microcharts.Droid) views are hosted on the GitHub Packages feed rather than NuGet.org. To use them, you must add the GitHub organization feed as a NuGet source and authenticate using a GitHub token with read:packages permissions.