Global variables and functions.
true
to automatically load the related store from a remote source when instantiated.
Defaults to: false
true to automatically synchronize the related store with the remote source
Defaults to: false
Exports an SVG document to an image. To do this, the SVG string must be sent to a remote server and processed.
A post request is made to the URL. The following fields are sent:
It is expected that the user will be prompted with an image download. As such, the following options should be set on the server:
Important: By default, chart data is sent to a server operated by Sencha to do data processing. You may change this default by setting the defaultUrl of this class. In addition, please note that this service only creates PNG images.
The default URL to submit the form request.
Defaults to: "http://svg.sencha.io"
The name of the height parameter to be sent to the server. The Sencha IO server expects it to be the default value.
Defaults to: "height"
A list of export types supported by the server
Defaults to: ["image/png", "image/jpeg"]
The name of the svg parameter to be sent to the server. The Sencha IO server expects it to be the default value.
Defaults to: "svg"
The name of the type parameter to be sent to the server. The Sencha IO server expects it to be the default value.
Defaults to: "type"
This method has been deprecated
as of v2.0.0 on an association. Instead use the store configuration.
Creates a function that returns an Ext.data.Store which is configured to load a set of data filtered
by the owner model's primary key - e.g. in a hasMany
association where Group hasMany
Users, this function
returns a Store configured to return the filtered set of a single Group's Users.
The store-generating function.
Exports the surface to an image
The SVG document.
The following config options are supported:
A width to send to the server to for configuring the image width (required)
A height to send to the server for configuring the image height (required)
The url to post the data to. Defaults to the defaultUrl configuration on the class.
The type of image to export. See the supportedTypes
The name of the width parameter to send to the server. Defaults to widthParam
The name of the height parameter to send to the server. Defaults to heightParam
The name of the type parameter to send to the server. Defaults to typeParam
The name of the svg parameter to send to the server. Defaults to svgParam
True if the surface was successfully sent to the server.
Read associated data
The record we're writing to.
The reader for the associated model.
The raw associated data.