Skip to content

Example of Secondary Axis and Filters in ASP.NET Core Charts Control

This example draws the amount and the number of orders on two axes, and reloads them from the server with a date range and a shipped filter.

The amount uses the primary axis (left, C0); the order count uses an axis from Axes (Name = "orders", OpposedPosition = true), picked by YAxisName. Fields below call chart.reload({ from, to, shippedOnly }), replacing DataUrlParams.

Event log