<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.foji.io/index.php?action=history&amp;feed=atom&amp;title=Dashboard_JSON_Model</id>
	<title>Dashboard JSON Model - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://docs.foji.io/index.php?action=history&amp;feed=atom&amp;title=Dashboard_JSON_Model"/>
	<link rel="alternate" type="text/html" href="https://docs.foji.io/index.php?title=Dashboard_JSON_Model&amp;action=history"/>
	<updated>2026-06-22T03:28:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://docs.foji.io/index.php?title=Dashboard_JSON_Model&amp;diff=323&amp;oldid=prev</id>
		<title>Chris.Hansen: Created page with &quot;A dashboard in FojiSoft is represented by a JSON object, which stores metadata of its dashboard. Dashboard metadata includes dashboard properties, metadata from panels, template variables, panel queries, etc.  To view the JSON of a dashboard:  # Navigate to a dashboard. # In the top navigation menu, click the &#039;&#039;&#039;Dashboard&#039;&#039;&#039; &#039;&#039;&#039;settings&#039;&#039;&#039; (gear) icon. # Click &#039;&#039;&#039;JSON Model&#039;&#039;&#039;.  == JSON fields == When a user creates a new dashboard, a new dashboard JSON object is initial...&quot;</title>
		<link rel="alternate" type="text/html" href="https://docs.foji.io/index.php?title=Dashboard_JSON_Model&amp;diff=323&amp;oldid=prev"/>
		<updated>2024-01-02T18:56:14Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;A dashboard in FojiSoft is represented by a JSON object, which stores metadata of its dashboard. Dashboard metadata includes dashboard properties, metadata from panels, template variables, panel queries, etc.  To view the JSON of a dashboard:  # Navigate to a dashboard. # In the top navigation menu, click the &amp;#039;&amp;#039;&amp;#039;Dashboard&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;settings&amp;#039;&amp;#039;&amp;#039; (gear) icon. # Click &amp;#039;&amp;#039;&amp;#039;JSON Model&amp;#039;&amp;#039;&amp;#039;.  == JSON fields == When a user creates a new dashboard, a new dashboard JSON object is initial...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A dashboard in FojiSoft is represented by a JSON object, which stores metadata of its dashboard. Dashboard metadata includes dashboard properties, metadata from panels, template variables, panel queries, etc.&lt;br /&gt;
&lt;br /&gt;
To view the JSON of a dashboard:&lt;br /&gt;
&lt;br /&gt;
# Navigate to a dashboard.&lt;br /&gt;
# In the top navigation menu, click the &amp;#039;&amp;#039;&amp;#039;Dashboard&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;settings&amp;#039;&amp;#039;&amp;#039; (gear) icon.&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;JSON Model&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== JSON fields ==&lt;br /&gt;
When a user creates a new dashboard, a new dashboard JSON object is initialized with the following fields:&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;&amp;#039;: In the following JSON, id is shown as null which is the default value assigned to it until a dashboard is saved. Once a dashboard is saved, an integer value is assigned to the id field.&lt;br /&gt;
[[File:Visualize dashboard json fields.png|center|frameless|768x768px]]&lt;br /&gt;
Each field in the dashboard JSON is explained below with its usage:&lt;br /&gt;
[[File:Visualize dashboard json field table.png|center|frameless|712x712px]]&lt;br /&gt;
&lt;br /&gt;
=== Panels ===&lt;br /&gt;
Panels are the building blocks of a dashboard. It consists of data source queries, type of graphs, aliases, etc. Panel JSON consists of an array of JSON objects, each representing a different panel. Most of the fields are common for all panels but some fields depend on the panel type. Following is an example of panel JSON of a text panel.&lt;br /&gt;
[[File:Visualize dashboard json panels.png|center|frameless|700x700px]]&lt;br /&gt;
&lt;br /&gt;
=== Panel size and position ===&lt;br /&gt;
The gridPos property describes the panel size and position in grid coordinates.&lt;br /&gt;
&lt;br /&gt;
* w 1-24 (the width of the dashboard is divided into 24 columns)&lt;br /&gt;
* h In grid height units, each represents 30 pixels.&lt;br /&gt;
* x The x position, in same unit as w.&lt;br /&gt;
* y The y position, in same unit as h.&lt;br /&gt;
&lt;br /&gt;
The grid has a negative gravity that moves panels up if there is empty space above a panel.&lt;br /&gt;
&lt;br /&gt;
=== Timepicker ===&lt;br /&gt;
[[File:Visualize dashboard json timepicker.png|center|frameless|700x700px]]&lt;br /&gt;
Usage of the fields is explained below:&lt;br /&gt;
[[File:Visualize dashboard json timepicker fields.png|center|frameless|700x700px]]&lt;br /&gt;
&lt;br /&gt;
=== templating ===&lt;br /&gt;
The templating field contains an array of template variables with their saved values along with some other metadata, for example:&lt;br /&gt;
[[File:Visualize dashboard json templating.png|center|frameless|948x948px]]&lt;br /&gt;
Usage of the above-mentioned fields in the templating section is explained below:&lt;br /&gt;
[[File:Visualize dashboard json templating table.png|center|frameless|768x768px]]&lt;br /&gt;
[[Category:Visualize]]&lt;/div&gt;</summary>
		<author><name>Chris.Hansen</name></author>
	</entry>
</feed>