1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- // Licensed to the .NET Foundation under one or more agreements.
- // The .NET Foundation licenses this file to you under the MIT license.
- // See the LICENSE file in the project root for more information.
- //
- // Purpose: CircularChartAreaAxis is a helper class which is used
- // in circular chart areas for charts like Polar and
- // Radar.
- //
- using System.Drawing;
- namespace FastReport.DataVisualization.Charting
- {
- /// <summary>
- /// CircularChartAreaAxis class represents a single axis in the circular
- /// chart area chart like radar or polar. It contains axis angular
- /// position, size and title properties.
- /// </summary>
- internal class CircularChartAreaAxis
- {
- #region Fields
- /// <summary>
- /// Angle where axis is located.
- /// </summary>
- internal float AxisPosition = 0f;
- /// <summary>
- /// Axis title.
- /// </summary>
- internal string Title = string.Empty;
- /// <summary>
- /// Axis title color.
- /// </summary>
- internal Color TitleForeColor = Color.Empty;
- #endregion
- #region Constructors
- /// <summary>
- /// Constructor.
- /// </summary>
- public CircularChartAreaAxis()
- {
- }
- /// <summary>
- /// Constructor.
- /// </summary>
- internal CircularChartAreaAxis(float axisPosition)
- {
- this.AxisPosition = axisPosition;
- }
- #endregion
- }
- }
|