barsketch.cs

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

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

namespace OpenFlashChart
{
    public class BarSketch:Chart<Double>
    {
        private string outlinecolour;
        private int? offset;
        public BarSketch(string colour,string outlinecolor,int? offset)
        {
            this.ChartType = "bar_sketch";
            this.Colour = colour;
            this.outlinecolour = outlinecolor;
            this.offset = offset;
        }
        [JsonProperty("offset")]
        public int? Offset
        {
            get { return offset.Value; }
            set { this.offset = value; }
        }
        [JsonProperty("outline-colour")]
        public string OutlineColour
        {
            get { return outlinecolour; }
            set { this.outlinecolour = value; }
        }

    }
}

⌨️ 快捷键说明

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