Jump to content
Software FX Community

SimonB

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by SimonB

  1. Is it possible to have two series with a different number of points.

    My two series have the same X,Y axis but they have not the same number of points. The two axis are Double.

    My series are defined as line so, do I need to add "average dummy points" to have 2 points for each X value?

    Example :

    Serie 1 (3 points) :

    (0,0), (1,1), (2,2)

    Serie 2 (4 points) :

    (0,0), (1,2), (1,3), (3,3)

    Here is what I'm used to do :

      allArrays[0] = serie1;

      allArrays[1] = serie2;

      allArrays[2] = XArray;

      base.DataSourceSettings.Fields.Add(new FieldMap("Field1", FieldUsage.Value));

      base.DataSourceSettings.Fields.Add(new FieldMap("Field2", FieldUsage.Value));

      base.DataSourceSettings.Fields.Add(new FieldMap("Field3", FieldUsage.XValue));

     Thanks

    Simon

×
×
  • Create New...