Hi Byron,
Please find Our response to your Query regarding YAxis Labels along the the horizontal axis.
It is possible to place the YAxis Labels along the the horizontal axis by drawing Custom Axis labels along the Horizontal Axis And hiding the existing Y Axis labels. Please refer to the sample code below.
Sample Code:this.chartControl1.PrimaryYAxis.ForeColor = Color.Transparent; // To hide actual Y Axis Labels
this.chartControl1.ChartAreaPaint += new PaintEventHandler(chartControl1_ChartAreaPaint);
}
void chartControl1_ChartAreaPaint(object sender, PaintEventArgs e)
{
double min = this.chartControl1.PrimaryYAxis.Range.Min;
double Interval = this.chartControl1.PrimaryYAxis.Range.Interval;
double nInterval = this.chartControl1.PrimaryYAxis.Range.NumberOfIntervals;
float pntX = this.chartControl1.PrimaryYAxis.Rect.Right;
float pntX1 = this.chartControl1.PrimaryYAxis.GetCoordinateFromValue(min + Interval);
float pntY = this.chartControl1.PrimaryYAxis.Rect.Bottom;
float PntXDelta = pntX1 - pntY;
for (int i = 0; i <= nInterval; i++)
{
string str = (min + i * Interval).ToString();
SizeF sz = e.Graphics.MeasureString(str, this.Font);
e.Graphics.DrawString(str, this.Font, new SolidBrush(Color.Black), new PointF(pntX - (PntXDelta * i), pntY)); // Draws custom labels
I have attached a sample sample that illustrates the same in this link below.
http://websamples.syncfusion.com/samples/Chart.Windows/F76405/Sample3.htmPlease let us know if this meets your requirements. Thanks for your patience.
Regards,
Manohari.R