■72477 / ) |
Re[7]: Chartに罫線を引きたいのです。 |
□投稿者/ shu (588回)-(2014/06/11(Wed) 10:22:25)
|
■No72476 (沙奈 さん) に返信
> Private Sub Chart1_PostPaint(ByVal sender As Object, ByVal e As System.Windows.Forms.DataVisualization.Charting.ChartPaintEventArgs) Handles Chart1.PostPaint
> を、
> Private Sub Chart1_PrePaint(ByVal sender As Object, ByVal e As System.Windows.Forms.DataVisualization.Charting.ChartPaintEventArgs) Handles Chart1.PrePaint
> にはしてみましたがすみません。それ以上は分かりません。
>
Private Sub Chart1_PrePaint(~) Handles Chart1.PrePaint
If keisen Then
x1 = ・・・
e.ChartGraphics.Graphics.DrawLine(Pens.Black, x1, 0, x1, Chart1.Height)
End If
End Sub
|
|