您当前的位置: 首页 >  ar

txwtech

暂无认证

  • 4浏览

    0关注

    813博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

c#ms chart图表隐藏与显示某一系列曲线方法

txwtech 发布时间:2022-04-29 16:40:05 ,浏览量:4

c#ms chart图表隐藏与显示某一系列曲线方法

 private void checkBox1_CheckedChanged(object sender, EventArgs e)
        {
            if(checkBox1.Checked==true)
            {
              //  chart1.Series[0].IsVisibleInLegend = true;
              //  chart2.Series[0].IsVisibleInLegend = true;
            //by txwtech
                chart1.Series[0].Enabled = true;


            }
            else
            {
               // chart1.Series[0].IsVisibleInLegend = false;
                chart1.Series[0].Enabled = false;
                // chart1.Series[0].Points.Clear();
              //  chart2.Series[0].IsVisibleInLegend = false;
            }
        }

关注
打赏
1665060526
查看更多评论
立即登录/注册

微信扫码登录

0.0789s