增加Covert XY Axis互换XY轴配置

This commit is contained in:
monitor1394
2020-04-18 12:31:21 +08:00
parent d5fbce2e36
commit bc332ebebb
13 changed files with 254 additions and 5 deletions

View File

@@ -98,7 +98,6 @@ namespace XCharts
public LineStyle()
{
}
public LineStyle(float width)
@@ -112,6 +111,26 @@ namespace XCharts
this.width = width;
}
public LineStyle Clone()
{
var lineStyle = new LineStyle();
lineStyle.show = show;
lineStyle.type = type;
lineStyle.color = color;
lineStyle.width = width;
lineStyle.opacity = opacity;
return lineStyle;
}
public void Copy(LineStyle lineStyle)
{
show = lineStyle.show;
type = lineStyle.type;
color = lineStyle.color;
width = lineStyle.width;
opacity = lineStyle.opacity;
}
public Color GetColor()
{
var color = m_Color;