Пример #1
0
        private void xyChart_DataStructureCreated(object sender, EventArgs e)
        {
            string             sName = "";
            NumericCoordinates nc    = new NumericCoordinates()
            {
                From = 0, To = 1, Step = 0.1
            };

            y2AxisCoordinates.Coordinates = nc;

            SetLegendItems();
        }
Пример #2
0
        private void xyChart_DataStructureCreated(object sender, EventArgs e)
        {
            if (ColumnChartParameters.Y2AxisType == 3)
            {
                NumericCoordinates nc = new NumericCoordinates()
                {
                    From = 0, To = 1, Step = 0.1
                };
                Y2AxisCoordinates.Coordinates = nc;
            }

            SetLegendItems();
        }
Пример #3
0
        private void xyChart_DataStructureCreated(object sender, EventArgs e)
        {
            if (ColumnChartSettings.Y2IsCumulativePercent)
            {
                NumericCoordinates nc = new NumericCoordinates() { From = 0, To = 1, Step = 0.1 };
                Y2AxisCoordinates.Coordinates = nc;
            }

            SetLegendItems();
        }
Пример #4
0
        private void xyChart_DataStructureCreated(object sender, EventArgs e)
        {
            string sName = "";

            NumericCoordinates nc = new NumericCoordinates() { From = 0, To = 100, Step = 10 };
            //AxisCoordinates ac = new AxisCoordinates();
            //ac.Coordinates = nc;
            y2AxisCoordinates.Coordinates = nc;

            if (GadgetOptions.StrataVariableNames.Count > 0)
            {
                foreach (Series s0 in xyChart.DataSeries)
                {
                    sName = s0.Label.Split('.')[1];
                    if (checkboxShowVarName.IsChecked == false)
                    {
                        int index = sName.IndexOf(" = ");
                        s0.Label = sName.Substring(index + 3);
                    }
                    else
                    {
                        s0.Label = sName;
                    }
                }
            }
        }
Пример #5
0
        private void xyChart_DataStructureCreated(object sender, EventArgs e)
        {
            string sName = "";
                NumericCoordinates nc = new NumericCoordinates() { From = 0, To = 1, Step = 0.1 };
                y2AxisCoordinates.Coordinates = nc;

            SetLegendItems();
        }