public static Axis CreateAxis(XElement axis1, TableMetaData table, Axis axis2) { Axis axis; if (axis2.type.ContainsCI("static")) { axis = new StaticAxis(axis1, table); } else { axis = new Axis(axis1, table); } axis.parentAxis = axis2; return(axis); }
public static Axis CreateAxis(XElement axis1, TableMetaData table, Axis axis2) { Axis axis; if(axis2.type.ContainsCI("static")) axis = new StaticAxis(axis1, table); else axis = new Axis(axis1, table); axis.parentAxis = axis2; return axis; }