Package ca.nanometrics.gflot.client.options

Examples of ca.nanometrics.gflot.client.options.SelectionOptions


    plotOptions.setDefaultPointsOptions(new PointsSeriesOptions().setRadius(2).setShow(true));
    plotOptions.setDefaultShadowSize(1);

    plotOptions.setLegendOptions(new LegendOptions().setShow(false));

    plotOptions.setSelectionOptions(new SelectionOptions().setDragging(true).setMode("x"));
    final PlotWithOverview plot = new PlotWithOverview(model, plotOptions);
    // add hover listener
    plot.addHoverListener(new PlotHoverListener() {
      public void onPlotHover(Plot plot, PlotPosition position, PlotItem item) {
        if (item != null) {
View Full Code Here


    plotOptions.setXAxisOptions(new TimeSeriesAxisOptions());

    PlotOptions overviewPlotOptions = new PlotOptions().setDefaultShadowSize(0).setLegendOptions(
        new LegendOptions().setShow(false)).setDefaultLineSeriesOptions(
        new LineSeriesOptions().setLineWidth(1).setFill(true)).setSelectionOptions(
        new SelectionOptions().setMode(SelectionOptions.X_SELECTION_MODE).setDragging(true)).setXAxisOptions(
        new TimeSeriesAxisOptions());

    final SeriesHandler series = model.addSeries("Random Series", "#FF9900");

    // create the plot
View Full Code Here

            new PlotOptions()
                .setLegendOptions( new LegendOptions().setShow( false ) )
                .setGlobalSeriesOptions(
                    new GlobalSeriesOptions().setLineSeriesOptions( new LineSeriesOptions().setLineWidth( 1 ).setFill( true ) )
                        .setShadowSize( 0d ) )
                .setSelectionOptions( new SelectionOptions().setMode( SelectionMode.X ) )
                .setXAxisOptions( new TimeSeriesAxisOptions() );

        final SeriesHandler series = model.addSeries( "Random Series", "#FF9900" );

        // create the plot
View Full Code Here

TOP

Related Classes of ca.nanometrics.gflot.client.options.SelectionOptions

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.