Skip to content

SyncfusionExamples/Getting-Started-with-MAUI-Spark-Chart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Getting Started with the .NET MAUI Toolkit Spark Chart

This sample demonstrates how to get started with the .NET MAUI Toolkit Spark Chart control in a .NET MAUI application.

Sample

    <Grid RowDefinitions="20*,80*" Margin="20">

        <Label Grid.Row="0" Text="Stock Price Trend" HorizontalTextAlignment="Center"
                FontSize="18" FontAttributes="Bold"/>

        <sparkchart:SfSparkColumnChart Grid.Row="1" ItemsSource="{Binding Data}" 
                                        YBindingPath="Value" Padding="20" 
                                        FirstPointFill="YellowGreen"
                                        LastPointFill="BlueViolet"
                                        HighPointFill="DeepPink"
                                        LowPointFill="Salmon"
                                        NegativePointsFill="ForestGreen">
        </sparkchart:SfSparkColumnChart>

    </Grid>

Requirements to run the demo

To run the demo, refer to System Requirements for .NET MAUI

Troubleshooting:

Path too long exception

If you are facing path too long exception when building this example project, close Visual Studio and rename the repository to short and build the project.

About

This sample demonstrates how to get started with the .NET MAUI Toolkit Spark Chart control in a .NET MAUI application.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages