WinUI コントロール
損益分岐チャート
コントロール > FlexChart > チャートタイプ > 特殊チャート > 損益分岐チャート

A break-even chart presents the relationship between cost and revenue to indicate profit and loss on different quantities with break-even point. It is also known as Cost Volume Profit graph.

Break-even point i.e., intersection point of the chart, shows the level of sales wherein total revenue is equal to the total costs and net income is equal to zero. Any number below the break-even point constitutes a loss while any number above it shows a profit. The chart plots revenue, fixed costs, and variable costs on the vertical axis, and volume on the horizontal axis.

The Break-Even chart can be highly useful in profit forecasting and planning to examine the effect of alternative business management decisions for your company. It allows end-user to see the unit volume sales level needed to achieve break even, based on which the user can be decided whether it is possible to reach this sales level.

The following example shows how you can create a break-even chart using the FlexChart control. In the example, based on the given data, the break-even point is 10,000 units sold. At this point, sales revenue, and total cost, both are at 1,200,000 and equate each other. Till this point chart shows the loss and beyond this point it shows the profit.

Breakeven Chart

In FlexChart, break even chart is represented by the BreakEven class which inherited from standard Series class. To begin with, you create a FlexChart in XAML code and then create a new BreakEven object, set values of its main properties (SalesPrice, FixedCost, VariableCost) and add it to the flexChart.Series collection to show the evolution of profits over time, and how long it takes to reach the break-even point where revenues surpass expenses as demonstrated in the following code:

C#
コードのコピー
flexChart.Series.Add(new C1.WinUI.Chart.BreakEven() { SalesPrice = 120, FixedCost = 1000000, VariableCost = 20 });
flexChart.LegendPosition = Position.Right;
flexChart.AxisX.Title = "Number Of Units";
flexChart.AxisY.Title = "USD";