⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 axis.cs

📁 FLASH+java动态图表
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.Text;
using JsonFx.Json;


namespace OpenFlashChart
{
    public class Axis
    {
        private string stroke;
        private string colour;
        private string grid_colour;
       
      
        private int steps=1;
        private int _3d;
       
        private double? min;
        private double? max;
        [JsonProperty("stroke")]
        public string Stroke
        {
            set { this.stroke = value; }
            get { return this.stroke; }
        }
        [JsonProperty("colour")]
        public string Colour
        {
            set { this.colour = value; }
            get { return this.colour; }
        }
        [JsonProperty("grid-colour")]
        public string GridColour
        {
            set { this.grid_colour = value; }
            get { return this.grid_colour; }
        }
        [JsonProperty("steps")]
        public int Steps
        {
            set { steps = value; }
            get { return this.steps; }
        }

        public void SetColors(string color,string gridcolor)
        {
            this.colour = color;
            this.grid_colour = gridcolor;
        }
        public void Set3D(int width)
        {
            this.Axis3D = width;
        }
       
        [JsonProperty("min")]
        public double? Min
        {
            get { return min; }
            set { this.min = value; }
        }
        [JsonProperty("max")]
        public double? Max
        {
            get { return max; }
            set { this.max = value; }
        }
        [JsonProperty("3d")]
        public int Axis3D
        {
            get { return _3d; }
            set { _3d = value; }
        }
    }
}

⌨️ 快捷键说明

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