We are working with the eventchart plugin and want to understand the
- When we specify the "startDate" and "endDate" config params and on the
favorite the relative period is "last 6 months", then we are always getting
the chart rendered with time axis between March and August. The data lying
between these months and also satisfying the 'startDate' and 'endDate'
criterion gets displayed.
Is this is expected? Does modifying the startDate and endDate not modify
the period axis?
Although the analytics API is honoring the start and end dates properly.
The data that we get from the API call has all the data between the
specified start and end dates. It's the plugin which is not displaying the
data as returned by the API. But displays only between the configured
periodicity of the favorite.
Any help would be much appreciated.
On Thu, Sep 22, 2016 at 2:25 PM, Vanya Seth <van...@thoughtworks.com> wrote:
> Thanks Jan.
> On Thu, Sep 22, 2016 at 1:44 PM, Jan Henrik Øverland <j...@dhis2.org>
>> Hi Vanya,
>> Agreed. I'm swamped with work though for 2.25, but let's see what we can
>> do as soon as it's out.
>> Also, the plugin will be upgraded along with the ER refactor for 2.26, so
>> things like what you describe here will definitley be fixed by then.
>> On 22 September 2016 at 08:48, Vanya Seth <van...@thoughtworks.com>
>>> Hi Jan
>>> Thanks for adding the issue.
>>> Couple of interesting points that you might want to consider.
>>> Whenever there is an issue in the configuration of the viz object, say
>>> the "pe" dimension is missing. The plugin creates a web alert with the
>>> error message. But when we are using this plugin in the context of a custom
>>> app where on a single web page there might be lot of visualization objects.
>>> Then the web alert really falls out of place. It's nearly impossible for
>>> the end user to make out which chart or report is faulty.
>>> Ideally it would be good if the plugin could throw an exception or write
>>> the error message on the DOM element. That ways its more intuitive. And I
>>> believe we are doing the same when there are "no values in the system" for
>>> the given viz object config.
>>> Let me know if you need more information.
>> Jan Henrik Øverland
>> Software developer, DHIS 2
>> University of Oslo
>> http://www.dhis2.org <https://www.dhis2.org/>
> With Regards
> ThoughtWorks Technologies
> --Stay Hungry Stay Foolish!!
--Stay Hungry Stay Foolish!!
Mailing list: https://launchpad.net/~dhis2-devs
Post to : email@example.com
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp