コード例 #1
0
        /// <summary>
        /// This is the method that actually does the work.
        /// </summary>
        /// <param name="DA">The DA object is used to retrieve from inputs and store in outputs.</param>
        protected override void SolveInstance(IGH_DataAccess DA)
        {
            ScatterPlotMatrixData  data  = null;
            ScatterPlotMatrixStyle style = null;

            if (!DA.GetData <ScatterPlotMatrixData>(0, ref data))
            {
                return;
            }
            if (!DA.GetData <ScatterPlotMatrixStyle>(1, ref style))
            {
                return;
            }

            D3jsLib.ScatterPlotMatrix.ScatterPlotMatrix chart = new D3jsLib.ScatterPlotMatrix.ScatterPlotMatrix(data, style);

            DA.SetData(0, chart);
        }
コード例 #2
0
 /// <summary>
 ///     Scatter Plot Matrix Chart
 /// </summary>
 /// <param name="Data">Data</param>
 /// <param name="Style">Style</param>
 /// <returns name="Chart">Chart.</returns>
 public static D3jsLib.ScatterPlotMatrix.ScatterPlotMatrix Chart(ScatterPlotMatrixData Data, ScatterPlotMatrixStyle Style)
 {
     D3jsLib.ScatterPlotMatrix.ScatterPlotMatrix chart = new D3jsLib.ScatterPlotMatrix.ScatterPlotMatrix(Data, Style);
     return(chart);
 }