Interpolation with test done
This commit is contained in:
@@ -102,7 +102,7 @@
|
||||
</Grid>
|
||||
<lvc:CartesianChart Grid.Row="0" Grid.Column="1"
|
||||
Series="{Binding SeriesCollection, UpdateSourceTrigger=PropertyChanged}" Margin="5"
|
||||
Zoom="None">
|
||||
Zoom="Xy">
|
||||
<lvc:CartesianChart.AxisY>
|
||||
<lvc:Axis Title="Y"></lvc:Axis>
|
||||
</lvc:CartesianChart.AxisY>
|
||||
|
||||
@@ -97,8 +97,12 @@ namespace StructureHelper.Windows.MainGraph
|
||||
f1.Name = "Табличная системная функция";
|
||||
f1.Table = new List<GraphPoint>()
|
||||
{
|
||||
new GraphPoint(1, 0),
|
||||
new GraphPoint(0, 1),
|
||||
new GraphPoint(1, 1),
|
||||
new GraphPoint(2, 2),
|
||||
new GraphPoint(3, 3),
|
||||
new GraphPoint(4, 4),
|
||||
new GraphPoint(5, 5),
|
||||
new GraphPoint(6, 6),
|
||||
};
|
||||
f1.IsUser = false;
|
||||
f1.Description = "Описание табличной системной функции";
|
||||
|
||||
@@ -107,7 +107,7 @@ namespace StructureHelper.Windows.MainGraph
|
||||
Function.Name = Name;
|
||||
Function.Description = Description;
|
||||
Function.IsUser = true;
|
||||
(Function as TableFunction).Table = Table.ToList();
|
||||
(Function as TableFunction).Table = Table.OrderBy(x => x.X).ToList();
|
||||
var window = parameter as Window;
|
||||
window.DialogResult = true;
|
||||
window.Close();
|
||||
|
||||
Reference in New Issue
Block a user