Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/07/2004, 20:03
orharo2003
 
Fecha de Ingreso: abril-2004
Ubicación: México D.F.
Mensajes: 1.724
Antigüedad: 20 años, 1 mes
Puntos: 4
Claro que se puede. Puedes hacerlo con HTML, usando tablas, De forma más profesional yo uso owc.

En este ultimo caso tendrías que estar un poco acostumbrado con VBA, me refiero a los objetos de excel. Ejemplo:

Set pie = server.CreateObject("MSGraph.Chart")
Set ds = pie.Application.DataSheet
ds.Cells.Clear
pie.Width = 500
pie.Height = 500



ds.Cells(1, 2).Value = "TITI alain"
ds.Cells(2, 2).Value = "11,20"
ds.Cells(1, 3).Value = "vient gérard"
ds.Cells(2, 3).Value = "15"

ds.Cells(1, 4).Value = "TOTO FABRICE"
ds.Cells(2, 4).Value = "17"
ds.Cells(1, 5).Value = "EMILE CLAUDE"
ds.Cells(2, 5).Value = "19"
ds.Cells(1, 6).Value = "BERNARD BERNARD"
ds.Cells(2, 6).Value = "20"
ds.Cells(1, 7).Value = "TUTU ALAIN"
ds.Cells(2, 7).Value = "22"
pie.ChartType = 99
pie.HasLegend = true
pie.HasTitle = true
pie.ChartTitle.Text = "A test Chart"
pie.Legend.Font.Size = 50
pie.Legend.AutoScaleFont = false
pie.ApplyDataLabels
pie.SeriesCollection(1).DataLabels.AutoScaleFont = True
pie.SeriesCollection(1).DataLabels.Font.Size = 8
pie.ChartArea.Interior.ColorIndex = 2
pie.PlotArea.Width = 200
pie.PlotArea.Height = 200

tFile = Server.MapPath("pie.gif")

pie.Export tFile
%>
<img src="pie.gif">