protected void BT_StatsGraph_Click(object sender, RoutedEventArgs e)
 {
     Stats[] statsList = BuildStatsList();
     StatGraphWindow gw = new StatGraphWindow();
     string explanatoryText = "This graph shows how adding or subtracting\nmultiples of a stat affects your score.\n\nAt the Zero position is your current score.\n" +
                  "To the right of the zero vertical is adding stats.\nTo the left of the zero vertical is subtracting stats.\n" +
                  "The vertical axis shows the amount of score added or lost";
     gw.GetGraph.SetupStatsGraph(Character, statsList, calcOpts.StatsIncrement, explanatoryText, calcOpts.CalculationToGraph);
     gw.Show();
 }
Ejemplo n.º 2
0
        protected void BT_StatsGraph_Click(object sender, RoutedEventArgs e)
        {
            Stats[]         statsList       = BuildStatsList();
            StatGraphWindow gw              = new StatGraphWindow();
            string          explanatoryText = "This graph shows how adding or subtracting\nmultiples of a stat affects your score.\n\nAt the Zero position is your current score.\n" +
                                              "To the right of the zero vertical is adding stats.\nTo the left of the zero vertical is subtracting stats.\n" +
                                              "The vertical axis shows the amount of score added or lost";

            gw.GetGraph.SetupStatsGraph(Character, statsList, calcOpts.StatsIncrement, explanatoryText, calcOpts.CalculationToGraph);
            gw.Show();
        }