mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-08 02:30:51 +08:00
添加项目文件。
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Media;
|
||||
using LiveCharts;
|
||||
using LiveCharts.Wpf;
|
||||
|
||||
namespace Winforms.Cartesian.StepLine
|
||||
{
|
||||
public partial class StepLineExample : Form
|
||||
{
|
||||
public StepLineExample()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
cartesianChart1.Series.Add(new StepLineSeries
|
||||
{
|
||||
Values = new ChartValues<double> { 9, 6, 5, 7, 8, 9, 7, 6, 7, 5 }
|
||||
});
|
||||
|
||||
cartesianChart1.Series.Add(new StepLineSeries
|
||||
{
|
||||
Values = new ChartValues<double> {1, 4, 3, 1, 4, 2, 1, 2, 3, 5},
|
||||
AlternativeStroke = Brushes.Transparent,
|
||||
StrokeThickness = 3,
|
||||
PointGeometry = null
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user