更改 MSChart 中轴的标签 VB.NET
change the label of the Axes in MSChart VB.NET
如何将 MSChart VB.NET 中轴的标签更改为类似这样的内容。
图中显示的是Volume^3(但是3在上标)
总之我得到了答案。
Dim UnicodeSuperscriptConversion As New Dictionary(Of String, String) From
{
{"0", ChrW(&H2070)},
{"1", ChrW(&HB9)},
{"2", ChrW(&HB2)},
{"3", ChrW(&HB3)},
{"4", ChrW(&H2074)},
{"5", ChrW(&H2075)},
{"6", ChrW(&H2076)},
{"7", ChrW(&H2077)},
{"8", ChrW(&H2078)},
{"9", ChrW(&H2079)},
{".", ChrW(&HB7)},
{"-", ChrW(&H207B)}
}
Dim newString As String = ""
newString += UnicodeSuperscriptConversion(3) '3 for cube.
如何将 MSChart VB.NET 中轴的标签更改为类似这样的内容。
图中显示的是Volume^3(但是3在上标)
总之我得到了答案。
Dim UnicodeSuperscriptConversion As New Dictionary(Of String, String) From
{
{"0", ChrW(&H2070)},
{"1", ChrW(&HB9)},
{"2", ChrW(&HB2)},
{"3", ChrW(&HB3)},
{"4", ChrW(&H2074)},
{"5", ChrW(&H2075)},
{"6", ChrW(&H2076)},
{"7", ChrW(&H2077)},
{"8", ChrW(&H2078)},
{"9", ChrW(&H2079)},
{".", ChrW(&HB7)},
{"-", ChrW(&H207B)}
}
Dim newString As String = ""
newString += UnicodeSuperscriptConversion(3) '3 for cube.