The Blazor Sparkline Charts is a replacement for normal charts to display trends in a very small area. Customize sparklines completely by changing the series or axis type and by adding markers, data labels, range bands, and more.
There are five types of Blazor Sparklines (line, column, area, win-loss, and pie) to show data trends.
Use a line sparkline to represent patterns and trends in data, such as seasonal increases or decreases, large changes, and a trend over a period of time.
An area sparkline is a line sparkline with the area between its points colored. Use this when the magnitude of the trend is to be communicated rather than individual data values.
A column sparkline is designed to show different values of two or more subjects. Vertical bars represent the different values.
A win-loss sparkline shows positive, negative, or zero values to visualize win/loss scenarios such as sports teams and stock prices.
A pie sparkline is a circular graph that is divided into slices to illustrate numeric proportions.
The Blazor Sparkline Charts component offers different axis types like numeric, category, and date-time to plot any type of data in the sparkline.
Configure and customize the axis in Blazor Sparkline charts to show the origin and range of the data points.
Some data points in the sparklines are special. Denote the data usage by highlighting and customizing the special data points, such as first, last, high, low, and negative points.
The markers highlight and distinguish data points in the line and area sparklines and make these sparklines more readable.
Improve readability by using data labels in the Blazor Sparkline to display the values of data points.
Tooltips display details about specific data point when hovering the mouse over a sparkline.
The track line tracks the data points that are closer to the mouse position or touch contact.
Highlight a particular region in a sparkline using a range band to show the range of safe values. By setting the minimum and maximum for a range band, the outliers can be easily identified.
All the Blazor Sparkline features will work on touch devices with zero configuration. Use touch features such as tooltip and track line without any customization.
You can view the Blazor Sparkline Charts component on various devices. You can also hide specific elements in the sparkline for certain screen sizes by making a very minimal change in the events.
You can render the Blazor Sparkline Charts component in all modern browsers.
Easily get started with the Blazor Sparkline Chart using a few simple lines of C# code example as demonstrated below. Also explore our Blazor Sparkline Chart Example that shows you how to render and configure the Sparkline Chart in Blazor.
@using Syncfusion.Blazor
@using Syncfusion.Blazor.Charts
<SfSparkline>
</SfSparkline>
@code {
public class WeatherReport
{
public string Month { get; set; }
public double Celsius { get; set; }
};
public List<WeatherReport> ClimateData = new List<WeatherReport> {
new WeatherReport { Month= "Jan", Celsius= 34 },
new WeatherReport { Month= "Feb", Celsius= 36 },
new WeatherReport { Month= "Mar", Celsius= 32 },
new WeatherReport { Month= "Apr", Celsius= 35 },
new WeatherReport { Month= "May", Celsius= 40 },
new WeatherReport { Month= "Jun", Celsius= 38 },
new WeatherReport { Month= "Jul", Celsius= 33 },
new WeatherReport { Month= "Aug", Celsius= 37 },
new WeatherReport { Month= "Sep", Celsius= 34 },
new WeatherReport { Month= "Oct", Celsius= 31 },
new WeatherReport { Month= "Nov", Celsius= 30 },
new WeatherReport { Month= "Dec", Celsius= 29}
};
}
Sparkline Charts is also available in JavaScript, Angular, React and Vue frameworks that are built from their own TypeScript libraries. Check out the different Sparkline Charts platforms from the links below,
We do not sell the Blazor Sparkline Chart separately. It is only available for purchase as part of the Syncfusion team license. This contains over 1,800 components and frameworks, including the Blazor Sparkline Chart. The price of the team license starts at $395 per month for 5 developers, and includes support and updates until the subscription expires. In addition, we might offer discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.
You can find our Blazor Sparkline Chart demo here.
No, our 1,800+ components and frameworks for web, mobile, and desktop, including our Blazor Sparkline Chart, are not sold individually. They are only available as part of a team license. However, we have competitively priced the product, so it only costs a little bit more than what some other vendors charge for their Sparkline Chart component alone. We have also found that, in our experience, our customers usually start off using one of our products and then expand to several products quickly, so we felt it was best to offer all 1,800+ components and frameworks for a subscription fee that starts at $395 per month for a team of 5 developers. Additionally, we might be able to offer discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.