Re: [Dhis2-users] [Dhis2-devs] High charts developer guide.

2017-09-13 Thread Sultanahamar Mohammad
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

Re: [Dhis2-users] [Dhis2-devs] High charts developer guide.

2017-09-13 Thread Edoardo Sabadelli
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

[Dhis2-users] High charts developer guide.

2017-09-13 Thread Sultanahamar Mohammad
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

Re: [Dhis2-users] Installation of DHIS2 on Windows 10 Laptop

2017-09-13 Thread Knut Staring
Or just delete the environment variable On Wed, Sep 13, 2017 at 4:20 PM, Fran Kimonye wrote: > My database name is dhis2. > > I should set my Environment variable DHIS_HOME: C:/PATH/Projects/DHIS2/1/ > dhis-live/conf > > On Wed, Sep 13, 2017 at 5:09 PM, Knut Staring wrote: > >> So your database

Re: [Dhis2-users] Installation of DHIS2 on Windows 10 Laptop

2017-09-13 Thread Knut Staring
So your database is called dhis2? And dhis.conf is in C:/PATH/Projects/DHIS2/1/dhis-live/conf ? Then I think the problem may be that you have set the Environment variable DHIS2_HOME: C:\DHIS2, which is a different location. On Wed, Sep 13, 2017 at 4:04 PM, Fran Kimonye wrote: > Hi Knut, > > ki

[Dhis2-users] Maybe a bug in DHIS2 2.26

2017-09-13 Thread Carlos Nyembwe
Hello All [image: Inline image 1] -- *Carlos Nyembwe* *I'm just a Computer Scientist* *Skype: carloscnk1* *Cell: (+243)813166381* *Find me in: | Google Plus | **Linkedin | Facebook

Re: [Dhis2-users] Installation of DHIS2 on Windows 10 Laptop

2017-09-13 Thread Knut Staring
You should see a black MS-DOS command window with lots of text. My guess is that there is something wrong with the connection file, probably one of the following a) the database name b) the postgres username c) the password On Wed, Sep 13, 2017 at 2:46 PM, Fran Kimonye wrote: > Hi knut, > > Thi

Re: [Dhis2-users] Installation of DHIS2 on Windows 10 Laptop

2017-09-13 Thread Knut Staring
Here are some old slides that may be helpful On Wed, Sep 13, 2017 at 2:02 PM, Knut Staring wrote: > Go into the /conf folder and open the file dhis.conf with an editor, e.g. > WordPad or Notepad++ > > Then configure the file like the first section here: > https://docs.dhis2.org/2.27/en/implemen

Re: [Dhis2-users] Installation of DHIS2 on Windows 10 Laptop

2017-09-13 Thread Knut Staring
Go into the /conf folder and open the file dhis.conf with an editor, e.g. WordPad or Notepad++ Then configure the file like the first section here: https://docs.dhis2.org/2.27/en/implementer/html/install_dhis2_configuration_reference.html In the following line, you can change the last word (dhis

Re: [Dhis2-users] Installation of DHIS2 on Windows 10 Laptop

2017-09-13 Thread Knut Staring
Yes indeed. Go into the /conf folder and open the file dhis.conf with an editor, e.g. WordPad or Notepad++ Then make sure the statements point to Postgres and to your particular backup database. Regards, Knut On Wed, Sep 13, 2017 at 1:38 PM, Peter D Lubambi wrote: > Hi Knut, > Is it possible t

Re: [Dhis2-users] Installation of DHIS2 on Windows 10 Laptop

2017-09-13 Thread Peter D Lubambi
Hi Knut, Is it possible to link the live instance with the existing database(backup)? Regards, Peter Dotto Lubambi, Skype: plubambi Mobile: +255 786 087 087 On Wed, Sep 13, 2017 at 2:04 PM, Knut Staring wrote: > Dear Francis, please sign up for the user mailing list: > https://launchpad.net/~dh

Re: [Dhis2-users] Installation of DHIS2 on Windows 10 Laptop

2017-09-13 Thread Knut Staring
Dear Francis, please sign up for the user mailing list: https://launchpad.net/~dhis2-users To run DHIS2 on your laptop, you dont need MS SQL, Tomcat or Xampp. You can just use DHIS2 Live, and connect to Postgres. Regards, Knut On Wed, Sep 13, 2017 at 1:01 PM, Fran Kimonye wrote: > i'm a newbi

[Dhis2-users] Calculation of Months of stock challenge

2017-09-13 Thread Peter D Lubambi
Dear All, Has any one done something around calculating months of stock (MOS) for each reporting entity. I am having challenge calculating MOS indicator which is calculated as Stock on hand (reported monthly) / average monthly consumption (entered annually - constant throughout months in the year)