コード例 #1
0
        protected virtual void Create()
        {
            _chartItem = new vtkChartXY();

            _textBox = new FloatingTextBox();

            vtkChartXY chart = (vtkChartXY)_chartItem;

            _lAxis = chart.GetAxis((int)vtkAxis.Location.LEFT);
            vtkTextProperty titleProps = _lAxis.GetTitleProperties();

            titleProps.SetOpacity(0.0);

            _bAxis     = chart.GetAxis((int)vtkAxis.Location.BOTTOM);
            titleProps = _bAxis.GetTitleProperties();
            titleProps.SetOpacity(0.0);

            _rAxis     = chart.GetAxis((int)vtkAxis.Location.RIGHT);
            titleProps = _rAxis.GetTitleProperties();
            titleProps.SetOpacity(0.0);

            _tAxis     = chart.GetAxis((int)vtkAxis.Location.TOP);
            titleProps = _tAxis.GetTitleProperties();
            titleProps.SetOpacity(0.0);
        }