Enistic Graphing API

What is the Enistic Embedding API
The API allows you to embed image graphs from the Enistic Dashboard on your website.
How to use
You must form a url containing which kind of graph you wish to view, username, password and account number using the following format:
http://www.enistic.com/dashboard6_graph.php?what=graph_type&username=your_user_email&password=your_password&account=your_account
Text in bold must be replaced with values as decribed below:
graph_type


| Type name | Graph Example | URL Example |
|---|---|---|
| Hour | ![]() |
http://www.enistic.com/dashboard6_graph.php?what=hour&username=your_user_email &password=your_password&account=your_account |
| Day | ![]() |
http://www.enistic.com/dashboard6_graph.php?what=day&username=your_user_email &password=your_password&account=your_account |
| Month | ![]() |
http://www.enistic.com/dashboard6_graph.php?what=month&username=your_user_email &password=your_password&account=your_account |
| Pie | ![]() |
http://www.enistic.com/dashboard6_graph.php?what=pie&username=your_user_email &password=your_password&account=your_account |
| Cat | ![]() |
http://www.enistic.com/dashboard6_graph.php?what=cat&username=your_user_email &password=your_password&account=your_account |


your_user_email
This is simply the email address you use to login to the Enistic website.
your_password
This is the password for the user account your specified.
your_account_number
Your account number is written in the top right corner of the page when you are logged in.
width (optional)
You can specify the width of the graph in pixels, the default is 650.
height (optional)
You can specify the height of the graph in pixels, the default is 400.
Once you have formed the url enter it into a web browser and you will either receive an error message with a description of the problem or a graph will be displayed.
Now you have confirmed that the url works you can embed it into a HTML web page as demostrated below:


| Example |
|---|
|
<html> <head> </head> <body> <img src="http://www.enistic.com/dashboard6_graph.php?what=hour&username=your_user_email &password=your_password&account=your_account&width=1000&height=500"/> </body> </html> |








