Exemple #1
0
        private void MakeChart(DataTable DT)
        {
            ultraChart1.Visible = true;

            DataTable Table = new DataTable();

            if (optLot.Checked == true)
            {
                Table = RptUChart.GetData(DT, 0, 1, 3);
            }
            else if (optQty1.Checked == true)
            {
                Table = RptUChart.GetData(DT, 0, 2, 3);
            }
            else if (optQty2.Checked == true)
            {
                Table = RptUChart.GetData(DT, 0, 3, 3);
            }

            RptUChart.UChartOption.Legend.ShowLegend(ultraChart1, "Right");
            RptUChart.UChartOption.UChartTitle(ultraChart1, "STD1208 " + label3.Text);
            RptUChart.UChartOption.DataPointLabel(ultraChart1, true, "ColumnChart", "<DATA_VALUE:0>");
            RptUChart.ShowUChart(ultraChart1, Table, "ColumnChart");
            RptUChart.UChartOption.AxisItemFormat(ultraChart1, "", "<DATA_VALUE:0.0>");

            DT.Dispose();
        }
Exemple #2
0
        private void MakeChart(DataTable DT)
        {
            ultraChart1.Visible = true;

            DataTable Table = new DataTable();

            Table = RptUChart.GetData(DT, 1, 2, 1);

            RptUChart.UChartOption.Legend.ShowLegend(ultraChart1, "Right");
            RptUChart.UChartOption.UChartTitle(ultraChart1, "STD1105 " + label3.Text);
            RptUChart.UChartOption.DataPointLabel(ultraChart1, true, "DoughnutChart", "<DATA_VALUE:0>");
            RptUChart.ShowUChart(ultraChart1, Table, "DoughnutChart");

            DT.Dispose();
        }
Exemple #3
0
        private void MakeChart(DataTable DT)
        {
            ultraChart1.Visible = true;

            DataTable Table = new DataTable();

            Table = RptUChart.GetData(DT, 0, 1, 1);

            RptUChart.UChartOption.Legend.ShowLegend(ultraChart1, "Right");
            RptUChart.UChartOption.UChartTitle(ultraChart1, "TST1107 " + label3.Text);
            RptUChart.UChartOption.DataPointLabel(ultraChart1, true, "PieChart", "<DATA_VALUE:0>");
            RptUChart.ShowUChart(ultraChart1, Table, "PieChart");
            RptUChart.UChartOption.AxisItemFormat(ultraChart1, "<ITEM_LABEL>", "<DATA_VALUE:0.0>");

            DT.Dispose();
        }
Exemple #4
0
        private void MakeChart(DataTable DT)
        {
            ultraChart1.Visible = true;

            DataTable Table = new DataTable();

            Table = RptUChart.GetData(DT, 0, 3, 3);

            RptUChart.UChartOption.Legend.ShowLegend(ultraChart1, "Right");
            RptUChart.UChartOption.UChartTitle(ultraChart1, "Sample ");
            RptUChart.UChartOption.DataPointLabel(ultraChart1, true, "ColumnChart", "<DATA_VALUE:0>");
            RptUChart.ShowUChart(ultraChart1, Table, "ColumnChart");
            RptUChart.UChartOption.AxisItemFormat(ultraChart1, "", "<DATA_VALUE:0.0>");

            DT.Dispose();
        }