barstack.cs

来自「Open Flash Chart is a program for creati」· CS 代码 · 共 39 行

CS
39
字号
using System;
using System.Collections.Generic;
using System.Text;
using JsonFx.Json;


namespace OpenFlashChart
{
   public class BarStackValue
   {
       private string colour;
       private double val;
       public BarStackValue(double val,string color)
       {
           this.Colour = color;
           this.Val = val;
       }
       [JsonProperty("colour")]
       public string Colour
       {
           get { return colour; }
           set { colour = value; }
       }
       [JsonProperty("val")]
       public double Val
       {
           get { return val; }
           set { val = value; }
       }
   }
    public class BarStack:Chart<BarStackValue>
    {
        public BarStack()
        {
            this.ChartType = "bar_stack";
        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?