let me first say ... that I really love this module.

I have not much experience in creating graphs in Drupal. However I managed to create a simple line-chart very easily. So far so good ...

I used something really simple, with a couple of nodes, a datefield, a field for sold-apples and another one for sold bananas. with 4 days in a row, 4 dates one after another - no problem. Now, lets say ... i am not selling anything for a couple of days .... but then after an interruption of 3 days another node is created with sold apples and bananas.

problem here: that this first date after the interruption is added in the line-chart at exactly the same distance as if that date was just a 1-day-step from the last date anything was sold. my question is, if there is a solution in this module, some technique , that takes respect to the fact that no nodes were created for a couple of days ... and place the date after the interrupt in distance from the last nodes day, in distance proportionate to the amount of days that the interrupst lasted.

i tried to resolve this by adding one more field showing ContentNID, and aggregation-settings as COUNT ... and I hoped EVERY day would be displayed on the X-axis, not only days when actually any nodes very created. But I was wrong ..the graph still keeps the first date after the interrupt in an unproportionate close distance .... as if there were no dates inbetweein (when no nodes where created, since nothing was sold)

what I could do now is ... would be to create nodes for every date, and leave the fruit-fields emptyp or enter zero, but I guess both would have the same effect. it might bring the date after the interrupt to a correct, proportionate disctance from the last day something was sold, but the line chart would go down to zero and be there, where I would love to just interpolate between the dates when interrupt started and interrupt ended ...

i hope i could explain this reasonably well ... and that somebody might direct me into correct solution !

Comments

Niremizov’s picture

Status: Active » Fixed

You should give data to charts exactly as you want it to be shown. Technic that you have selected is ok.

I'm going to close this issue, if it is still actual you are free to open it.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.