This commit is contained in:
2024-04-27 09:23:34 +02:00
commit 11e713ca6f
11884 changed files with 3263371 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
using System;
using System.Collections.Generic;
using System.Text;
using JsonFx.Json;
namespace OpenFlashChart
{
public class YAxis:Axis
{
private int tick_length;
private YAxisLabels labels;
[JsonProperty("tick-length")]
public int TickLength
{
get { return tick_length; }
set { tick_length = value; }
}
public void SetRange(double min, double max, int step)
{
base.Max = max;
base.Min = min;
base.Steps = step;
}
[JsonProperty("labels")]
public YAxisLabels Labels
{
get
{
if (this.labels == null)
this.labels = new YAxisLabels();
return this.labels;
}
set { this.labels = value; }
}
public void SetLabels(IList<string> labelsvalue)
{
Labels.SetLabels(labelsvalue);
}
}
}