Rename min/max documents into from/to (#16638)

This commit is contained in:
Tim Roes 2018-02-09 17:06:29 +02:00 committed by GitHub
parent 4b5e1cb3d1
commit 1554315b50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,9 +20,9 @@ import { EmbeddedVisualizeHandler } from './embedded_visualize_handler';
* don't pass a uiState, the visualization will creates it's own uiState to
* store information like whether the legend is open or closed, but you don't
* have access to it from the outside. Pass one in if you need that access.
* @property {object} timeRange An object with a min/max key, that must be
* @property {object} timeRange An object with a from/to key, that must be
* either a date in ISO format, or a valid datetime Elasticsearch expression,
* e.g.: { min: 'now-7d/d', max: 'now' }
* e.g.: { from: 'now-7d/d', to: 'now' }
* @property {boolean} showSpyPanel Whether or not the spy panel should be available
* on this chart. If set to true, spy panels will only be shown if there are
* spy panels available for this specific visualization, since not every visualization