FoxPro/Visual FoxPro - Cambiar color en mschart

 
Vista:

Cambiar color en mschart

Publicado por Pablo (26 intervenciones) el 18/01/2008 19:00:44
Hola a todos
genero un grafico con mschart y estoy necesitando cambiar los colores de las barras que me muestra el grafico, adjunto el siguiente codigo para que me ayuden y guien en donde debo modificarlo para poder cambiar los colores.
Muchas gracias
Pablo

thisform.grafico1.oBJECT.ColumnCount=1
thisform.grafico1.oBJECT.RowCount=4

lnRow=1
thisform.grafico1.Plot.SeriesCollection(lnRow).DataPoints(-1).DataPointLabel.LocationType= 6 && VtChLabelLocationTypeOutside
thisform.grafico1.Plot.SeriesCollection(lnRow).DataPoints(-1).DataPointLabel.Component=1
thisform.grafico1.Plot.SeriesCollection(lnRow).DataPoints(-1).DataPointLabel.VtFont.Size=12
thisform.grafico1.Plot.SeriesCollection(lnRow).DataPoints(-1).Brush.FillColor.set(0,0,255)

thisform.grafico1.oBJECT.Row=1
thisform.grafico1.oBJECT.RowLabel="Ideal Alumnos"
thisform.grafico1.oBJECT.Data=50
thisform.grafico1.oBJECT.Plot.SeriesCollection(1).DataPoints(-1).Brush.FillColor.Set(0,255,0)

thisform.grafico1.oBJECT.Row=2
thisform.grafico1.oBJECT.RowLabel="Real Alumnos"
thisform.grafico1.oBJECT.Data=15

thisform.grafico1.oBJECT.Row=3
thisform.grafico1.oBJECT.RowLabel="Ideal Familias"
thisform.grafico1.oBJECT.Data=35

thisform.grafico1.oBJECT.Row=4
thisform.grafico1.oBJECT.RowLabel="Real Familias"
thisform.grafico1.oBJECT.Data=20
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder