All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vaadin.flow.component.charts.model.Global Maven / Gradle / Ivy

There is a newer version: 24.4.12
Show newest version
package com.vaadin.flow.component.charts.model;

/*-
 * #%L
 * Vaadin Charts for Flow
 * %%
 * Copyright (C) 2014 - 2019 Vaadin Ltd
 * %%
 * This program is available under Commercial Vaadin Add-On License 3.0
 * (CVALv3).
 * 
 * See the file licensing.txt distributed with this software for more
 * information about licensing.
 * 
 * You should have received a copy of the CVALv3 along with this program.
 * If not, see .
 * #L%
 */


import javax.annotation.Generated;

/**
 * Global options that don't apply to each chart. These options, like the
 * lang options, must be set using the
 * Highcharts.setOptions method.
 * 
 * 
 * Highcharts.setOptions({
 * 	global: {
 * 		useUTC: false
 * 	}
 * });
 * 
*/ @Generated(value = "This class is generated and shouldn't be modified", comments = "Incorrect and missing API should be reported to https://github.com/vaadin/vaadin-charts-flow/issues/new") public class Global extends AbstractConfigurationObject { private String VMLRadialGradientURL; private String timezone; private Number timezoneOffset; private Boolean useUTC; public Global() { } /** * @see #setVMLRadialGradientURL(String) */ public String getVMLRadialGradientURL() { return VMLRadialGradientURL; } /** * Path to the pattern image required by VML browsers in order to draw * radial gradients. *

* Defaults to: * http://code.highcharts.com/{version}/gfx/vml-radial-gradient.png */ public void setVMLRadialGradientURL(String VMLRadialGradientURL) { this.VMLRadialGradientURL = VMLRadialGradientURL; } /** * @see #setTimezone(String) */ public String getTimezone() { return timezone; } /** * Requires moment.js. If the timezone * option is specified, it creates a default getTimezoneOffset function that * looks up the specified timezone in moment.js. If moment.js is not * included, this throws a Highcharts error in the console, but does not * crash the chart. *

* Defaults to: undefined */ public void setTimezone(String timezone) { this.timezone = timezone; } /** * @see #setTimezoneOffset(Number) */ public Number getTimezoneOffset() { return timezoneOffset; } /** * The timezone offset in minutes. Positive values are west, negative values * are east of UTC, as in the ECMAScript getTimezoneOffset method. Use this to display UTC based data in a * predefined time zone. *

* Defaults to: 0 */ public void setTimezoneOffset(Number timezoneOffset) { this.timezoneOffset = timezoneOffset; } /** * @see #setUseUTC(Boolean) */ public Boolean getUseUTC() { return useUTC; } /** * Whether to use UTC time for axis scaling, tickmark placement and time * display in Highcharts.dateFormat. Advantages of using UTC is * that the time displays equally regardless of the user agent's time zone * settings. Local time can be used when the data is loaded in real time or * when correct Daylight Saving Time transitions are required. *

* Defaults to: true */ public void setUseUTC(Boolean useUTC) { this.useUTC = useUTC; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy