增加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

@@ -125,5 +125,31 @@ namespace XCharts
};
}
}
public AxisName Clone()
{
var axisName = new AxisName();
axisName.show = show;
axisName.name = name;
axisName.location = location;
axisName.offset = offset;
axisName.rotate = rotate;
axisName.color = color;
axisName.fontSize = fontSize;
axisName.fontStyle = fontStyle;
return axisName;
}
public void Copy(AxisName axisName)
{
show = axisName.show;
name = axisName.name;
location = axisName.location;
offset = axisName.offset;
rotate = axisName.rotate;
color = axisName.color;
fontSize = axisName.fontSize;
fontStyle = axisName.fontStyle;
}
}
}