예제 #1
0
    public void SelectedAxis(string axisName, bool isParallelCoordinates)
    {
        string _attTypes = visCard.GetAttTypes();

        _rm.ChangeFatiaTag("AxisAttribute_Item");

        _instrutorSteps[1] = axisName;
        instrutor.text     = _instrutorSteps[0] + "\n" + _instrutorSteps[1] + "\n" + _instrutorSteps[2];

        switch (axisName)
        {
        case "X Axis":
            _axisID = 0;
            break;

        case "Y Axis":
            _axisID = 1;
            break;

        case "Color":
            _axisID = isParallelCoordinates ? 1 : 2;
            break;
        }

        if (_attTypes[_axisID] == 'n')
        {
            _rm.SetRadialOptions(_m.GetNumericAttributes());
            return;
        }

        _rm.SetRadialOptions(_m.GetCategoricAttributes());
    }