QPR ProcessAnalyzer Graph Charts: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
No edit summary  | 
				|||
| Line 59: | Line 59: | ||
     }  |      }  | ||
   ]  |    ]  | ||
}  | |||
</pre>  | |||
Example for hiding the second Y-axis.  | |||
<pre>  | |||
{  | |||
 "yAxis": [  | |||
   {  | |||
     "visible": true  | |||
   },  | |||
   {  | |||
     "visible": false  | |||
   }  | |||
 ]  | |||
}  | }  | ||
</pre>  | </pre>  | ||
Revision as of 13:09, 2 October 2020
Graph Functionalities
Graph has the following functionalities:
Customization Examples
Example for hiding legend.
{
  "legend": {
    "enabled": false
  }
}
Example for forcing a minimum value for the first (left side) Y-axis.
{
  "yAxis": [
    {
      "min": 0,
      "max": 100
    }
  ]
}
Example for forcing a minimum value for two Y-axes (left and right side).
{
  "yAxis": [
    {
      "min": 0,
      "max": 100
    },
        {
      "min": 0,
      "max": 10000
    }
  ]
}
Example for forcing a minimum and maximum value for the second (right side) Y-axis without forcing a maximum value on the first (left side) Y-axis and giving custom titles for the two Y-axes.
{
  "yAxis": [
    {
      "min": 0,
      "title": {
        "text": "Left Y-axis"
      }
    },
    {
      "min": 0,
      "max": 100,
      "title": {
        "text": "Right Y-axis"
      }
    }
  ]
}
Example for hiding the second Y-axis.
{
 "yAxis": [
   {
     "visible": true
   },
   {
     "visible": false
   }
 ]
}
Example for forcing a minimum value for the X-axis.
{
  "xAxis": {
    "min": 0,
    "max": 10
  }
}
Example for reversing order for the Y-axis.
{
  "yAxis": [
    {
      "reversed": true
    }
  ]
}