public async void chart(string pln, string ap, int tip, string str, string dt_from, string dt_to)
        {
            GetF101_data_List_chart.Clear();
            GetF101_data_List_chart = await myAPI.GetF101_groups("group_to_Pln_Ap_IndCode" + pln + ap, tip, str, dt_from, dt_to);

            //GetF101_data_List_chart = GetF101_data_List_chart.OrderBy(order => order.dt).ToList();


            Graf gr = new Graf();

            gr.Charts(GetF101_data_List_chart, tip, dt_from, dt_to);
            cv_f101_dynamic.ItemsSource = gr.cv_f101_dynamic_template_list;
        }
示例#2
0
        public async void chart(int tip, string indCode, string dt_from, string dt_to, string filtered_bankname)
        {
            GetF101_data_List_chart.Clear();
            GetF101_data_List_chart = await myAPI.GetF101_data("IndCode", tip, indCode, dt_from, dt_to);

            GetF101_data_List_chart = GetF101_data_List_chart.Where(x => x.regn == filtered_bankname)
                                      .OrderBy(order => order.col_3).Reverse()
                                      .ToList();

            Graf gr = new Graf();

            gr.Charts(GetF101_data_List_chart, tip, dt_from, dt_to);
            cv_f101_dynamic.ItemsSource = gr.cv_f101_dynamic_template_list;
        }