Ver Mensaje Individual
  #2  
Antiguo 20-01-2011
Avatar de Neftali [Germán.Estévez]
Neftali [Germán.Estévez] Neftali [Germán.Estévez] is online now
[becario]
 
Registrado: jul 2004
Ubicación: Barcelona - España
Posts: 19.441
Reputación: 10
Neftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en bruto
Añade manualmente los valores a la serie.
Primero los 4 valores fijos y luego haz un recorrido por la tabla y añádelos de forma manual.

Código Delphi [-]
  // Limpiar la serie // inicializar
  dbchtPerfil.Series[0].Clear;

  // puntos manuales
  ...

  // Preparar el DataSet
  FormData.cdsPoints.First;
  while not (FormData.cdsPoints.Eof) do begin
    // Dato
    Str := FormData.cdsPointsele.AsString;
    d := StrToFloat(Str);
    // Añadir el punto
    dbchtPerfil.Series[0].Add(d, '');
    // siguiente
    FormData.cdsPoints.Next;
  end;

Donde pone "// puntos manuales" puedes añadir los puntos fijos en la forma en que se añaden los del DataSet.
__________________
Germán Estévez => Web/Blog
Guía de estilo, Guía alternativa
Utiliza TAG's en tus mensajes.
Contactar con el Clubdelphi

P.D: Más tiempo dedicado a la pregunta=Mejores respuestas.
Responder Con Cita