소스입니다.
FarPoint.Win.Chart.LineSeries series1 = new FarPoint.Win.Chart.LineSeries();
series1.SmoothedLine = true;
FarPoint.Win.Chart.YPlotArea plotArea = new FarPoint.Win.Chart.YPlotArea();
plotArea.Location = new System.Drawing.PointF(0.1f, 0.1f);
plotArea.Size = new System.Drawing.SizeF(0.8f, 0.8f);
plotArea.Series.Add(series1);
FarPoint.Win.Chart.ChartModel model = new FarPoint.Win.Chart.ChartModel();
model.PlotAreas.Add(plotArea);
FarPoint.Win.Spread.Chart.SpreadChart chart = new FarPoint.Win.Spread.Chart.SpreadChart();
chart.Size = new Size(800, 400);
chart.Location = new Point(20, 430);
chart.Model = model;
//FarPoint.Win.Spread.Model.CellRange range = new FarPoint.Win.Spread.Model.CellRange(0, 0, 19, 52);
fpSpread1.Sheets[0].Charts.Add(chart);
FarPoint.Win.Chart.LabelArea label = new FarPoint.Win.Chart.LabelArea();
label.Text = "차트의 제목"; // 차트 제목 설정
label.AlignmentX = 0.5F; // 차트 제목 가운데 정렬
label.Location = new PointF(0.5F, 0.02F); // 차트 제목 위치 설정
chart.Model.LabelAreas.Add(label); // LabelArea 객체 추가
01. 시트에 레인지를 표시하는 방법을 가르쳐 주세요.
02. 시트에 레인지가 시트의 처음과 끝을 표시했지만
그래프에서는 X축과 Y축이 0 인 부분 부터 시작하고 싶습니다.
(.NET 그래프에서 AxisY.Minimum, Maximum 등의 표시입니다.)
03. x, y 축의 interval 값을 변동하고 싶습니다.
(.NET 그래프에서 AxisY.Interval, AxisX.Interval 표시입니다.)
부탁 드립니다.