円グラフの分解されたポイントを非分解または内破しようとしています。
ただし、ポイントを分解すると、それが分解されたことを「認識」しますが、チャートにはそのようには表示されません。
Protected Sub Chart2_Click(sender As Object, e As ImageMapEventArgs) Handles Chart2.Click
Dim pointIndex As Int32 = Int32.Parse(e.PostBackValue)
If pointIndex >= 0 & pointIndex < Series1.Points.Count Then
If Series1.Points(pointIndex)("Exploded") = "True" Then
Series1.Points(pointIndex)("Exploded") = "False"
Series1.Points(pointIndex).MapAreaAttributes += "onclick=""alert('Test explode alert');"""
Else
Series1.Points(pointIndex)("Exploded") = "True"
End If
End If
End Sub
「テスト爆発アラート」が表示されますが、パイ ポイントはその時点で視覚的に爆発していません。
を削除するSeries1.Points(pointIndex)("Exploded") = "False"
と、ポイントが視覚的に分解されますが、内破/分解解除されません。
分解されたパイ ポイントを内破または非分解するにはどうすればよいですか?