Exemple #1
0
 private void showDataOverlay(GraphForm hostGraph, GraphItem item )
 {
     hostGraph.PaneList[0].Add( item );
     hostGraph.Refresh();
 }
Exemple #2
0
 private void showDataStacked(GraphForm hostGraph, GraphItem item )
 {
     Pane pane = new Pane();
     pane.Add( item );
     hostGraph.PaneList.Add( pane );
     hostGraph.Refresh();
 }
Exemple #3
0
 private void showData( GraphForm hostGraph, GraphItem item )
 {
     Pane pane;
     if( hostGraph.PaneList.Count == 0 || hostGraph.PaneList.Count > 1 )
     {
         hostGraph.PaneList.Clear();
         pane = new Pane();
         hostGraph.PaneList.Add( pane );
     } else
     {
         pane = hostGraph.PaneList[0];
         pane.Clear();
     }
     pane.Add( item );
     hostGraph.Refresh();
 }