How to refresh oxyplot plot when data changes

前端 未结 7 1339
予麋鹿
予麋鹿 2021-02-07 02:10

\"GUI

Oxyplot graphs 13 points which are derived from the 6 user input text boxes. The values in

7条回答
  •  醉话见心
    2021-02-07 02:49

    Give x:Name to OxyPlot instance in XAML:

    
    

    and on button click handler, refresh like this:

    private void RefreshButton_Click(object sender, RoutedEventArgs e)
    {
       Plot1.RefreshPlot(true);
    }
    

提交回复
热议问题