Ejemplo n.º 1
0
        private void setupTopCanvas()
        {
            logString("setupTopCanvas()");

            // Configure the settings here, which gets called for topCanvas_Loaded(), as well as when we're resuming!
            topGraph.setColor(1.0f, 0.0f, 0.0f);
            topGraph.setYLimits(-1.5f, 1.5f);
        }
Ejemplo n.º 2
0
        private void botCanvas_Loaded(object sender, RoutedEventArgs e)
        {
            logString("botCanvas_Loaded()");

            // Initialize the lineGraph (this only happens ONCE per app lifecycle!)
            botGraph = initializeLineGraph(botCanvas);

            // Set configuration settings of botCanvas.  This configuration will get lost!
            botGraph.setColor(0.0f, 0.0f, 1.0f);
            botGraph.setYLimits(-1.5f, 1.5f);
        }
Ejemplo n.º 3
0
        private void botCanvas_Loaded(object sender, RoutedEventArgs e)
        {
            logString("botCanvas_Loaded()");

            // Initialize the lineGraph (this only happens ONCE per app lifecycle!)
            botGraph = initializeLineGraph(botCanvas);

            // Set configuration settings of botCanvas.  This configuration will get lost!
            botGraph.setColor(0.0f, 0.0f, 1.0f);
            botGraph.setYLimits(-1.5f, 1.5f);
        }