Download QCChart3D 3D Charting Tools for .Net - Quinn

Transcript
Contour Plotting 319
attribs(11).SetColor(Color.Salmon)
attribs(12).SetColor(Color.DarkKhaki)
.
.
.
thePlot1 = New ContourPlot(pTransform1, dataset1, contourlevels, _
attribs, lineflags, labelflags, numcontourlevels, ChartObj.CONTOUR_LINE)
thePlot1.SetPolygonGridOn(True)
thePlot1.SetContourLineAlgorithm(ChartObj.CONTOUR_LINEWALK)
Dim contourlabel As NumericLabel = thePlot1.GetPlotLabelTemplate()
Dim contourLabelFont As New Font("Microsoft Sans Serif", 8, FontStyle.Regular)
contourlabel.SetDecimalPos(0)
contourlabel.SetTextFont(contourLabelFont)
contourlabel.TextBgMode = True
contourlabel.TextBgColor = Color.White
thePlot1.SetPlotLabelTemplate(contourlabel)
chartVu.AddChartObject(thePlot1)