Zum Inhalt springen

Empfohlene Beiträge

Geschrieben

versuch es mal damit

Private Sub cmdFormat_Click()

' First, change the chart type to a 3D chart to

' see all the parts of the plot.

MSChart1.chartType = VtChChartType3dArea

' Color the backdrop light blue using

' the Plot object.

With MSChart1.Plot.Backdrop

' No color will appear unless you set the style

' property to VtFillStyleBrush.

.Fill.Style = VtFillStyleBrush

.Fill.Brush.FillColor.Set 100, 255, 200

' Add a border.

.Frame.Style = VtFrameStyleThickInner

' Set style to show a shadow.

.Shadow.Style = VtShadowStyleDrop

End With

' Color the wall of the plot yellow.

With MSChart1.Plot

' Set the style to solid.

.Wall.Brush.Style = VtBrushStyleSolid

' Set the color to yellow.

.Wall.Brush.FillColor.Set 255, 255, 0

End With

With MSChart1.Plot ' Color the plot base blue.

.PlotBase.BaseHeight = 200

.PlotBase.Brush.Style = VtBrushStyleSolid

.PlotBase.Brush.FillColor.Set 0, 0, 255

End With

End Sub

Guido

Geschrieben

schau mal in Richtung VTColor.Set(R,G,B)

sollte hiermit evtl. möglich sein kann es aber nicht genau sagen da ich selber noch nie mit dem MSChart Control gearbeitet habe.

Erstelle ein Benutzerkonto oder melde Dich an, um zu kommentieren

Du musst ein Benutzerkonto haben, um einen Kommentar verfassen zu können

Benutzerkonto erstellen

Neues Benutzerkonto für unsere Community erstellen. Es ist einfach!

Neues Benutzerkonto erstellen

Anmelden

Du hast bereits ein Benutzerkonto? Melde Dich hier an.

Jetzt anmelden

Fachinformatiker.de, 2024 by SE Internet Services

fidelogo_small.png

Schicke uns eine Nachricht!

Fachinformatiker.de ist die größte IT-Community
rund um Ausbildung, Job, Weiterbildung für IT-Fachkräfte.

Fachinformatiker.de App

Download on the App Store
Get it on Google Play

Kontakt

Hier werben?
Oder sende eine E-Mail an

Social media u. feeds

Jobboard für Fachinformatiker und IT-Fachkräfte

×
×
  • Neu erstellen...