Hi Edoardo, This example talks about loading existing charts, but what we want is to load them but use a different relative time period.
For example if a chart has time period last 6 months then, it would load last six months of data (aug, jul, jun, may, apr, feb 2017) but what we want is to set the relative time period different like I want 6 months of data starting june of 2016 it will be (jan, feb mar apr may jun) Thanks, Sultan Ahamar. On Thu, Sep 14, 2017 at 12:14 PM, Edoardo Sabadelli <edoa...@dhis2.org> wrote: > Hello! > > It seems that the example in the documentation > (https://docs.dhis2.org/master/en/developer/html/ > webapi_plugins.html#webapi_chart_plugin) > is incomplete. > > The instruction for actually loading the favorite/custom chart config > is missing: > > This is the command: > > chartPlugin.load(r1, r2); > > Have a look at https://github.com/dhis2/charts-app/blob/master/plugin.html > for a working example. > > Hope this helps. > > Regards, > > On Thu, Sep 14, 2017 at 7:30 AM, Sultanahamar Mohammad > <sult...@thoughtworks.com> wrote: > > Hi Team, > > > > We want to use high charts plugins in our DHIS custom apps. We have been > > through developer guide and found plugins part where there are 2 examples > > for each but they do not fit our requirement. What we are looking > towards is > > to create charts/tables in all 4 visualization apps and show them in > custom > > app but with a different relative period date. Could you please let us > know > > on how to proceed > > > > Thanks and Regards, > > Sultan Ahamar. > > > > _______________________________________________ > > Mailing list: https://launchpad.net/~dhis2-devs > > Post to : dhis2-d...@lists.launchpad.net > > Unsubscribe : https://launchpad.net/~dhis2-devs > > More help : https://help.launchpad.net/ListHelp > > > > > > -- > Edoardo Sabadelli > DHIS 2 > University of Oslo > edoa...@dhis2.org > http://www.dhis2.org >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-users Post to : dhis2-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-users More help : https://help.launchpad.net/ListHelp