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

org.fujion.highcharts.ChartInstance Maven / Gradle / Ivy

There is a newer version: 3.1.0
Show newest version
/*
 * #%L
 * fujion
 * %%
 * Copyright (C) 2020 Fujion Framework
 * %%
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * #L%
 */
package org.fujion.highcharts;

import java.util.ArrayList;
import java.util.List;

import org.fujion.ancillary.Options;
import org.fujion.annotation.Option;

/**
 * Top level chart settings.
 */
public class ChartInstance extends Options {
    
    @Option
    private final ChartOptions chart = new ChartOptions();
    
    @Option
    private final List colors = new ArrayList<>();
    
    @Option
    private final CreditsOptions credits = new CreditsOptions();
    
    @Option
    private final ExportingOptions exporting = new ExportingOptions();
    
    @Option
    private final LegendOptions legend = new LegendOptions();
    
    @Option
    private final LoadingOptions loading = new LoadingOptions();
    
    @Option
    private final NavigationOptions navigation = new NavigationOptions();
    
    @Option
    private final PaneOptions pane = new PaneOptions();
    
    @Option
    protected PlotOptions plotOptions;
    
    @Option
    private final List series = new ArrayList<>();
    
    @Option
    private final TitleOptions subtitle = new TitleOptions();
    
    @Option
    private final TitleOptions title = new TitleOptions();
    
    @Option
    private final GlobalTooltipOptions tooltip = new GlobalTooltipOptions();
    
    @Option
    private final List xAxis = new ArrayList<>();
    
    @Option
    private final List yAxis = new ArrayList<>();
    
    public ChartOptions getChart() {
        return chart;
    }
    
    public List getColors() {
        return colors;
    }
    
    public CreditsOptions getCredits() {
        return credits;
    }
    
    public ExportingOptions getExporting() {
        return exporting;
    }
    
    public LegendOptions getLegend() {
        return legend;
    }
    
    public LoadingOptions getLoading() {
        return loading;
    }
    
    public NavigationOptions getNavigation() {
        return navigation;
    }
    
    public PaneOptions getPane() {
        return pane;
    }
    
    public PlotOptions getPlotOptions() {
        return plotOptions;
    }
    
    protected void setPlotOptions(PlotOptions plotOptions) {
        this.plotOptions = plotOptions;
    }
    
    public List getSeries() {
        return series;
    }
    
    public TitleOptions getSubtitle() {
        return subtitle;
    }
    
    public TitleOptions getTitle() {
        return title;
    }
    
    public GlobalTooltipOptions getTooltip() {
        return tooltip;
    }
    
    public List getxAxis() {
        return xAxis;
    }
    
    public List getyAxis() {
        return yAxis;
    }
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy