[RESOLVIDO] Gráficos de tempo IReports ?  XML
Índice dos Fóruns » Ferramentas, Frameworks e Utilitários
Autor Mensagem
Metaleiro
Virtual Machine Man
[Avatar]

Membro desde: 06/07/2006 10:55:54
Mensagens: 671
Localização: São Bernardo do Campo - SP
Offline


Alguém já usou um gráfico desses no Ireport, um exemplo:

Tenho três (ou mais) corredores, cada um irá correr em um período diferente de tempo:

o primeiro das 3 as 3:15
o segundo das 3:05 as 3:10
o terceiro das 3:03 as 3:18

Tentei o time series, mas ele sempre pede uma expressão de tempo e um valor numérico, no caso tenho um índice e hora inicial e final, alguém saberia como usar um gráfico assim ?

Desde já agradeço !







This message was edited 2 times. Last update was at 30/12/2010 10:21:03


"Why, Mr. Anderson? Why do you do it? Why get up? Why keep fighting? Do you believe you're fighting for something? For more than your survival? Can you tell me what it is? Do you even know? Is it freedom? Or truth? Perhaps peace? Yes? No? Could it be for love? Illusions, Mr. Anderson. Vagaries of perception. The temporary constructs of a feeble human intellect trying desperately to justify an existence that is without meaning or purpose. And all of them as artificial as the Matrix itself, although only a human mind could invent something as insipid as love. You must be able to see it, Mr. Anderson. You must know it by now. You can?t win. It?s pointless to keep fighting. Why, Mr. Anderson? Why? Why do you persist?"

Neo :
-Because is my choice

Metaleiro
Virtual Machine Man
[Avatar]

Membro desde: 06/07/2006 10:55:54
Mensagens: 671
Localização: São Bernardo do Campo - SP
Offline

Resolvi da seguinte forma, não é a mais correta, mas por enquanto fiz assim, calculei o tempo decorrente em minutos e na expressão do Time Series coloquei esse valor, assim coloquei o tempo inicial pelos minutos decorrentes:




Se alguém tiver alguma idéia, agradeço, os gráficos geralmente não possuem um tempo inicial e final


"Why, Mr. Anderson? Why do you do it? Why get up? Why keep fighting? Do you believe you're fighting for something? For more than your survival? Can you tell me what it is? Do you even know? Is it freedom? Or truth? Perhaps peace? Yes? No? Could it be for love? Illusions, Mr. Anderson. Vagaries of perception. The temporary constructs of a feeble human intellect trying desperately to justify an existence that is without meaning or purpose. And all of them as artificial as the Matrix itself, although only a human mind could invent something as insipid as love. You must be able to see it, Mr. Anderson. You must know it by now. You can?t win. It?s pointless to keep fighting. Why, Mr. Anderson? Why? Why do you persist?"

Neo :
-Because is my choice

 
Índice dos Fóruns » Ferramentas, Frameworks e Utilitários
Ir para:   
Powered by JForum 2.1.8 © JForum Team