示例#1
0
    /// <summary>
    /// This is called when the user selects the DataPoint.
    /// The call is delegated to the ScatterplotMatrix so that it
    /// can be forwarded to all the Scatterplots.
    /// This way if a DataPoint with a given index is selected, the
    /// same DataPoint in other Scatterplots are highlighted as well.
    /// </summary>
    public void selectDatapoint()
    {
        ScatterplotMatrix scatterplotMatrix = scatterplot.GetComponentInParent <ScatterplotMatrix>();

        scatterplotMatrix.SelectDataPoint(index);
    }
示例#2
0
    /// <summary>
    /// This is called when the user selects the DataPoint.
    /// The call is delegated to the ScatterplotMatrix so that it
    /// can be forwarded to all the Scatterplots.
    /// This way if a DataPoint with a given index is selected, the
    /// same DataPoint in other Scatterplots are highlighted as well.
    /// </summary>
    /// <param name="iSelection"></param>
    protected void VRAction(VRSelection iSelection)
    {
        ScatterplotMatrix scatterplotMatrix = scatterplot.GetComponentInParent <ScatterplotMatrix>();

        scatterplotMatrix.SelectDataPoint(index);
    }