/// <summary> /// Parallel Coordinates Data. /// </summary> /// <param name="Headers">Names of each Axis.</param> /// <param name="Values">Values for each data point.</param> /// <returns name="Data">Parallel Coordinates Data.</returns> /// <search>parallel, coordinates, data</search> public static ParallelCoordinatesData Data( List <string> Headers, List <List <object> > Values) { ParallelCoordinatesData data = new ParallelCoordinatesData(); data.Data = ChartsUtilities.DataToJsonString(ChartsUtilities.Data2FromList(Headers, Values)); return(data); }
/// <summary> /// Normalized Stacked Bar Chart Data object. /// </summary> /// <param name="Headers">Names of all values that will be grouped. First value is always "Name".</param> /// <param name="Values">Nested List of values where first item in a sub-list is Group Name. Following items /// must match number of value names defined in Headers input. </param> /// <returns name="Data">Normalized Stacked Bar Chart Data</returns> /// <search>normalized, data, stacked, bar, chart</search> public static NormalizedStackedBarChartData Data( List <string> Headers, List <List <object> > Values) { NormalizedStackedBarChartData data = new NormalizedStackedBarChartData(); data.Data = ChartsUtilities.DataToJsonString(ChartsUtilities.Data2FromList(Headers, Values)); return(data); }
/// <summary> /// Data. /// </summary> /// <param name="Headers">Header values.</param> /// <param name="Values">Data values.</param> /// <returns name="Data">Data</returns> public static ScatterPlotMatrixData Data( List <string> Headers, List <List <object> > Values) { ScatterPlotMatrixData data = new ScatterPlotMatrixData(); data.Data = ChartsUtilities.DataToJsonString(ChartsUtilities.Data2FromList(Headers, Values)); return(data); }
/// <summary> /// Grouped Bar Chart Data. /// </summary> /// <param name="Headers"></param> /// <param name="Values"></param> /// <param name="Domain"></param> /// <returns name="Data">Grouped Bar Chart Data object</returns> public static GroupedBarChartData Data( List <string> Headers, List <List <object> > Values, [DefaultArgumentAttribute("Charts.MiscNodes.GetNull()")] Domain Domain) { GroupedBarChartData data = new GroupedBarChartData(); data.Data = ChartsUtilities.DataToJsonString(ChartsUtilities.Data2FromList(Headers, Values)); data.Domain = Domain; return(data); }