Element for displaying the results of a Google Analytics query in a Google Chart.
Example
<google-analytics-chart
type="column"
ids="ga:1174"
metrics="ga:sessions"
dimensions="ga:country"
sort="-ga:sessions"
maxResults="5">
</google-analytics-chart>
data
Objectdefault: ''
dimensions
Stringdefault: ''
endDate
Stringdefault: ''
filters
Stringdefault: ''
height
Numberdefault: 320
Sets the height of the chart on the page.
ids
Stringdefault: ''
loading
Booleandefault: false notify
True if the chart is currently loading data.
maxResults
Numberdefault: ''
metrics
Stringdefault: ''
options
Objectdefault: null
Sets the options for the chart.
Example:
{ title: "Chart title goes here", hAxis: {title: "Categories"}, vAxis: {title: "Values", minValue: 0, maxValue: 2}, legend: "none" };See Google Visualization API reference (Chart Gallery) for the options available to each chart type.
rendered
Booleandefault: false notify
True after the chart has been rendered for the first time.
samplingLevel
Stringdefault: ''
segment
Stringdefault: ''
setupReady
Boolean
True if setup is ready
sort
Stringdefault: ''
startDate
String
google-analytics-query passthrough properties See google-analytics-query for documentation startDate, endDate, data, ids, metrics, dimensions, sort, filters, segment, samplingLevel, startIndex, maxResults
startIndex
Numberdefault: ''
type
Stringdefault: 'area'
Sets the type of the chart.
Should be one of:
area
,bar
,column
,line
,pie
,geo
.
width
Numberdefault: 480
Sets the width of the chart on the page.
handleResponse(response)
default:''
setupReadyChanged(newVal, oldVal)
No comments:
Post a Comment