// ........................................................................ CONSTRUCTOR / INITIALIZER public override void Init(DataSet data, int[] nominalIDs, int[] ordinalIDs, int[] intervalIDs, int[] ratioIDs, bool isMetaVis = false) { base.Init(data, isMetaVis); this.pcpLineGenerator = new PCP3DLineGenerator(); this.Data = data; this.nominalIDs = nominalIDs; this.ordinalIDs = ordinalIDs; this.intervalIDs = intervalIDs; this.ratioIDs = ratioIDs; int numberOfObjects = data.infoObjects.Count; if (numberOfObjects > 20) { accordionLength = 2f / numberOfObjects; } else if (numberOfObjects > 100) { accordionLength = 3f / numberOfObjects; } else if (numberOfObjects > 1000) { accordionLength = 5f / numberOfObjects; } else { accordionLength = .1f; } SetUpAxes(); DrawGraph(); }
public override void UpdateETV() { foreach (var key in infoObject2primitive.Keys) { if (infoObject2primitive[key] != null && infoObject2primitive[key].gameObject != null) { APCPLineGenerator.UpdatePolyline((APCPLine)infoObject2primitive[key], axes, true); } } }
// ........................................................................ CONSTRUCTOR / INITIALIZER public override void Init(DataSet data, int[] nominalIDs, int[] ordinalIDs, int[] intervalIDs, int[] ratioIDs, bool isMetaVis = false) { base.Init(data, isMetaVis); this.pcpLineGen = new PCP2DLineGenerator(); this.nominalIDs = nominalIDs; this.ordinalIDs = ordinalIDs; this.intervalIDs = intervalIDs; this.ratioIDs = ratioIDs; SetUpAxes(); DrawGraph(); }
public void Init(DataSet data, int[] nominalIDs, int[] ordinalIDs, int[] intervalIDs, int[] ratioIDs, AAxis axisA, AAxis axisB, bool isMetaVis = false) { base.Init(data, isMetaVis); this.pcpLineGenerator = new PCP3DLineGenerator(); this.attributeA = axisA.attributeName; this.attributeB = axisB.attributeName; this.nominalIDs = nominalIDs; this.ordinalIDs = ordinalIDs; this.intervalIDs = intervalIDs; this.ratioIDs = ratioIDs; axes = new Dictionary <string, AAxis>(); axes.Add(axisA.attributeName, axisA); axes.Add(axisB.attributeName, axisB); }