├── .classpath ├── .gitattributes ├── .github └── workflows │ ├── build.yaml │ ├── buildNext.yaml │ └── deploy.yaml ├── .gitignore ├── .project ├── LICENSE ├── NOTICE ├── README.md ├── build.xml ├── codegen └── org │ └── pepstock │ └── charba │ └── codegen │ ├── ApacheSoftwareLicense.template │ ├── ControllerTemplateGenerator.java │ ├── CssMinifier.java │ ├── ExtendedController.template │ ├── ExtendedControllerClass.template │ ├── InjectableResource.template │ ├── InjectableResourceGenerator.java │ ├── InjectableResourceGenerator.properties │ ├── ResourceHash.template │ └── package-info.java ├── docs └── index.html ├── ivy.xml ├── ivymoduleconfiguration.properties ├── ivysettings-publish.xml ├── ivysettings.xml ├── package.json ├── pom.template ├── pom.xml ├── resources ├── chart.min.js ├── chartjs-adapter-luxon.min.js ├── chartjs-chart-geo.min.js ├── chartjs-chart-matrix.min.js ├── chartjs-chart-sankey.min.js ├── chartjs-chart-treemap.min.js ├── chartjs-plugin-annotation.min.js ├── chartjs-plugin-datalabels.min.js ├── chartjs-plugin-gradient.min.js ├── chartjs-plugin-zoom.min.js ├── hammer.min.js ├── luxon.min.js └── ml.min.js ├── scripts └── before_script.sh ├── sonar-project.properties └── src └── org └── pepstock └── charba ├── Charba.gwt.xml └── client ├── AbstractChart.java ├── AreaChart.java ├── BarChart.java ├── BubbleChart.java ├── Charba.java ├── Chart.java ├── ChartEnvelop.java ├── ChartNode.java ├── ChartObserver.java ├── ChartOptions.java ├── ChartTimerTask.java ├── ChartType.java ├── Charts.java ├── ChartsLifecycleListener.java ├── Configuration.java ├── ConfigurationElement.java ├── Controller.java ├── Defaults.java ├── DeferredCharba.java ├── DoughnutChart.java ├── EventPoint.java ├── GlobalOptions.java ├── GlobalScale.java ├── HasAxes.java ├── HasCartesianAxes.java ├── HasRadialAxis.java ├── Helpers.java ├── HorizontalBarChart.java ├── Injector.java ├── InjectorPrefixHelper.java ├── IsChart.java ├── IsDatasetCreator.java ├── JsChartHelper.java ├── LineChart.java ├── MutationHandler.java ├── MutationItem.java ├── NativeHelpers.java ├── NativeJsChartHelper.java ├── Overrides.java ├── PieChart.java ├── Plugin.java ├── PolarAreaChart.java ├── RadarChart.java ├── ScaleType.java ├── ScatterChart.java ├── StackedAreaChart.java ├── StackedBarChart.java ├── StackedHorizontalBarChart.java ├── StackedLineChart.java ├── StackedVerticalLineChart.java ├── TimeSeriesBarChart.java ├── TimeSeriesLineChart.java ├── Type.java ├── UpdateConfiguration.java ├── UpdateConfigurationBuilder.java ├── VerticalLineChart.java ├── adapters ├── DateAdapter.java ├── DateAdapterFormats.java ├── DateAdapterModule.java ├── DateAdapterOptions.java ├── DefaultsFormatsOverrider.java ├── JsDateAdapterHelper.java ├── NativeDateAdapter.java ├── NativeJsDateAdapterHelper.java └── package-info.java ├── annotation ├── AbstractAnnotation.java ├── AbstractBoxedLabel.java ├── AbstractCircleBasedAnnotation.java ├── AbstractPointedAnnotation.java ├── AlignPosition.java ├── Animations.java ├── AnnotationCachedMap.java ├── AnnotationContext.java ├── AnnotationElementFactory.java ├── AnnotationEnvelop.java ├── AnnotationHelper.java ├── AnnotationId.java ├── AnnotationMap.java ├── AnnotationOptions.java ├── AnnotationOptionsFactory.java ├── AnnotationPlugin.java ├── AnnotationPluginResource.java ├── AnnotationSharedObjects.java ├── AnnotationType.java ├── Arrow.java ├── ArrowHeads.java ├── BackgroundColorHandler.java ├── BorderOptionsHandler.java ├── BorderRadiusHandler.java ├── BoxAnnotation.java ├── BoxLabel.java ├── Callout.java ├── ControlPoint.java ├── DefaultAlignPosition.java ├── DefaultArrow.java ├── DefaultArrowHeads.java ├── DefaultBox.java ├── DefaultBoxLabel.java ├── DefaultCallout.java ├── DefaultEllipse.java ├── DefaultEllipseLabel.java ├── DefaultInteraction.java ├── DefaultLabel.java ├── DefaultLine.java ├── DefaultLineLabel.java ├── DefaultOptions.java ├── DefaultPoint.java ├── DefaultPolygon.java ├── EllipseAnnotation.java ├── EllipseLabel.java ├── EventsHandler.java ├── ExtendedBorderOptionsHandler.java ├── ExtendedShadowOptionsHandler.java ├── HasBackgroundColor.java ├── HasBorderOptions.java ├── HasBorderRadius.java ├── HasEventsHandler.java ├── HasExtendedBorderOptions.java ├── HasExtendedShadowOptions.java ├── HasLabel.java ├── HasRotation.java ├── HasShadowOptions.java ├── HasTextStrokeOptions.java ├── InnerLabel.java ├── Interaction.java ├── IsDefaultsAbstractCircleBasedAnnotation.java ├── IsDefaultsAbstractPointedAnnotation.java ├── IsDefaultsAlignPosition.java ├── IsDefaultsAnnotation.java ├── IsDefaultsAnnotationInteraction.java ├── IsDefaultsAnnotationOptions.java ├── IsDefaultsArrow.java ├── IsDefaultsArrowHeads.java ├── IsDefaultsBackgroundColorHandler.java ├── IsDefaultsBorderOptionsHandler.java ├── IsDefaultsBorderRadiusHandler.java ├── IsDefaultsBoxAnnotation.java ├── IsDefaultsBoxLabel.java ├── IsDefaultsCallout.java ├── IsDefaultsEllipseAnnotation.java ├── IsDefaultsEllipseLabel.java ├── IsDefaultsEventsHandler.java ├── IsDefaultsExtendedBorderOptionsHandler.java ├── IsDefaultsExtendedShadowOptionsHandler.java ├── IsDefaultsInnerLabel.java ├── IsDefaultsLabelAnnotation.java ├── IsDefaultsLabelHandler.java ├── IsDefaultsLineAnnotation.java ├── IsDefaultsLineLabel.java ├── IsDefaultsPointAnnotation.java ├── IsDefaultsPolygonAnnotation.java ├── IsDefaultsRotationHandler.java ├── IsDefaultsShadowOptionsHandler.java ├── IsDefaultsTextStrokeOptionsHandler.java ├── IsLabelContainer.java ├── LabelAnnotation.java ├── LabelHandler.java ├── LineAnnotation.java ├── LineLabel.java ├── Padding.java ├── PointAnnotation.java ├── PolygonAnnotation.java ├── RotationHandler.java ├── ShadowOptionsHandler.java ├── StandardAnnotationId.java ├── TextStrokeOptionsHandler.java ├── callbacks │ ├── AdjustScaleRangeCallback.java │ ├── AdjustSizeCallback.java │ ├── CalloutPositionCallback.java │ ├── ContentCallback.java │ ├── ControlPointCallback.java │ ├── CurveCallback.java │ ├── DrawTimeCallback.java │ ├── FillCallback.java │ ├── ImageOpacityCallback.java │ ├── ImageSizeCallback.java │ ├── InitCallback.java │ ├── LabelAlignPositionCallback.java │ ├── LabelPositionCallback.java │ ├── LengthCallback.java │ ├── MarginCallback.java │ ├── ShadowBlurCallback.java │ ├── ShadowOffsetCallback.java │ ├── SideCallback.java │ ├── SidesCallback.java │ ├── StartCallback.java │ ├── ValueCallback.java │ ├── ZCallback.java │ └── package-info.java ├── elements │ ├── AlignPositionElement.java │ ├── AnnotationElement.java │ ├── AnnotationProperties.java │ ├── AnnotationPropertiesHandler.java │ ├── ArrowElement.java │ ├── ArrowHeadsElement.java │ ├── BaseElement.java │ ├── CalloutElement.java │ ├── ControlPointElement.java │ ├── HasAnnotationPropertiesHandler.java │ ├── NativeJsAnnotationHelper.java │ ├── OptionsElement.java │ └── package-info.java ├── enums │ ├── CalloutPosition.java │ ├── ContentType.java │ ├── DrawTime.java │ ├── Event.java │ ├── LabelPosition.java │ └── package-info.java ├── listeners │ ├── ClickCallback.java │ ├── ElementHookCallback.java │ ├── EnterCallback.java │ ├── LeaveCallback.java │ └── package-info.java └── package-info.java ├── callbacks ├── AbstractDatasetContext.java ├── AbstractTooltipBodyCallback.java ├── AbstractTooltipFooterCallback.java ├── AbstractTooltipLabelCallback.java ├── AbstractTooltipTitleCallback.java ├── AlignToPixelsCallback.java ├── AngleCallback.java ├── AxisBuildTicksCallback.java ├── AxisCalculateLabelRotationCallback.java ├── AxisDataLimitsCallback.java ├── AxisDimensionsCallback.java ├── AxisFitCallback.java ├── AxisTickToLabelConversionCallback.java ├── AxisUpdateCallback.java ├── BarBorderWidthCallback.java ├── BaseCallback.java ├── BeginAtZeroCallback.java ├── BorderAlignCallback.java ├── BorderDashCallback.java ├── BorderDashOffsetCallback.java ├── BorderRadiusCallback.java ├── BorderSkippedCallback.java ├── BoundsCallback.java ├── CallbacksEnvelop.java ├── CapStyleCallback.java ├── CategoryTickCallback.java ├── ChartContext.java ├── CircularCallback.java ├── ColorCallback.java ├── ColorsCallback.java ├── CountCallback.java ├── CrosshairFormatterCallback.java ├── CubicInterpolationModeCallback.java ├── DatasetContext.java ├── DelayCallback.java ├── DisplayCallback.java ├── DrawActiveElementsOnTopCallback.java ├── DurationCallback.java ├── EasingCallback.java ├── ElementAlignCallback.java ├── EnableBorderRadiusCallback.java ├── FillCallback.java ├── FilterCallback.java ├── FontCallback.java ├── FontsCallback.java ├── FromCallback.java ├── FullSizeCallback.java ├── GraceCallback.java ├── HtmlLegendCallback.java ├── HtmlLegendItemCallback.java ├── HtmlLegendTitleCallback.java ├── InflateAmountCallback.java ├── ItemSortCallback.java ├── JoinStyleCallback.java ├── LegendFilterCallback.java ├── LegendItemSortCallback.java ├── LegendLabelsCallback.java ├── LoopCallback.java ├── MaxTicksLimitCallback.java ├── MeterContentCallback.java ├── MeterFormatCallback.java ├── MinMaxCallback.java ├── NativeCallback.java ├── NumberFormatCallback.java ├── OffsetCallback.java ├── PaddingCallback.java ├── ParsedData.java ├── PointLabelCallback.java ├── PointStyleCallback.java ├── PositionCallback.java ├── PrecisionCallback.java ├── RadiusCallback.java ├── RequestAnimationCallback.java ├── ReverseCallback.java ├── RotationCallback.java ├── ScaleContext.java ├── ScaleOffsetCallback.java ├── ScalePositionCallback.java ├── ScaleWeightCallback.java ├── Scriptable.java ├── ScriptableDoubleChecker.java ├── ScriptableFunctions.java ├── ScriptableIntegerChecker.java ├── ScriptableResultChecker.java ├── ScriptableUtil.java ├── SegmentContext.java ├── ShowLabelBackdropCallback.java ├── SimpleDisplayCallback.java ├── SimplePaddingCallback.java ├── StackCallback.java ├── StackedCallback.java ├── StartAngleCallback.java ├── StepSizeCallback.java ├── SteppedCallback.java ├── TextAlignCallback.java ├── TextCallback.java ├── TickCallback.java ├── TimeTickCallback.java ├── ToCallback.java ├── TooltipBodyCallback.java ├── TooltipContext.java ├── TooltipExternalCallback.java ├── TooltipFilterCallback.java ├── TooltipFooterCallback.java ├── TooltipItemSortCallback.java ├── TooltipLabelCallback.java ├── TooltipTitleCallback.java ├── WidthCallback.java └── package-info.java ├── colors ├── Area.java ├── CanvasObject.java ├── CanvasObjectFactory.java ├── Center.java ├── Color.java ├── ColorBuilder.java ├── ColorUtil.java ├── GoogleChartColor.java ├── Gradient.java ├── GradientBuilder.java ├── GradientColor.java ├── GradientOrientation.java ├── GradientScope.java ├── GradientType.java ├── GwtMaterialColor.java ├── HtmlColor.java ├── IsColor.java ├── IsEnumeratedColor.java ├── Pattern.java ├── PatternBuilder.java ├── Radius.java ├── UiGradient.java ├── UiGradientConstants.java ├── package-info.java └── tiles │ ├── AbstractPointStyleShapeDrawer.java │ ├── AbstractShape.java │ ├── BackSlashedLine.java │ ├── Box.java │ ├── CharacterShape.java │ ├── Cross.java │ ├── CrossDash.java │ ├── Dash.java │ ├── Diagonal.java │ ├── Diamond.java │ ├── DiamondBox.java │ ├── Disc.java │ ├── Dot.java │ ├── DotDash.java │ ├── DoubleDiagonal.java │ ├── EmptyStar.java │ ├── ImageShape.java │ ├── InvertedDiagonal.java │ ├── InvertedDoubleDiagonal.java │ ├── InvertedTriangle.java │ ├── IsShape.java │ ├── Line.java │ ├── Plus.java │ ├── PointStyleCircle.java │ ├── PointStyleCross.java │ ├── PointStyleCrossRot.java │ ├── PointStyleDash.java │ ├── PointStyleLine.java │ ├── PointStyleRect.java │ ├── PointStyleRectRot.java │ ├── PointStyleRectRounded.java │ ├── PointStyleShape.java │ ├── PointStyleStar.java │ ├── PointStyleTriangle.java │ ├── Ring.java │ ├── Shape.java │ ├── ShapeDrawer.java │ ├── SlashedLine.java │ ├── Solid.java │ ├── Square.java │ ├── Star.java │ ├── TilesBuilder.java │ ├── TilesFactory.java │ ├── TilesFactoryDefaults.java │ ├── Triangle.java │ ├── VerticalLine.java │ ├── VerticalZigZag.java │ ├── Weave.java │ ├── ZigZag.java │ └── package-info.java ├── commons ├── AbstractArrayContainerList.java ├── AbstractArrayList.java ├── AbstractArrayNativeContainerList.java ├── AbstractArraySet.java ├── AbstractBaseBuilder.java ├── AbstractKey.java ├── AbstractNode.java ├── AbstractPoint.java ├── AbstractReadOnlyPoint.java ├── Array.java ├── ArrayCanvas.java ├── ArrayCanvasList.java ├── ArrayChart.java ├── ArrayDouble.java ├── ArrayDoubleArray.java ├── ArrayDoubleArrayList.java ├── ArrayDoubleList.java ├── ArrayEnumList.java ├── ArrayGradient.java ├── ArrayImage.java ├── ArrayImageList.java ├── ArrayInteger.java ├── ArrayIntegerList.java ├── ArrayKeyList.java ├── ArrayKeySet.java ├── ArrayListHelper.java ├── ArrayMixedObject.java ├── ArrayObject.java ├── ArrayObjectContainerList.java ├── ArrayObjectList.java ├── ArrayPattern.java ├── ArraySetHelper.java ├── ArrayString.java ├── ArrayStringList.java ├── ArrayStringSet.java ├── ArrayTouch.java ├── ArrayTouchList.java ├── ArrayUtil.java ├── BaseEnvelop.java ├── CallbackPropertyHandler.java ├── CallbackPropertyManager.java ├── CallbackProxy.java ├── Checker.java ├── ConfigurationLoader.java ├── Constants.java ├── Envelop.java ├── HasCallbackScope.java ├── Id.java ├── ImmutableDate.java ├── ImmutableEnvelop.java ├── IncrementalIdHandler.java ├── IsBuilder.java ├── IsCallbackPropertyHandler.java ├── IsJSType.java ├── IsPoint.java ├── IteratorImpl.java ├── JsHelper.java ├── JsHelperResource.java ├── Key.java ├── KeyFactory.java ├── ListIteratorImpl.java ├── Merger.java ├── NativeAbstractDescriptor.java ├── NativeArrayContainer.java ├── NativeArrayContainerFactory.java ├── NativeArrayDoubleContainer.java ├── NativeIntegerDescriptor.java ├── NativeJsHelper.java ├── NativeName.java ├── NativeObject.java ├── NativeObjectContainer.java ├── NativeObjectContainerFactory.java ├── NativeObjectHashing.java ├── NativeObjectUtil.java ├── NativeUtil.java ├── NodeUpdateListener.java ├── ObjectType.java ├── PropertyHandler.java ├── PropertyKey.java ├── PropertyKeyChecker.java ├── Reflect.java ├── StandardKey.java └── package-info.java ├── configuration ├── AbstractConfigurationElement.java ├── AbstractDynamicConfiguration.java ├── AbstractEventElementHandler.java ├── AbstractPieOptions.java ├── AbstractScaleLines.java ├── AbstractTickHandler.java ├── AbstractTitle.java ├── Adapters.java ├── Animation.java ├── AnimationContainer.java ├── Animations.java ├── Arc.java ├── AreaOptions.java ├── Axis.java ├── AxisBorder.java ├── AxisContainer.java ├── AxisType.java ├── AxisTypesManager.java ├── Bar.java ├── BarOptions.java ├── BegiAtZeroCallbackHandler.java ├── BubbleOptions.java ├── CartesianAxis.java ├── CartesianCategoryAxis.java ├── CartesianCategoryTick.java ├── CartesianLinearAxis.java ├── CartesianLinearTick.java ├── CartesianLogarithmicAxis.java ├── CartesianLogarithmicTick.java ├── CartesianNumericTick.java ├── CartesianScaleTitle.java ├── CartesianTick.java ├── CartesianTimeAxis.java ├── CartesianTimeSeriesAxis.java ├── CartesianTimeTick.java ├── CategoryTickHandler.java ├── ChartContainer.java ├── ConfigurationContainer.java ├── ConfigurationEnvelop.java ├── ConfigurationOptions.java ├── ConfigurationOptionsContainer.java ├── Datasets.java ├── Decimation.java ├── DisplayFormats.java ├── DoughnutOptions.java ├── Elements.java ├── EventAxesHandler.java ├── EventSubtitleHandler.java ├── EventTitleHandler.java ├── Filler.java ├── Font.java ├── Grid.java ├── HasAnimation.java ├── HasBeginAtZeroCallbackHandler.java ├── HasLineOptions.java ├── HasMinMaxCallbacksHandler.java ├── HorizontalBarOptions.java ├── Hover.java ├── Interaction.java ├── IsEventProvider.java ├── IsLinearAxis.java ├── IsLinearTick.java ├── IsNumericAxis.java ├── IsNumericTick.java ├── Layout.java ├── Legend.java ├── LegendLabels.java ├── LegendTitle.java ├── Line.java ├── LineOptions.java ├── LinearTickHandler.java ├── LinearTickOptionsHandler.java ├── Major.java ├── MinMaxCallbacksHandler.java ├── NumberFormatter.java ├── NumericTickOptionsHandler.java ├── Padding.java ├── PieOptions.java ├── Plugins.java ├── Point.java ├── PolarAreaOptions.java ├── RadarOptions.java ├── RadialAngleLines.java ├── RadialAxis.java ├── RadialLinearTick.java ├── RadialPointLabels.java ├── ScaleDateAdapter.java ├── Scales.java ├── ScalesOptions.java ├── ScatterOptions.java ├── Segment.java ├── StackedBarOptions.java ├── StackedLineOptions.java ├── StandardAxisType.java ├── Subtitle.java ├── Tick.java ├── Time.java ├── TimeSeriesBarOptions.java ├── TimeSeriesLineOptions.java ├── TimeSeriesOptions.java ├── TimeSeriesScales.java ├── TimeTickHandler.java ├── Title.java ├── Tooltips.java ├── TooltipsCallbacks.java ├── Transitions.java ├── TypedDataset.java ├── VerticalLineOptions.java └── package-info.java ├── controllers ├── AbstractController.java ├── AbstractControllerContainer.java ├── ControllerContext.java ├── ControllerMapperFactory.java ├── ControllerProvider.java ├── ControllerRegistrationHandler.java ├── ControllerTemplate.java ├── ControllerType.java ├── ControllerTypeChecker.java ├── Controllers.java ├── JsControllerHelper.java ├── NativeFunction.java ├── NativeJsControllerHelper.java ├── WrapperController.java └── package-info.java ├── data ├── AbstractBarBorderItem.java ├── AbstractCanvasObjectCallback.java ├── AbstractContainer.java ├── AbstractDataPoint.java ├── AbstractXYDataPoint.java ├── ArcBorderRadius.java ├── AreaDataset.java ├── BarBorderRadius.java ├── BarBorderWidth.java ├── BarDataset.java ├── BarStackHandler.java ├── BorderAlignHandler.java ├── BorderItemsHandler.java ├── BubbleDataset.java ├── CanvasObjectHandler.java ├── Clip.java ├── Data.java ├── DataEnvelop.java ├── DataPoint.java ├── DataPointStyleHandler.java ├── Dataset.java ├── DatasetCanvasObjectFactory.java ├── DatasetGrandientCallback.java ├── DatasetPatternCallback.java ├── DoughnutDataset.java ├── FloatingData.java ├── FloatingDataFactory.java ├── GradientsContainer.java ├── HasBarStackGroup.java ├── HasBorderAlign.java ├── HasDataPointStyle.java ├── HasDataPoints.java ├── HasDataset.java ├── HasLabels.java ├── HasOrder.java ├── HasPointFillStrokeStyles.java ├── HasTimeSeriesItems.java ├── HorizontalBarDataset.java ├── HoverDataset.java ├── HoverFlexDataset.java ├── Labels.java ├── LabelsHandler.java ├── LineDataset.java ├── LiningDataset.java ├── LiningDatasetFillHandler.java ├── OrderHandler.java ├── PatternsContainer.java ├── PieDataset.java ├── PolarAreaDataset.java ├── RadarDataset.java ├── ScatterDataset.java ├── StackedAreaDataset.java ├── StackedBarDataset.java ├── StackedHorizontalBarDataset.java ├── StackedLineDataset.java ├── StackedVerticalLineDataset.java ├── TimeSeriesBarDataset.java ├── TimeSeriesHorizontalBarDataset.java ├── TimeSeriesItem.java ├── TimeSeriesLineDataset.java ├── VerticalLineDataset.java └── package-info.java ├── datalabels ├── AbstractBuilder.java ├── AbstractElement.java ├── DataLabelId.java ├── DataLabelsContext.java ├── DataLabelsEnvelop.java ├── DataLabelsOptions.java ├── DataLabelsOptionsBuilder.java ├── DataLabelsOptionsFactory.java ├── DataLabelsPlugin.java ├── DataLabelsPluginResource.java ├── DefaultLabels.java ├── DefaultListeners.java ├── DefaultOptions.java ├── Font.java ├── IsDefaultDataLabelsItem.java ├── IsDefaultDataLabelsOptions.java ├── IsDefaultLabels.java ├── IsDefaultListeners.java ├── JsDataLabelsHelper.java ├── LabelItem.java ├── LabelItemBuilder.java ├── Labels.java ├── Listeners.java ├── NativeJsDataLabelsHelper.java ├── Padding.java ├── StandardDataLabelId.java ├── callbacks │ ├── AlignCallback.java │ ├── AnchorCallback.java │ ├── ClampCallback.java │ ├── ClipCallback.java │ ├── FormatterCallback.java │ ├── OpacityCallback.java │ ├── TextShadowBlurCallback.java │ └── package-info.java ├── enums │ ├── Align.java │ ├── Anchor.java │ ├── Event.java │ └── package-info.java ├── events │ ├── AbstractEventHandler.java │ ├── ClickEventHandler.java │ ├── EnterEventHandler.java │ ├── LeaveEventHandler.java │ └── package-info.java └── package-info.java ├── defaults ├── IsDefaultAbstractTitle.java ├── IsDefaultAdapters.java ├── IsDefaultAngleLines.java ├── IsDefaultAnimation.java ├── IsDefaultAnimationCollection.java ├── IsDefaultAnimationContainer.java ├── IsDefaultAnimationTransition.java ├── IsDefaultAnimations.java ├── IsDefaultArc.java ├── IsDefaultBar.java ├── IsDefaultBarDatasets.java ├── IsDefaultBaseAnimation.java ├── IsDefaultBaseFormatOptions.java ├── IsDefaultBoxHandler.java ├── IsDefaultDatasets.java ├── IsDefaultDateAdapterOptions.java ├── IsDefaultDateTimeFormatOptions.java ├── IsDefaultDecimation.java ├── IsDefaultElements.java ├── IsDefaultEventHandler.java ├── IsDefaultFillHandler.java ├── IsDefaultFiller.java ├── IsDefaultFont.java ├── IsDefaultFontContainer.java ├── IsDefaultGrid.java ├── IsDefaultInteraction.java ├── IsDefaultLayout.java ├── IsDefaultLegend.java ├── IsDefaultLegendLabels.java ├── IsDefaultLegendTitle.java ├── IsDefaultLine.java ├── IsDefaultMajor.java ├── IsDefaultNumberFormatOptions.java ├── IsDefaultOptions.java ├── IsDefaultOptionsElement.java ├── IsDefaultPadding.java ├── IsDefaultPluginElement.java ├── IsDefaultPlugins.java ├── IsDefaultPoint.java ├── IsDefaultPointLabels.java ├── IsDefaultPointStyleHandler.java ├── IsDefaultScale.java ├── IsDefaultScaleBorder.java ├── IsDefaultScaleLines.java ├── IsDefaultScaleTitle.java ├── IsDefaultScaledOptions.java ├── IsDefaultScales.java ├── IsDefaultSubtitle.java ├── IsDefaultTextDirectionHandler.java ├── IsDefaultTicks.java ├── IsDefaultTime.java ├── IsDefaultTitle.java ├── IsDefaultTooltips.java ├── IsDefaultTransitions.java ├── IsDefaultTypedDataset.java ├── NoDefaults.java ├── chart │ ├── AbstractDefaultChartAnimation.java │ ├── AbstractDefaultChartOptions.java │ ├── AbstractDefaultChartPadding.java │ ├── AbstractDefaultChartTitle.java │ ├── DefaultChartAdapters.java │ ├── DefaultChartAngleLines.java │ ├── DefaultChartAnimation.java │ ├── DefaultChartAnimationCollection.java │ ├── DefaultChartAnimationTransition.java │ ├── DefaultChartAnimations.java │ ├── DefaultChartArc.java │ ├── DefaultChartBar.java │ ├── DefaultChartDatasets.java │ ├── DefaultChartDateAdapterOptions.java │ ├── DefaultChartDecimation.java │ ├── DefaultChartElements.java │ ├── DefaultChartFiller.java │ ├── DefaultChartFont.java │ ├── DefaultChartGrid.java │ ├── DefaultChartHover.java │ ├── DefaultChartInteraction.java │ ├── DefaultChartLayout.java │ ├── DefaultChartLegend.java │ ├── DefaultChartLegendLabels.java │ ├── DefaultChartLegendTitle.java │ ├── DefaultChartLine.java │ ├── DefaultChartOptions.java │ ├── DefaultChartPadding.java │ ├── DefaultChartPlugins.java │ ├── DefaultChartPoint.java │ ├── DefaultChartPointLabels.java │ ├── DefaultChartScale.java │ ├── DefaultChartScaleBorder.java │ ├── DefaultChartScaleTitle.java │ ├── DefaultChartScales.java │ ├── DefaultChartSubtitle.java │ ├── DefaultChartTicks.java │ ├── DefaultChartTime.java │ ├── DefaultChartTitle.java │ ├── DefaultChartTooltips.java │ ├── DefaultChartTransitions.java │ ├── DefaultChartTypedDatasets.java │ ├── DefaultGlobalOptions.java │ └── package-info.java ├── globals │ ├── AbstractDefaultAnimation.java │ ├── AbstractDefaultOptions.java │ ├── AbstractDefaultOptionsElement.java │ ├── AbstractDefaultTitle.java │ ├── DefaultAdapters.java │ ├── DefaultAngleLines.java │ ├── DefaultAnimation.java │ ├── DefaultAnimationCollection.java │ ├── DefaultAnimationTransition.java │ ├── DefaultAnimations.java │ ├── DefaultArc.java │ ├── DefaultBar.java │ ├── DefaultBaseFormatOptions.java │ ├── DefaultDatasets.java │ ├── DefaultDateAdapterOptions.java │ ├── DefaultDateTimeFormatOptions.java │ ├── DefaultDecimation.java │ ├── DefaultElements.java │ ├── DefaultFiller.java │ ├── DefaultFont.java │ ├── DefaultGrid.java │ ├── DefaultHover.java │ ├── DefaultInteraction.java │ ├── DefaultLayout.java │ ├── DefaultLegend.java │ ├── DefaultLegendLabels.java │ ├── DefaultLegendTitle.java │ ├── DefaultLine.java │ ├── DefaultMajor.java │ ├── DefaultNumberFormatOptions.java │ ├── DefaultOptions.java │ ├── DefaultPadding.java │ ├── DefaultPlugins.java │ ├── DefaultPoint.java │ ├── DefaultPointLabels.java │ ├── DefaultRoutedFont.java │ ├── DefaultScale.java │ ├── DefaultScaleBorder.java │ ├── DefaultScaleTitle.java │ ├── DefaultScaledOptions.java │ ├── DefaultScales.java │ ├── DefaultSubtitle.java │ ├── DefaultTicks.java │ ├── DefaultTime.java │ ├── DefaultTitle.java │ ├── DefaultTooltips.java │ ├── DefaultTransitions.java │ ├── DefaultTypedDataset.java │ ├── DefaultsBuilder.java │ └── package-info.java └── package-info.java ├── dom ├── BaseAttribute.java ├── BaseDocument.java ├── BaseElement.java ├── BaseEventTarget.java ├── BaseHtmlDocument.java ├── BaseHtmlElement.java ├── BaseLocation.java ├── BaseLocationUtil.java ├── BaseNavigator.java ├── BaseNode.java ├── BaseStyleProperties.java ├── DOM.java ├── DOMBuilder.java ├── DOMRectangle.java ├── IsCastable.java ├── MutationObserver.java ├── MutationObserverInit.java ├── MutationRecord.java ├── NamedNodeMap.java ├── NodeList.java ├── elements │ ├── Body.java │ ├── Canvas.java │ ├── CanvasGradientItem.java │ ├── CanvasPatternItem.java │ ├── CastHelper.java │ ├── Context2dItem.java │ ├── Div.java │ ├── Head.java │ ├── Heading.java │ ├── ImageData.java │ ├── Img.java │ ├── LineBreak.java │ ├── Meta.java │ ├── Script.java │ ├── Span.java │ ├── Style.java │ ├── Table.java │ ├── TableCell.java │ ├── TableRow.java │ ├── TextMetricsItem.java │ ├── TextNode.java │ ├── Uint8ClampedArray.java │ └── package-info.java ├── enums │ ├── BorderStyle.java │ ├── CursorType.java │ ├── Display.java │ ├── EventButton.java │ ├── EventPhase.java │ ├── FillRule.java │ ├── GlobalCompositeOperation.java │ ├── IsKeyboardKey.java │ ├── KeyboardCommonKey.java │ ├── KeyboardEditingKey.java │ ├── KeyboardEventType.java │ ├── KeyboardFunctionKey.java │ ├── KeyboardLocation.java │ ├── KeyboardModifierKey.java │ ├── KeyboardNavigationKey.java │ ├── KeyboardUiKey.java │ ├── KeyboardWhitespaceKey.java │ ├── MouseEventType.java │ ├── MutationType.java │ ├── NodeType.java │ ├── PointerEventType.java │ ├── PointerType.java │ ├── Position.java │ ├── Repetition.java │ ├── TextBaseline.java │ ├── TextDecoration.java │ ├── TouchEventType.java │ ├── Unit.java │ ├── Visibility.java │ └── package-info.java ├── events │ ├── BaseNativeEventImpl.java │ ├── EventInit.java │ ├── IsModifiersHandler.java │ ├── KeyboardEventInit.java │ ├── ModifiersHandler.java │ ├── MouseEventInit.java │ ├── NativeAbstractMouseEvent.java │ ├── NativeBaseEvent.java │ ├── NativeCustomEvent.java │ ├── NativeKeyboardEvent.java │ ├── NativeMouseEvent.java │ ├── NativePointerEvent.java │ ├── NativeTouchEvent.java │ ├── NativeUIEvent.java │ ├── PointerEventInit.java │ ├── Touch.java │ ├── TouchEventInit.java │ ├── TouchInit.java │ ├── TouchList.java │ ├── UIEventInit.java │ └── package-info.java ├── package-info.java └── safehtml │ ├── SafeHtml.java │ ├── SafeHtmlBuilder.java │ ├── SafeHtmlString.java │ ├── SafeHtmlUtil.java │ └── package-info.java ├── enums ├── AbsoluteDatasetIndexFill.java ├── AbstractDatasetIndexFill.java ├── AnimationEventType.java ├── AnimationType.java ├── AxisKind.java ├── AxisPosition.java ├── BorderAlign.java ├── BorderItemType.java ├── BorderSkipped.java ├── Bounds.java ├── CapStyle.java ├── ChartAxisType.java ├── ChartEventProperty.java ├── ColorType.java ├── ContextType.java ├── CrossAlign.java ├── CubicInterpolationMode.java ├── DataPointType.java ├── DataType.java ├── DecimationAlgorithm.java ├── DefaultAnimationCollectionKey.java ├── DefaultAnimationPropertyKey.java ├── DefaultEvents.java ├── DefaultInteractionMode.java ├── DefaultPluginId.java ├── DefaultScaleId.java ├── DefaultTransitionMode.java ├── Display.java ├── DrawTime.java ├── Easing.java ├── ElementAlign.java ├── Fill.java ├── FillingMode.java ├── FontStyle.java ├── ImageMimeType.java ├── IndexAxis.java ├── InteractionAxis.java ├── IsFill.java ├── IsInteractionMode.java ├── IsTooltipPosition.java ├── IsoWeekDay.java ├── JoinStyle.java ├── LegendEventProperty.java ├── ModifierKey.java ├── PluginOptionsScope.java ├── PointStyle.java ├── PointStyleType.java ├── Position.java ├── RegressionType.java ├── RelativeDatasetIndexFill.java ├── ScaleDataType.java ├── ScaleTitleAlign.java ├── StandardInteractionMode.java ├── StandardTooltipPosition.java ├── Stepped.java ├── TextAlign.java ├── TextDirection.java ├── TickAlign.java ├── TickSource.java ├── TimeUnit.java ├── TooltipAlign.java ├── TooltipPosition.java ├── Weight.java └── package-info.java ├── events ├── AbstractAnimationEvent.java ├── AbstractAxisEvent.java ├── AbstractChartEvent.java ├── AbstractChartTypedEvent.java ├── AbstractEvent.java ├── AbstractHandlerEvent.java ├── AbstractLegendEvent.java ├── AbstractTitleEvent.java ├── AddHandlerEvent.java ├── AddHandlerEventHandler.java ├── AnimationCompleteEvent.java ├── AnimationCompleteEventHandler.java ├── AnimationProgressEvent.java ├── AnimationProgressEventHandler.java ├── AxisClickEvent.java ├── AxisClickEventHandler.java ├── AxisEnterEvent.java ├── AxisEnterEventHandler.java ├── AxisHoverEvent.java ├── AxisHoverEventHandler.java ├── AxisLeaveEvent.java ├── AxisLeaveEventHandler.java ├── ChartClickEvent.java ├── ChartClickEventHandler.java ├── ChartEventContext.java ├── ChartEventHandler.java ├── ChartHoverEvent.java ├── ChartHoverEventHandler.java ├── ChartResizeEvent.java ├── ChartResizeEventHandler.java ├── DatasetRangeCleanSelectionEvent.java ├── DatasetRangeCleanSelectionEventHandler.java ├── DatasetRangeSelectionEvent.java ├── DatasetRangeSelectionEventHandler.java ├── DatasetSelectionEvent.java ├── DatasetSelectionEventHandler.java ├── Event.java ├── EventBus.java ├── EventHandler.java ├── EventType.java ├── HandlerManager.java ├── HandlerRegistration.java ├── HasNativeEvent.java ├── IsChartEvent.java ├── IsCommonChartEvent.java ├── IsLegendEvent.java ├── LegendClickEvent.java ├── LegendClickEventHandler.java ├── LegendHoverEvent.java ├── LegendHoverEventHandler.java ├── LegendLeaveEvent.java ├── LegendLeaveEventHandler.java ├── RemoveHandlerEvent.java ├── RemoveHandlerEventHandler.java ├── SubtitleClickEvent.java ├── SubtitleClickEventHandler.java ├── SubtitleEnterEvent.java ├── SubtitleEnterEventHandler.java ├── SubtitleLeaveEvent.java ├── SubtitleLeaveEventHandler.java ├── TitleClickEvent.java ├── TitleClickEventHandler.java ├── TitleEnterEvent.java ├── TitleEnterEventHandler.java ├── TitleLeaveEvent.java ├── TitleLeaveEventHandler.java └── package-info.java ├── geo ├── BaseGeoChart.java ├── BaseGeoController.java ├── BaseGeoOptions.java ├── BubbleMapChart.java ├── BubbleMapDataPoint.java ├── BubbleMapDataset.java ├── BubbleMapOptions.java ├── ChoroplethChart.java ├── ChoroplethDataPoint.java ├── ChoroplethDataset.java ├── ChoroplethOptions.java ├── ColorAxis.java ├── ColorAxisMapper.java ├── ColorLogarithmicAxis.java ├── CommonOptionsHandler.java ├── Coordinates.java ├── CoordinatesPoint.java ├── DataPointCenter.java ├── Feature.java ├── GeoControllerResource.java ├── GeoDataPoint.java ├── GeoDatasetHandler.java ├── GeoExtendedChartType.java ├── GeoFeatureElement.java ├── GeoFeatureElementOptions.java ├── GeoUtil.java ├── Graticule.java ├── HasCommonOptions.java ├── IsColorAxis.java ├── IsGeoDataset.java ├── IsLegendAxis.java ├── IsSizeAxis.java ├── JsGeoHelper.java ├── Legend.java ├── LegendAxisMapper.java ├── Margin.java ├── NativeJsGeoHelper.java ├── Padding.java ├── PositionPoint.java ├── ProjectionAxis.java ├── ProjectionAxisMapper.java ├── SizeAxis.java ├── SizeAxisMapper.java ├── SizeLogarithmicAxis.java ├── TopoJson.java ├── callbacks │ ├── AlignCallback.java │ ├── FeatureFilterCallback.java │ ├── FeatureFindCallback.java │ ├── FeatureLabelCallback.java │ ├── InterpolateCallback.java │ ├── LengthCallback.java │ ├── MarginCallback.java │ ├── ModeCallback.java │ ├── PositionCallback.java │ ├── QuantizeCallback.java │ ├── RangeCallback.java │ └── package-info.java ├── enums │ ├── Align.java │ ├── ClipMap.java │ ├── Interpolate.java │ ├── Mode.java │ ├── Position.java │ ├── Projection.java │ └── package-info.java └── package-info.java ├── gradient ├── Colors.java ├── GradientOptions.java ├── GradientOptionsFactory.java ├── GradientPlugin.java ├── GradientPluginResource.java ├── JsGradientHelper.java ├── NativeJsGradientHelper.java ├── PropertyOptions.java └── package-info.java ├── gwt ├── Charba.gwt.xml ├── ImagesHelper.java ├── package-info.java └── widgets │ ├── AbstractChartWidget.java │ ├── AreaChartWidget.java │ ├── BarChartWidget.java │ ├── BubbleChartWidget.java │ ├── BubbleMapChartWidget.java │ ├── ChoroplethChartWidget.java │ ├── DoughnutChartWidget.java │ ├── GaugeChartWidget.java │ ├── HorizontalBarChartWidget.java │ ├── LineChartWidget.java │ ├── MatrixChartWidget.java │ ├── MeterChartWidget.java │ ├── PieChartWidget.java │ ├── PolarAreaChartWidget.java │ ├── RadarChartWidget.java │ ├── SankeyChartWidget.java │ ├── ScatterChartWidget.java │ ├── StackedAreaChartWidget.java │ ├── StackedBarChartWidget.java │ ├── StackedHorizontalBarChartWidget.java │ ├── StackedLineChartWidget.java │ ├── StackedVerticalLineChartWidget.java │ ├── TimeSeriesBarChartWidget.java │ ├── TimeSeriesLineChartWidget.java │ ├── TreeMapChartWidget.java │ ├── VerticalLineChartWidget.java │ └── package-info.java ├── impl ├── callbacks │ ├── AtLeastOneDatasetHandler.java │ ├── DataLabelsPointerHandler.java │ ├── DataLabelsSelectionHandler.java │ ├── NoSelectedDatasetTicksCallback.java │ ├── Percentage.java │ ├── PercentageCallback.java │ └── package-info.java ├── charts │ ├── AbstractMeterElement.java │ ├── BaseContext.java │ ├── BaseMeterChart.java │ ├── BaseMeterController.java │ ├── DefaultThreshold.java │ ├── DescriptionLabel.java │ ├── GaugeChart.java │ ├── GaugeDataset.java │ ├── GaugeOptions.java │ ├── IsThreshold.java │ ├── MeterChart.java │ ├── MeterContext.java │ ├── MeterDataset.java │ ├── MeterOptions.java │ ├── Threshold.java │ ├── ValueLabel.java │ └── package-info.java ├── package-info.java └── plugins │ ├── AbstractCursorPointerOptions.java │ ├── CharbaPlugin.java │ ├── CharbaPluginContainer.java │ ├── CharbaSmartPluginContainer.java │ ├── ChartAreaBackgroundGradientFactory.java │ ├── ChartBackgroundColor.java │ ├── ChartBackgroundColorDefaultOptions.java │ ├── ChartBackgroundColorOptions.java │ ├── ChartBackgroundColorOptionsBuilder.java │ ├── ChartBackgroundColorOptionsFactory.java │ ├── ChartBackgroundColorPlugin.java │ ├── ChartBackgroundGradientFactory.java │ ├── ChartPointer.java │ ├── ChartPointerDefaultOptions.java │ ├── ChartPointerOptions.java │ ├── ChartPointerOptionsBuilder.java │ ├── ChartPointerOptionsFactory.java │ ├── ChartPointerPlugin.java │ ├── ColorScheme.java │ ├── ColorSchemeLegendLabelsCallback.java │ ├── ColorSchemeTooltipLabelCallback.java │ ├── ColorSchemes.java │ ├── ColorSchemesDefaultOptions.java │ ├── ColorSchemesOptions.java │ ├── ColorSchemesOptionsBuilder.java │ ├── ColorSchemesOptionsFactory.java │ ├── ColorSchemesPlugin.java │ ├── ColorSchemesUtil.java │ ├── Crosshair.java │ ├── CrosshairDefaultLabel.java │ ├── CrosshairDefaultOptions.java │ ├── CrosshairLabel.java │ ├── CrosshairLabelFont.java │ ├── CrosshairLabels.java │ ├── CrosshairLabelsFont.java │ ├── CrosshairOptions.java │ ├── CrosshairOptionsBuilder.java │ ├── CrosshairOptionsFactory.java │ ├── CrosshairPlugin.java │ ├── DatasetsItemsSelector.java │ ├── DatasetsItemsSelectorDefaultOptions.java │ ├── DatasetsItemsSelectorDefaultSelectionCleaner.java │ ├── DatasetsItemsSelectorOptions.java │ ├── DatasetsItemsSelectorOptionsBuilder.java │ ├── DatasetsItemsSelectorOptionsFactory.java │ ├── DatasetsItemsSelectorPlugin.java │ ├── HtmlLegend.java │ ├── HtmlLegendCallbackProxy.java │ ├── HtmlLegendDefaultOptions.java │ ├── HtmlLegendGenerator.java │ ├── HtmlLegendId.java │ ├── HtmlLegendItem.java │ ├── HtmlLegendOptions.java │ ├── HtmlLegendOptionsBuilder.java │ ├── HtmlLegendOptionsFactory.java │ ├── HtmlLegendPlugin.java │ ├── HtmlLegendTextGenerator.java │ ├── IsChartBackgroundColorDefaultOptions.java │ ├── IsChartPointerDefaultOptions.java │ ├── IsColorSchemesDefaultOptions.java │ ├── IsCrosshairDefaultLabel.java │ ├── IsCrosshairDefaultOptions.java │ ├── IsDatasetsItemsSelectorDefaultOptions.java │ ├── IsDatasetsItemsSelectorDefaultSelectionCleaner.java │ ├── IsDefaultCursorPointerOptions.java │ ├── IsHtmlLegendDefaultOptions.java │ ├── SelectionArea.java │ ├── SelectionCleaner.java │ ├── SelectionCleanerFont.java │ ├── SelectionHandler.java │ ├── SelectionStatus.java │ ├── SelectionTrack.java │ ├── enums │ ├── Align.java │ ├── BrewerScheme.java │ ├── DatasetSeletionEventType.java │ ├── EnumeratedScheme.java │ ├── GoogleChartScheme.java │ ├── GwtMaterialScheme.java │ ├── IsEnumeratedScheme.java │ ├── OfficeScheme.java │ ├── PointerElement.java │ ├── Render.java │ ├── SchemeCostants.java │ ├── SchemeScope.java │ ├── TableauScheme.java │ └── package-info.java │ └── package-info.java ├── interaction ├── AbstractInteractioner.java ├── AbstractNativeInteractioner.java ├── DefaultInteractioner.java ├── ExtendedInteraction.java ├── ExtendedInteractioner.java ├── InteractionEnvelop.java ├── Interactioner.java ├── Interactions.java ├── NativeInteraction.java ├── NativeInteractioner.java └── package-info.java ├── intl ├── AbstractFormat.java ├── AbtsractFormatWrapper.java ├── BaseFormatOptions.java ├── CLocale.java ├── CLocaleBuilder.java ├── DateTimeFormat.java ├── DateTimeFormatOptions.java ├── DateTimeFormatWrapper.java ├── FormatPart.java ├── IsLocaleItem.java ├── Language.java ├── NativeDate.java ├── NativeDateTimeFormat.java ├── NativeNumberFormat.java ├── NumberFormat.java ├── NumberFormatOptions.java ├── NumberFormatWrapper.java ├── Region.java ├── Script.java ├── enums │ ├── Calendar.java │ ├── CompactDisplay.java │ ├── Currency.java │ ├── CurrencyDisplay.java │ ├── CurrencySign.java │ ├── DateTimeStyle.java │ ├── FormatMatcher.java │ ├── FormatPartType.java │ ├── HourCycle.java │ ├── LocaleMatcher.java │ ├── MeasureUnit.java │ ├── MeasureUnitDisplay.java │ ├── MixedItemStyle.java │ ├── Notation.java │ ├── NumberItemStyle.java │ ├── NumberingSystem.java │ ├── SignDisplay.java │ ├── StringItemStyle.java │ ├── Style.java │ ├── TimeZone.java │ ├── TimeZoneName.java │ ├── UTCOffsetConstants.java │ └── package-info.java └── package-info.java ├── items ├── ActiveDatasetElement.java ├── AnimationItem.java ├── ArcElement.java ├── ArcElementOptions.java ├── AxisItem.java ├── AxisPositionItem.java ├── BarElement.java ├── BarElementOptions.java ├── BaseBoxItem.java ├── BaseBoxNodeItem.java ├── BorderRadiusItem.java ├── ChartAreaNode.java ├── ChartContextElementFactory.java ├── ChartElement.java ├── ChartElementFactories.java ├── ChartElementFactory.java ├── ChartElementOptions.java ├── CommonElementOptions.java ├── DataItem.java ├── DatasetItem.java ├── DatasetItemController.java ├── DatasetPoint.java ├── DatasetReference.java ├── ElementProperties.java ├── FillBaseline.java ├── FillColors.java ├── FontItem.java ├── HasInsideChecker.java ├── HasLegendText.java ├── InteractionItem.java ├── InteractionOptions.java ├── IsArea.java ├── IsBorderRadius.java ├── ItemsEnvelop.java ├── JsItemsHelper.java ├── LegendHitBoxItem.java ├── LegendItem.java ├── LegendLabelItem.java ├── LegendNode.java ├── LegendTextHandler.java ├── NativeJsItemsHelper.java ├── NumberFormatItem.java ├── OptionsNode.java ├── PaddingItem.java ├── Parsed.java ├── PluginDatasetArgument.java ├── PluginEventArgument.java ├── PluginResizeArgument.java ├── PluginScaleArgument.java ├── PluginTooltipArgument.java ├── PluginUpdateArgument.java ├── PointElement.java ├── PointElementOptions.java ├── ScaleItem.java ├── ScaleLabelBackdropOptions.java ├── ScaleLabelItem.java ├── ScaleLabelOptions.java ├── ScaleTickItem.java ├── ScaleValueItem.java ├── ScalesNode.java ├── SizeItem.java ├── SubtitleNode.java ├── TitleNode.java ├── TooltipBodyItem.java ├── TooltipItem.java ├── TooltipLabelColor.java ├── TooltipLabelPointStyle.java ├── TooltipModel.java ├── TooltipNode.java ├── Undefined.java └── package-info.java ├── labels ├── DefaultLabel.java ├── DefaultOptions.java ├── Font.java ├── IsDefaultLabel.java ├── IsDefaultOptions.java ├── Label.java ├── LabelBuilder.java ├── LabelId.java ├── LabelsContext.java ├── LabelsEnvelop.java ├── LabelsOptions.java ├── LabelsOptionsBuilder.java ├── LabelsOptionsFactory.java ├── LabelsPlugin.java ├── LabelsPluginResource.java ├── StandardLabelId.java ├── callbacks │ ├── RenderCallback.java │ └── package-info.java ├── enums │ ├── Position.java │ ├── Render.java │ └── package-info.java └── package-info.java ├── matrix ├── MatrixChart.java ├── MatrixController.java ├── MatrixControllerResource.java ├── MatrixDataPoint.java ├── MatrixDataset.java ├── MatrixElement.java ├── MatrixElementOptions.java ├── MatrixExtendedChartType.java ├── MatrixOptions.java ├── callbacks │ ├── SizeCallback.java │ └── package-info.java ├── enums │ ├── Anchor.java │ └── package-info.java └── package-info.java ├── ml ├── AbstractBuilder.java ├── BaseLinearRegression.java ├── BasePolynomialRegression.java ├── BaseRegression.java ├── ExponentialRegression.java ├── IsRegression.java ├── LinearRegression.java ├── MLInjector.java ├── MLUtil.java ├── MlPluginResource.java ├── NativeBaseLinearRegression.java ├── NativeBasePolynomialRegression.java ├── NativeBaseRegression.java ├── NativeExponentialRegression.java ├── NativeJsMLHelper.java ├── NativeLinearRegression.java ├── NativePolynomialRegression.java ├── NativePowerRegression.java ├── NativeRobustPolynomialRegression.java ├── NativeTheilSenRegression.java ├── PolynomialRegression.java ├── PowerRegression.java ├── RegressionBuilder.java ├── RegressionDataset.java ├── RegressionDatasetBuilder.java ├── RegressionDescriptor.java ├── RegressionFactory.java ├── RegressionScore.java ├── RobustPolynomialRegression.java ├── TheilSenRegression.java └── package-info.java ├── options ├── AbstractAnimation.java ├── AbstractAnimations.java ├── AbstractDefaultPluginElement.java ├── AbstractElement.java ├── AbstractElementFactory.java ├── AbstractFont.java ├── AbstractImmutableFont.java ├── AbstractInteraction.java ├── AbstractModel.java ├── AbstractNumberFormat.java ├── AbstractPadding.java ├── AbstractReadOnlyFont.java ├── AbstractScale.java ├── AbstractScriptableFont.java ├── AbstractScriptablePadding.java ├── AbstractStandardKey.java ├── AbstractTitle.java ├── Adapters.java ├── AngleLines.java ├── Animation.java ├── AnimationCollection.java ├── AnimationContainer.java ├── AnimationTransition.java ├── Animations.java ├── Arc.java ├── AutoColors.java ├── Bar.java ├── BarDatasetOptionsHandler.java ├── BoxHandler.java ├── Datasets.java ├── Decimation.java ├── DefinedEvents.java ├── DisplayFormats.java ├── ElementFactory.java ├── Elements.java ├── EventsOptionHandler.java ├── ExtendedOptions.java ├── ExtendedScale.java ├── ExtendedScales.java ├── FillHandler.java ├── Filler.java ├── Font.java ├── FontContainer.java ├── Grid.java ├── HasAnimationOptions.java ├── HasBarDatasetOptions.java ├── HasBox.java ├── HasEvents.java ├── HasFill.java ├── HasFont.java ├── HasPointStyle.java ├── HasSpanGaps.java ├── HasTextDirection.java ├── Hover.java ├── Interaction.java ├── IsAnimation.java ├── IsAnimations.java ├── IsEvent.java ├── IsFont.java ├── IsImmutableFont.java ├── IsNumberFormat.java ├── IsPadding.java ├── IsScriptableFontProvider.java ├── IsScriptablePaddingProvider.java ├── IsTitle.java ├── IsTransitions.java ├── Layout.java ├── Legend.java ├── LegendLabels.java ├── LegendTitle.java ├── Line.java ├── Major.java ├── NativeInterpolator.java ├── Options.java ├── OptionsEnvelop.java ├── Padding.java ├── Plugins.java ├── Point.java ├── PointLabels.java ├── PointStyleHandler.java ├── Scale.java ├── ScaleBorder.java ├── ScaleDateAdapter.java ├── ScaleId.java ├── ScaleTitle.java ├── ScaledOptions.java ├── Scales.java ├── Segment.java ├── SpanGapHandler.java ├── StandardAnimationTransition.java ├── StandardEvent.java ├── StandardScaleId.java ├── Subtitle.java ├── TextDirectionHandler.java ├── Ticks.java ├── TicksNumberFormat.java ├── Time.java ├── Title.java ├── Tooltips.java ├── TooltipsCallbacks.java ├── TransitionMode.java ├── Transitions.java ├── TypedDataset.java └── package-info.java ├── package-info.java ├── plugins ├── AbstractBasePlugin.java ├── AbstractExtensionPlugin.java ├── AbstractPlugin.java ├── AbstractPluginOptions.java ├── AbstractPluginOptionsFactory.java ├── GlobalPlugins.java ├── JsPluginHelper.java ├── NativeHook.java ├── NativeJsPluginHelper.java ├── PluginContainer.java ├── PluginIdChecker.java ├── PluginReference.java ├── Plugins.java ├── PluginsEnvelop.java ├── SmartPlugin.java ├── SmartPluginContainer.java ├── WrapperPlugin.java ├── hooks │ ├── AfterBuildTicksHook.java │ ├── AfterDataLimitsHook.java │ ├── AfterDatasetDrawHook.java │ ├── AfterDatasetUpdateHook.java │ ├── AfterDatasetsDrawHook.java │ ├── AfterDatasetsUpdateHook.java │ ├── AfterDestroyHook.java │ ├── AfterDrawHook.java │ ├── AfterEventHook.java │ ├── AfterInitHook.java │ ├── AfterLayoutHook.java │ ├── AfterRenderHook.java │ ├── AfterTooltipDrawHook.java │ ├── AfterUpdateHook.java │ ├── BeforeBuildTicksHook.java │ ├── BeforeDataLimitsHook.java │ ├── BeforeDatasetDrawHook.java │ ├── BeforeDatasetUpdateHook.java │ ├── BeforeDatasetsDrawHook.java │ ├── BeforeDatasetsUpdateHook.java │ ├── BeforeDestroyHook.java │ ├── BeforeDrawHook.java │ ├── BeforeElementsUpdateHook.java │ ├── BeforeEventHook.java │ ├── BeforeInitHook.java │ ├── BeforeLayoutHook.java │ ├── BeforeRenderHook.java │ ├── BeforeTooltipDrawHook.java │ ├── BeforeUpdateHook.java │ ├── ConfigureHook.java │ ├── InstallHook.java │ ├── ResetHook.java │ ├── ResizeHook.java │ ├── StartHook.java │ ├── StopHook.java │ ├── UninstallHook.java │ └── package-info.java └── package-info.java ├── positioner ├── AbstractTooltipPositioner.java ├── CustomTooltipPosition.java ├── JsPositionerHelper.java ├── NativeJsPositionerHelper.java ├── Point.java ├── Positioner.java ├── PositionerContext.java ├── TooltipPositioner.java └── package-info.java ├── resources ├── AbstractInjectableResource.java ├── AbstractResources.java ├── ChartJsResource.java ├── DateAdapterInjectionComplete.java ├── DeferredResources.java ├── DeferredResourcesBundle.java ├── EmbeddedResources.java ├── EmptyResource.java ├── EntryPointStarter.java ├── InjectableTextResource.java ├── InternalInjectableTextResource.java ├── IsInternalInjectableTextResource.java ├── IsResourceType.java ├── LuxonAdapterResource.java ├── LuxonLibraryResource.java ├── ResourceHash.java ├── ResourceLoadException.java ├── ResourceName.java ├── ResourcesType.java ├── externs │ ├── charba.helper.ext.js │ ├── charba.toast.ext.js │ ├── chartjs.ext.js │ └── ml.ext.js ├── js │ ├── charba.empty.js │ ├── charba.helper.js │ ├── charba.toast.js │ └── chartjs-plugin-labels.js ├── package-info.java └── style │ └── charba.toast.css ├── sankey ├── AbstractNumericMap.java ├── Column.java ├── Labels.java ├── Priority.java ├── SankeyChart.java ├── SankeyController.java ├── SankeyControllerResource.java ├── SankeyDataPoint.java ├── SankeyDataset.java ├── SankeyElement.java ├── SankeyElementOptions.java ├── SankeyExtendedChartType.java ├── SankeyOptions.java ├── callbacks │ ├── ColorModeCallback.java │ ├── PaddingCallback.java │ ├── SizeCallback.java │ └── package-info.java ├── enums │ ├── ColorMode.java │ ├── Size.java │ └── package-info.java └── package-info.java ├── treemap ├── AbstractDatasetNode.java ├── AbstractLabels.java ├── Captions.java ├── Dividers.java ├── InnerData.java ├── Labels.java ├── TreeMapChart.java ├── TreeMapController.java ├── TreeMapControllerResource.java ├── TreeMapDataPoint.java ├── TreeMapDataset.java ├── TreeMapElement.java ├── TreeMapElementOptions.java ├── TreeMapExtendedChartType.java ├── TreeMapOptions.java ├── TreeMapSumKeysData.java ├── callbacks │ ├── AlignCallback.java │ ├── FormatterCallback.java │ ├── OverflowCallback.java │ ├── PositionCallback.java │ └── package-info.java ├── enums │ ├── Align.java │ ├── Overflow.java │ ├── Position.java │ └── package-info.java └── package-info.java ├── utils ├── AnnotationBuilder.java ├── CScheduler.java ├── CSchedulerRegistration.java ├── CTimer.java ├── Console.java ├── Hasher.java ├── JSON.java ├── JSONReplacerConstants.java ├── MultilineTextAnnotationBuilder.java ├── NativeConsole.java ├── RegExp.java ├── RegExpResult.java ├── Utilities.java ├── Window.java ├── WindowHelper.java ├── package-info.java └── toast │ ├── AbstractContentElement.java │ ├── AbstractReadOnlyToastOptions.java │ ├── AbstractStandardType.java │ ├── AbstractToastOptions.java │ ├── AbstractTypeBuilder.java │ ├── Action.java │ ├── ActionItem.java │ ├── CssInjectableResource.java │ ├── DefaultToastOptions.java │ ├── ImmutableFont.java │ ├── ImmutableToastOptions.java │ ├── IsDefaultAction.java │ ├── IsDefaultContentElement.java │ ├── IsDefaultToastOptions.java │ ├── IsProgressBarType.java │ ├── IsToastType.java │ ├── Label.java │ ├── NameChecker.java │ ├── NativeToasting.java │ ├── ProgressBarTypeBuilder.java │ ├── StandardProgressBarType.java │ ├── StandardToastType.java │ ├── Title.java │ ├── ToastCssUtilResource.java │ ├── ToastItem.java │ ├── ToastItemAction.java │ ├── ToastItemOptions.java │ ├── ToastJsUtilResource.java │ ├── ToastOptions.java │ ├── ToastOptionsBuilder.java │ ├── ToastTypeBuilder.java │ ├── Toaster.java │ ├── enums │ ├── Align.java │ ├── DefaultProgressBarType.java │ ├── DefaultToastType.java │ ├── MaximumOpenItemsPolicy.java │ ├── Status.java │ └── package-info.java │ ├── handlers │ ├── ActionClickEventHandler.java │ ├── ClickEventHandler.java │ ├── CloseHandler.java │ ├── OpenHandler.java │ └── package-info.java │ └── package-info.java └── zoom ├── AbstractConfigurationItem.java ├── Amount.java ├── DefaultDrag.java ├── DefaultLimits.java ├── DefaultOptions.java ├── DefaultPan.java ├── DefaultPinch.java ├── DefaultScaleLimit.java ├── DefaultScaleRange.java ├── DefaultWheel.java ├── DefaultZoom.java ├── Drag.java ├── EventPoint.java ├── IsDefaultConfigurationItem.java ├── IsDefaultDrag.java ├── IsDefaultLimits.java ├── IsDefaultOptions.java ├── IsDefaultPan.java ├── IsDefaultPinch.java ├── IsDefaultScaleLimit.java ├── IsDefaultScaleRange.java ├── IsDefaultWheel.java ├── IsDefaultZoom.java ├── JsZoomHelper.java ├── Limits.java ├── NativeJsZoomHelper.java ├── Pan.java ├── Pinch.java ├── ScaleLimit.java ├── ScaleRange.java ├── Wheel.java ├── Zoom.java ├── ZoomContext.java ├── ZoomOptions.java ├── ZoomOptionsFactory.java ├── ZoomPlugin.java ├── ZoomPluginHammerResource.java ├── ZoomPluginResource.java ├── ZoomPoint.java ├── callbacks ├── CompletedCallback.java ├── ModeCallback.java ├── ProgressCallback.java ├── RejectedCallback.java ├── StartCallback.java └── package-info.java ├── enums ├── DrawTime.java ├── Mode.java └── package-info.java └── package-info.java /.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # We'll let Git's auto-detection algorithm infer if a file is text. If it is, 2 | # enforce LF line endings regardless of OS or git configurations. 3 | * text=auto eol=lf 4 | 5 | # Isolate binary files in case the auto-detection algorithm fails and 6 | # marks them as text files (which could brick them). 7 | *.{png,jpg,jpeg,gif,webp,woff,woff2,jar,zip} binary 8 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | /dist/ 3 | /classes/ 4 | /javadoc/ 5 | /lib-ivy/ 6 | /.settings/ 7 | /charba.pom 8 | /sonatype.properties 9 | /security/ 10 | /pepstock-pgp/ 11 | /structures/ 12 | /retrieve/ 13 | /copyToShowCase.xml 14 | /temp/ 15 | /log/ 16 | /charba.fbp 17 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Charba 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | org.apache.ivyde.eclipse.ivynature 17 | 18 | 19 | -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- 1 | Charba 2 | Copyright 2017-2024 Andrea Stocchero 3 | 4 | -------------------------------------------------------------------------------- /codegen/org/pepstock/charba/codegen/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains the code generators to create the {@link org.pepstock.charba.client.resources.AbstractInjectableResource} for all java script files that Charba is using and the java 21 | * script controller template. 22 | * 23 | * @author Andrea "Stock" Stocchero 24 | * 25 | */ 26 | package org.pepstock.charba.codegen; -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |

If you are not redirected, click here.

8 | 9 | -------------------------------------------------------------------------------- /ivymoduleconfiguration.properties: -------------------------------------------------------------------------------- 1 | # This file is imported and used in ivysettings.xml file and into ANT build.mxl 2 | # 3 | # CHARBA version 4 | # 5 | ivy.pubrevision=6.5 6 | # 7 | # JAVA dependencies versions 8 | # 9 | depver.gwt=2.9.0 10 | depver.jsinterop-annotations=2.0.0 11 | depver.closure-compiler=v20231112 12 | depver.ivy=2.5.2 13 | # 14 | # JAVASCRIPT dependencies versions 15 | # 16 | depver.chartjs=4.4.1 17 | # 18 | # Plugins 19 | # 20 | depver.datalabels=2.2.0 21 | depver.annotation=3.0.1 22 | depver.zoom=2.0.1 23 | depver.hammer=2.0.8 24 | depver.gradient=0.6.1 25 | # 26 | # Date adapter 27 | # 28 | depver.chartjs.luxon=1.3.1 29 | depver.luxon=3.4.4 30 | # 31 | # Controllers 32 | # 33 | depver.geo=4.2.8 34 | depver.treemap=2.3.0 35 | depver.matrix=2.0.1 36 | depver.sankey=0.12.0 37 | # 38 | # ML 39 | # 40 | depver.ml=6.0.0 -------------------------------------------------------------------------------- /ivysettings-publish.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /ivysettings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Charba", 3 | "description": "Charba, J2Cl and GWT Chart library based on CHART.JS", 4 | "version": "6.5", 5 | "author": "The Pepstock Team ", 6 | "license": "Apache-2.0", 7 | "homepage": "https://pepstock-org.github.io/Charba-Wiki/docs", 8 | "bugs": "https://github.com/pepstock-org/Charba/issues", 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/pepstock-org/Charba.git" 12 | }, 13 | "dependencies": { 14 | "chart.js": "4.4.1", 15 | "chartjs-adapter-luxon": "1.3.1", 16 | "chartjs-plugin-annotation": "3.0.1", 17 | "chartjs-plugin-datalabels": "2.2.0", 18 | "chartjs-plugin-gradient": "0.6.1", 19 | "chartjs-plugin-zoom": "2.0.1", 20 | "chartjs-chart-geo": "4.2.8", 21 | "chartjs-chart-matrix": "2.0.1", 22 | "chartjs-chart-sankey": "0.12.0", 23 | "chartjs-chart-treemap": "2.3.0", 24 | "hammerjs": "2.0.8", 25 | "luxon": "3.4.4", 26 | "ml": "6.0.0" 27 | } 28 | } -------------------------------------------------------------------------------- /pom.template: -------------------------------------------------------------------------------- 1 | 3 | 4 | 4.0.0 5 | 6 | ${ivy.pom.groupId} 7 | ${ivy.pom.artifactId} 8 | ${ivy.pom.version} 9 | ${ivy.pom.packaging} 10 | 11 | ${ivy.pom.name} 12 | ${ivy.pom.description} 13 | ${ivy.pom.url} 14 | 15 | 16 | 17 | The Apache License, Version 2.0 18 | http://www.apache.org/licenses/LICENSE-2.0.txt 19 | 20 | 21 | 22 | 23 | 24 | The Pepstock Team 25 | info@pepstock.org 26 | Pepstock 27 | www.pepstock.org 28 | 29 | 30 | 31 | 32 | scm:git:git://github.com/pepstock-org/Charba.git 33 | scm:git:ssh://github.com:pepstock-org/Charba.git 34 | https://github.com/pepstock-org/Charba/tree/master 35 | 36 | 37 | -------------------------------------------------------------------------------- /scripts/before_script.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | echo "Charba's before_script.sh BEGIN" 3 | echo "Home dir is: $HOME" 4 | pwd 5 | ls -R ~/.ant 6 | echo "Charba's before_script.sh END" 7 | -------------------------------------------------------------------------------- /src/org/pepstock/charba/Charba.gwt.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/ChartTimerTask.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client; 20 | 21 | /** 22 | * Interface which defines a timer task executable by a chart instance. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | * 26 | */ 27 | public interface ChartTimerTask { 28 | 29 | /** 30 | * Executes the task repeatedly, internally by the chart instance. 31 | * 32 | * @param chart chart instance 33 | */ 34 | void execute(IsChart chart); 35 | 36 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/adapters/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all classes to interact with date adapters implemented by CHART.JS to be abstract from date time java script library to use. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.adapters; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/annotation/IsDefaultsEllipseLabel.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.annotation; 20 | 21 | /** 22 | * This is the {@link AnnotationPlugin#ID} plugin LABEL of ELLIPSE annotation DEFAULTS options. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | * 26 | */ 27 | interface IsDefaultsEllipseLabel extends IsDefaultsBoxLabel { 28 | 29 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/annotation/IsLabelContainer.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.annotation; 20 | 21 | /** 22 | * Interface to map the annotation which contains the label options. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | * @param type of the label 26 | */ 27 | interface IsLabelContainer { 28 | 29 | /** 30 | * Returns the inner label of annotation. 31 | * 32 | * @return the inner label of annotation 33 | */ 34 | T getLabel(); 35 | 36 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/annotation/callbacks/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains the {@link org.pepstock.charba.client.annotation.AnnotationPlugin#ID} plugin callback interfaces to catch events. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.annotation.callbacks; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/annotation/elements/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains the {@link org.pepstock.charba.client.annotation.AnnotationPlugin#ID} plugin elements interfaces to use in the callbacks and events. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.annotation.elements; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/annotation/enums/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all enumerations to configure the {@link org.pepstock.charba.client.annotation.AnnotationPlugin#ID} plugin. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.annotation.enums; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/annotation/listeners/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all callback interfaces to implement for the {@link org.pepstock.charba.client.annotation.AnnotationPlugin#ID} plugin. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.annotation.listeners; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/annotation/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all classes to activate the {@link AnnotationPlugin#ID} plugin (AKA chartjs-plugin-annotation.js ) for CHART.js. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.annotation; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/AlignToPixelsCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.configuration.Axis; 22 | 23 | /** 24 | * Callback interface to set whatever alignToPixels property at runtime, for {@link Axis}. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface AlignToPixelsCallback extends Scriptable { 30 | 31 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/AngleCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.configuration.Arc; 22 | 23 | /** 24 | * Callback interface to set angle property of {@link Arc} at runtime. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface AngleCallback extends Scriptable { 30 | 31 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/BaseCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.data.BarDataset; 22 | 23 | /** 24 | * Callback interface to set base property at runtime for {@link BarDataset}. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface BaseCallback extends Scriptable { 30 | 31 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/BeginAtZeroCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.configuration.CartesianLinearAxis; 22 | 23 | /** 24 | * Callback interface to set whatever beginAtZero property at runtime, for {@link CartesianLinearAxis}. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface BeginAtZeroCallback extends Scriptable { 30 | 31 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/BorderAlignCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.enums.BorderAlign; 22 | 23 | /** 24 | * Callback interface to set borderAlign property at runtime. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface BorderAlignCallback extends Scriptable { 30 | 31 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/BorderDashCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import java.util.List; 22 | 23 | /** 24 | * Callback interface to set borderDash property at runtime. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | * @param type of context to pass to the callback. 29 | */ 30 | public interface BorderDashCallback extends Scriptable, C> { 31 | 32 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/BorderDashOffsetCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | /** 22 | * Callback interface to set borderDashOffset property at runtime. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | * 26 | * @param type of context to pass to the callback. 27 | */ 28 | public interface BorderDashOffsetCallback extends Scriptable { 29 | 30 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/BorderSkippedCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.enums.BorderSkipped; 22 | 23 | /** 24 | * Callback interface to set borderSkipped property at runtime. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface BorderSkippedCallback extends Scriptable { 30 | 31 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/CapStyleCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.enums.CapStyle; 22 | 23 | /** 24 | * Callback interface to set borderCapStyle property at runtime. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | * @param type of context to pass to the callback. 29 | */ 30 | public interface CapStyleCallback extends Scriptable { 31 | 32 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/CircularCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.configuration.Arc; 22 | 23 | /** 24 | * Callback interface to set circular property of {@link Arc} at runtime. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface CircularCallback extends Scriptable { 30 | 31 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/CountCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.configuration.IsLinearTick; 22 | 23 | /** 24 | * Callback interface to set count property at runtime, for {@link IsLinearTick} instances. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface CountCallback extends Scriptable { 30 | 31 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/CubicInterpolationModeCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.enums.CubicInterpolationMode; 22 | 23 | /** 24 | * Callback interface to set cubicInterpolationMode property at runtime. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface CubicInterpolationModeCallback extends Scriptable { 30 | 31 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/DelayCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.configuration.Animation; 22 | 23 | /** 24 | * Callback interface to set delay property of {@link Animation} at runtime. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface DelayCallback extends Scriptable { 30 | 31 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/DrawActiveElementsOnTopCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | /** 22 | * Callback interface to set drawActiveElementsOnTop property of at runtime. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | * 26 | */ 27 | public interface DrawActiveElementsOnTopCallback extends Scriptable { 28 | 29 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/DurationCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.configuration.Animation; 22 | 23 | /** 24 | * Callback interface to set duration property of {@link Animation} at runtime. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface DurationCallback extends Scriptable { 30 | 31 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/EasingCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.configuration.Animation; 22 | import org.pepstock.charba.client.enums.Easing; 23 | 24 | /** 25 | * Callback interface to set easing property of {@link Animation} at runtime. 26 | * 27 | * @author Andrea "Stock" Stocchero 28 | * 29 | */ 30 | public interface EasingCallback extends Scriptable { 31 | 32 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/ElementAlignCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.enums.ElementAlign; 22 | 23 | /** 24 | * Callback interface to set align property at runtime 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | * @param type of context to pass to the callback. 29 | */ 30 | public interface ElementAlignCallback extends Scriptable { 31 | 32 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/EnableBorderRadiusCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.configuration.Bar; 22 | 23 | /** 24 | * Callback interface to set enableBorderRadius property of {@link Bar} at runtime. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface EnableBorderRadiusCallback extends Scriptable { 30 | 31 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/FontCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.items.FontItem; 22 | 23 | /** 24 | * Callback interface to set font property at runtime. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | * @param type of context to pass to the callback. 29 | */ 30 | public interface FontCallback extends Scriptable { 31 | 32 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/FromCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.options.AnimationCollection; 22 | 23 | /** 24 | * Callback interface to set from property of {@link AnimationCollection} at runtime. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface FromCallback extends Scriptable { 30 | 31 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/FullSizeCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | /** 22 | * Callback interface to set fullSize property at runtime. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | * 26 | * @param type of context to pass to the callback. 27 | */ 28 | public interface FullSizeCallback extends Scriptable { 29 | 30 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/GraceCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.configuration.CartesianLinearAxis; 22 | 23 | /** 24 | * Callback interface to set whatever grace property at runtime, for {@link CartesianLinearAxis}. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface GraceCallback extends Scriptable { 30 | 31 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/JoinStyleCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.enums.JoinStyle; 22 | 23 | /** 24 | * Callback interface to set borderJoinStyle property at runtime. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | * @param type of context to pass to the callback. 29 | */ 30 | public interface JoinStyleCallback extends Scriptable { 31 | 32 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/LegendFilterCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.items.LegendItem; 22 | 23 | /** 24 | * Filters legend items out of the legend. Receives 2 parameters, a Legend Item and the chart. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | */ 28 | public interface LegendFilterCallback extends FilterCallback { 29 | 30 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/LegendItemSortCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.items.LegendItem; 22 | 23 | /** 24 | * Allows sorting of legend items. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | */ 28 | public interface LegendItemSortCallback extends ItemSortCallback { 29 | 30 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/LoopCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.configuration.Animation; 22 | 23 | /** 24 | * Callback interface to set loop property of {@link Animation} at runtime. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface LoopCallback extends Scriptable { 30 | 31 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/MaxTicksLimitCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.configuration.IsLinearTick; 22 | 23 | /** 24 | * Callback interface to set maxTicksLimit property at runtime, for {@link IsLinearTick} instances. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface MaxTicksLimitCallback extends Scriptable { 30 | 31 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/MinMaxCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | /** 22 | * Callback interface to set min, max, suggestedMin and suggestedMax properties for the axes. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | */ 26 | public interface MinMaxCallback extends Scriptable { 27 | 28 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/NumberFormatCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.items.NumberFormatItem; 22 | 23 | /** 24 | * Callback interface to set a number format element at runtime. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface NumberFormatCallback extends Scriptable { 30 | 31 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/OffsetCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | /** 22 | * Callback interface to set whatever offset property at runtime. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | * 26 | * @param type of context to pass to the callback. 27 | */ 28 | public interface OffsetCallback extends Scriptable { 29 | 30 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/PaddingCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.items.PaddingItem; 22 | 23 | /** 24 | * Callback interface to set a padding element at runtime. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | * @param type of context to pass to the callback. 29 | */ 30 | public interface PaddingCallback extends Scriptable { 31 | 32 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/PositionCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.enums.Position; 22 | 23 | /** 24 | * Callback interface to set position property at runtime. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | * @param type of context to pass to the callback. 29 | */ 30 | public interface PositionCallback extends Scriptable { 31 | 32 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/PrecisionCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.configuration.IsLinearTick; 22 | 23 | /** 24 | * Callback interface to set maxTicksLimit property at runtime, for {@link IsLinearTick} instances. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface PrecisionCallback extends Scriptable { 30 | 31 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/RadiusCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | /** 22 | * Callback interface to set whatever radius property at runtime. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | * 26 | * @param type of context to pass to the callback. 27 | */ 28 | public interface RadiusCallback extends Scriptable { 29 | 30 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/ReverseCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.configuration.Axis; 22 | 23 | /** 24 | * Callback interface to set reverse property of {@link Axis} at runtime. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface ReverseCallback extends Scriptable { 30 | 31 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/RotationCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | /** 22 | * Callback interface to set whatever rotation property at runtime. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | * 26 | * @param type of context to pass to the callback. 27 | */ 28 | public interface RotationCallback extends Scriptable { 29 | 30 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/ScaleOffsetCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.configuration.CartesianAxis; 22 | 23 | /** 24 | * Callback interface to set whatever offset property at runtime, for {@link CartesianAxis}. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface ScaleOffsetCallback extends Scriptable { 30 | 31 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/ScalePositionCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.configuration.CartesianAxis; 22 | 23 | /** 24 | * Callback interface to set position property at runtime, for {@link CartesianAxis}. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface ScalePositionCallback extends Scriptable { 30 | 31 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/ScaleWeightCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.configuration.Axis; 22 | 23 | /** 24 | * Callback interface to set whatever weight property at runtime, for {@link Axis}. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface ScaleWeightCallback extends Scriptable { 30 | 31 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/SimpleDisplayCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | /** 22 | * Callback interface to set display property at runtime. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | * 26 | * @param type of context to pass to the callback. 27 | */ 28 | public interface SimpleDisplayCallback extends Scriptable { 29 | 30 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/SimplePaddingCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | /** 22 | * Callback interface to set padding property (not as object but only as number) at runtime to scale instance. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | * 26 | */ 27 | public interface SimplePaddingCallback extends Scriptable { 28 | 29 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/StackCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.configuration.CartesianAxis; 22 | 23 | /** 24 | * Callback interface to set whatever stack property at runtime, for {@link CartesianAxis}. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface StackCallback extends Scriptable { 30 | 31 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/StackedCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.configuration.CartesianAxis; 22 | 23 | /** 24 | * Callback interface to set whatever stacked property at runtime, for {@link CartesianAxis}. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface StackedCallback extends Scriptable { 30 | 31 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/StartAngleCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.configuration.RadialAxis; 22 | 23 | /** 24 | * Callback interface to set whatever startAngle property at runtime, for {@link RadialAxis}. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface StartAngleCallback extends Scriptable { 30 | 31 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/StepSizeCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.configuration.IsLinearTick; 22 | 23 | /** 24 | * Callback interface to set stepSize property at runtime, for {@link IsLinearTick} instances. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | */ 28 | public interface StepSizeCallback extends Scriptable { 29 | 30 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/SteppedCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.enums.Stepped; 22 | 23 | /** 24 | * Callback interface to set stepped property at runtime. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface SteppedCallback extends Scriptable { 30 | 31 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/TextAlignCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.enums.TextAlign; 22 | 23 | /** 24 | * Callback interface to set textAlign property at runtime 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | * @param type of context to pass to the callback. 29 | */ 30 | public interface TextAlignCallback extends Scriptable { 31 | 32 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/TextCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | /** 22 | * Callback interface to set text property at runtime. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | * 26 | * @param type of context to pass to the callback. 27 | */ 28 | public interface TextCallback extends Scriptable { 29 | 30 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/ToCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.options.AnimationCollection; 22 | 23 | /** 24 | * Callback interface to set to property of {@link AnimationCollection} at runtime. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface ToCallback extends Scriptable { 30 | 31 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/TooltipFilterCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.items.TooltipItem; 22 | 23 | /** 24 | * Allows filtering of tooltip items. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | */ 28 | public interface TooltipFilterCallback extends FilterCallback { 29 | 30 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/TooltipItemSortCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | import org.pepstock.charba.client.items.TooltipItem; 22 | 23 | /** 24 | * Allows sorting of tooltip items. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | */ 28 | public interface TooltipItemSortCallback extends ItemSortCallback { 29 | 30 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/WidthCallback.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.callbacks; 20 | 21 | /** 22 | * Callback interface to set whatever width property at runtime. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | * 26 | * @param type of context to pass to the callback. 27 | */ 28 | public interface WidthCallback extends Scriptable { 29 | 30 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/callbacks/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * All callbacks interfaces to be implemented, also to use the scriptable options of CHART.JS. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.callbacks; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/colors/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains the enumerations of HTML and GWT Material colors, to consume out-of-the-box, and utilities to create and manage own colors and classes to define gradients of patterns 21 | * for charts. 22 | * 23 | * @author Andrea "Stock" Stocchero 24 | * 25 | */ 26 | package org.pepstock.charba.client.colors; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/colors/tiles/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all classes to build tiles to use in the a canvas patterns or a Charba pattern. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.colors.tiles; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/commons/KeyFactory.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.commons; 20 | 21 | /** 22 | * Interface to be implemented to load keys from an array of native object. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | */ 26 | public interface KeyFactory { 27 | 28 | /** 29 | * Creates a key instance by a string. 30 | * 31 | * @param value value of the key 32 | * @return key instance 33 | */ 34 | T create(String value); 35 | 36 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/commons/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Core classes to manage the inter-operations with java script code. Contains also common classes to use on all packages. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.commons; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/configuration/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all elements to configure a chart instance (know as chart options at instance level). 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.configuration; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/controllers/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all classes to manage the implementations of controllers. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.controllers; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/data/HasDataset.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.data; 20 | 21 | /** 22 | * Interface to get a dataset instance. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | * 26 | */ 27 | public interface HasDataset { 28 | 29 | /** 30 | * Gets the dataset instance. 31 | * 32 | * @return the dataset instance 33 | */ 34 | Dataset getDataset(); 35 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/data/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all elements to configure the datasets of a chart instance (know as chart data at instance level). 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.data; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/datalabels/DefaultLabels.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.datalabels; 20 | 21 | /** 22 | * {@link DataLabelsPlugin#ID} plugin default options for LABELS element.
23 | * It contains all default values for LABELS. 24 | * 25 | * @author Andrea "Stock" Stocchero 26 | * 27 | */ 28 | final class DefaultLabels implements IsDefaultLabels { 29 | 30 | /** 31 | * To avoid any instantiation 32 | */ 33 | DefaultLabels() { 34 | // do nothing 35 | } 36 | 37 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/datalabels/DefaultListeners.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.datalabels; 20 | 21 | /** 22 | * {@link DataLabelsPlugin#ID} plugin default options for LISTENERS element.
23 | * It contains all default values for LISTENERS. 24 | * 25 | * @author Andrea "Stock" Stocchero 26 | * 27 | */ 28 | final class DefaultListeners implements IsDefaultListeners { 29 | 30 | /** 31 | * Creates the empty object 32 | */ 33 | DefaultListeners() { 34 | } 35 | 36 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/datalabels/callbacks/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains the {@link org.pepstock.charba.client.datalabels.DataLabelsPlugin#ID} plugin callback interfaces to configure the plugin itself. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.datalabels.callbacks; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/datalabels/enums/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all enumerations to configure the {@link org.pepstock.charba.client.datalabels.DataLabelsPlugin#ID} plugin. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.datalabels.enums; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/datalabels/events/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains the {@link org.pepstock.charba.client.datalabels.DataLabelsPlugin#ID} plugin event handlers interfaces to catch event of plugin. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.datalabels.events; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/datalabels/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all classes to activate the {@link org.pepstock.charba.client.datalabels.DataLabelsPlugin#ID} plugin (AKA chartjs-plugin-datalabels.js ) for CHART.js. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.datalabels; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/defaults/IsDefaultAdapters.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.defaults; 20 | 21 | /** 22 | * Interface to define adapter options defaults. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | */ 26 | public interface IsDefaultAdapters { 27 | 28 | /** 29 | * Returns the date adapter options. 30 | * 31 | * @return date adapter options used to configure the date adapter 32 | */ 33 | IsDefaultDateAdapterOptions getDate(); 34 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/defaults/IsDefaultMajor.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.defaults; 20 | 21 | /** 22 | * Interface to define MAJOR tick object defaults. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | */ 26 | public interface IsDefaultMajor { 27 | 28 | /** 29 | * If true, major tick options are used to show major ticks. 30 | * 31 | * @return if true, major tick options are used to show major ticks 32 | */ 33 | boolean isEnabled(); 34 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/defaults/IsDefaultSubtitle.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.defaults; 20 | 21 | /** 22 | * Interface to define subtitle object defaults. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | */ 26 | public interface IsDefaultSubtitle extends IsDefaultAbstractTitle { 27 | 28 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/defaults/IsDefaultTitle.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.defaults; 20 | 21 | /** 22 | * Interface to define title object defaults. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | */ 26 | public interface IsDefaultTitle extends IsDefaultAbstractTitle { 27 | 28 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/defaults/chart/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains the default values of chart options based on type of chart instance. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.defaults.chart; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/defaults/globals/DefaultHover.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.defaults.globals; 20 | 21 | /** 22 | * CHART.JS default values for HOVER element. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | */ 26 | public final class DefaultHover extends DefaultInteraction { 27 | 28 | /** 29 | * To avoid any instantiation 30 | */ 31 | DefaultHover() { 32 | // do nothing 33 | } 34 | 35 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/defaults/globals/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains the default values of chart options for all chart types (CHART.JS options defaults). 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.defaults.globals; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/defaults/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all interfaces need to provide defaults values of the chart options. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.defaults; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/dom/elements/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains a set of DOM elements that Charba is using. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.dom.elements; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/dom/enums/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains enumerations used inside the DOM tree to set properties or invokes methods of elements or items. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.dom.enums; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/dom/events/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all classes to map and manage DOM events. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.dom.events; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/dom/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all classes needed to work with DOM tree, base classes of a DOM tree. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.dom; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/dom/safehtml/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains the classes to use in order to create HTML encoded strings. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.dom.safehtml; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/enums/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all enumerations of some chart options where only a specific set of values can be set. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.enums; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/events/AddHandlerEventHandler.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.events; 20 | 21 | /** 22 | * Event handler for new event handler. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | */ 26 | public interface AddHandlerEventHandler extends EventHandler { 27 | 28 | /** 29 | * Invoked when a new event handler is added. 30 | * 31 | * @param event event to be consumed 32 | */ 33 | void onAdd(AddHandlerEvent event); 34 | 35 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/events/AxisClickEventHandler.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.events; 20 | 21 | /** 22 | * Event handler for clicking on the chart axis. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | */ 26 | public interface AxisClickEventHandler extends ChartEventHandler { 27 | 28 | /** 29 | * Invoked when the user clicks on the chart axis. 30 | * 31 | * @param event axis click event 32 | */ 33 | void onClick(AxisClickEvent event); 34 | 35 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/events/AxisEnterEventHandler.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.events; 20 | 21 | /** 22 | * Event handler for entering on the chart axis. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | */ 26 | public interface AxisEnterEventHandler extends ChartEventHandler { 27 | 28 | /** 29 | * Invoked when the user is entering on the chart axis. 30 | * 31 | * @param event axis enter event 32 | */ 33 | void onEnter(AxisEnterEvent event); 34 | 35 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/events/AxisHoverEventHandler.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.events; 20 | 21 | /** 22 | * Event handler for hovering on the chart axis. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | */ 26 | public interface AxisHoverEventHandler extends ChartEventHandler { 27 | 28 | /** 29 | * Invoked when the user is hovering on the chart axis. 30 | * 31 | * @param event axis hover event 32 | */ 33 | void onHover(AxisHoverEvent event); 34 | 35 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/events/AxisLeaveEventHandler.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.events; 20 | 21 | /** 22 | * Event handler for leaving on the chart axis. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | */ 26 | public interface AxisLeaveEventHandler extends ChartEventHandler { 27 | 28 | /** 29 | * Invoked when the user is leaving on the chart axis. 30 | * 31 | * @param event axis leave event 32 | */ 33 | void onLeave(AxisLeaveEvent event); 34 | 35 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/events/ChartClickEventHandler.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.events; 20 | 21 | /** 22 | * Event handler for clicking on the chart. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | */ 26 | public interface ChartClickEventHandler extends ChartEventHandler { 27 | 28 | /** 29 | * Invoked when the user clicks on the chart. 30 | * 31 | * @param event chart click event 32 | */ 33 | void onClick(ChartClickEvent event); 34 | 35 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/events/ChartEventHandler.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.events; 20 | 21 | /** 22 | * Common interface for all chart event handlers, used to recognize when the chart event handlers (and only the chart ones) have been activated. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | */ 26 | public interface ChartEventHandler extends EventHandler { 27 | 28 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/events/ChartHoverEventHandler.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.events; 20 | 21 | /** 22 | * Event handler for hovering on the chart. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | */ 26 | public interface ChartHoverEventHandler extends ChartEventHandler { 27 | 28 | /** 29 | * Invoked when the user hovers on the chart. 30 | * 31 | * @param event chart hover event 32 | */ 33 | void onHover(ChartHoverEvent event); 34 | 35 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/events/ChartResizeEventHandler.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.events; 20 | 21 | /** 22 | * Event handler for chart resize event managing. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | */ 26 | public interface ChartResizeEventHandler extends ChartEventHandler { 27 | 28 | /** 29 | * Invoked when the chart has been resized. 30 | * 31 | * @param event chart resize event 32 | */ 33 | void onResize(ChartResizeEvent event); 34 | 35 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/events/EventHandler.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.events; 20 | 21 | /** 22 | * Interface for objects which will be handlers. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | * 26 | */ 27 | public interface EventHandler { 28 | 29 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/events/LegendClickEventHandler.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.events; 20 | 21 | /** 22 | * Event handler for clicking on the chart legend. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | */ 26 | public interface LegendClickEventHandler extends ChartEventHandler { 27 | 28 | /** 29 | * Invoked when the user clicks on the chart legend. 30 | * 31 | * @param event legend click event 32 | */ 33 | void onClick(LegendClickEvent event); 34 | 35 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/events/LegendHoverEventHandler.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.events; 20 | 21 | /** 22 | * Event handler for hovering on the chart legend. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | */ 26 | public interface LegendHoverEventHandler extends ChartEventHandler { 27 | 28 | /** 29 | * Invoked when the user hovers on the chart legend. 30 | * 31 | * @param event legend hover event 32 | */ 33 | void onHover(LegendHoverEvent event); 34 | 35 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/events/LegendLeaveEventHandler.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.events; 20 | 21 | /** 22 | * Event handler for leaving on the chart legend. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | */ 26 | public interface LegendLeaveEventHandler extends ChartEventHandler { 27 | 28 | /** 29 | * Invoked when the user leaves on the chart legend. 30 | * 31 | * @param event legend leave event 32 | */ 33 | void onLeave(LegendLeaveEvent event); 34 | 35 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/events/RemoveHandlerEventHandler.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.events; 20 | 21 | /** 22 | * Event handler for removing a chart event handler. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | */ 26 | public interface RemoveHandlerEventHandler extends EventHandler { 27 | 28 | /** 29 | * Invoked when a chart event handler is removed. 30 | * 31 | * @param event event to be consumed 32 | */ 33 | void onRemove(RemoveHandlerEvent event); 34 | 35 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/events/SubtitleEnterEventHandler.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.events; 20 | 21 | /** 22 | * Event handler for entering on the chart title. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | */ 26 | public interface SubtitleEnterEventHandler extends ChartEventHandler { 27 | 28 | /** 29 | * Invoked when the user enters on the chart title. 30 | * 31 | * @param event subtitle enter event 32 | */ 33 | void onEnter(SubtitleEnterEvent event); 34 | 35 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/events/SubtitleLeaveEventHandler.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.events; 20 | 21 | /** 22 | * Event handler for leaving on the chart title. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | */ 26 | public interface SubtitleLeaveEventHandler extends ChartEventHandler { 27 | 28 | /** 29 | * Invoked when the user leaves on the chart title. 30 | * 31 | * @param event subtitle leave event 32 | */ 33 | void onLeave(SubtitleLeaveEvent event); 34 | 35 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/events/TitleClickEventHandler.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.events; 20 | 21 | /** 22 | * Event handler for clicking on the chart title. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | */ 26 | public interface TitleClickEventHandler extends ChartEventHandler { 27 | 28 | /** 29 | * Invoked when the user clicks on the chart title. 30 | * 31 | * @param event title click event 32 | */ 33 | void onClick(TitleClickEvent event); 34 | 35 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/events/TitleEnterEventHandler.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.events; 20 | 21 | /** 22 | * Event handler for entering on the chart title. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | */ 26 | public interface TitleEnterEventHandler extends ChartEventHandler { 27 | 28 | /** 29 | * Invoked when the user enters on the chart title. 30 | * 31 | * @param event title enter event 32 | */ 33 | void onEnter(TitleEnterEvent event); 34 | 35 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/events/TitleLeaveEventHandler.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.events; 20 | 21 | /** 22 | * Event handler for leaving on the chart title. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | */ 26 | public interface TitleLeaveEventHandler extends ChartEventHandler { 27 | 28 | /** 29 | * Invoked when the user leaves on the chart title. 30 | * 31 | * @param event title leave event 32 | */ 33 | void onLeave(TitleLeaveEvent event); 34 | 35 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/events/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all events to interact with chart instance. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.events; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/geo/callbacks/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all callbacks to configure the GEO controllers. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.geo.callbacks; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/geo/enums/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all enumerations to configure the GEO controllers. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.geo.enums; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/geo/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all classes to activate the GEO controllers (AKA chartjs-chart-geo.js ) for CHART.js. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.geo; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/gradient/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all classes to activate the {@link org.pepstock.charba.client.gradient.GradientPlugin#ID} plugin (AKA chartjs-plugin-gradient.js ) for CHART.js. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.gradient; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/gwt/Charba.gwt.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 9 | 10 | 11 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/gwt/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains the fundamental java script resources to inject in order to use Charba by GWT. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.gwt; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/gwt/widgets/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all charts classes wrapped as GWT widget in order to enable to use inside to GWT UIBinder. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.gwt.widgets; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/impl/callbacks/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains some callbacks implementations, available out-of-the box. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.impl.callbacks; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/impl/charts/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains METER and GAUGE charts implementations (based on controllers), available out-of-the box. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.impl.charts; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/impl/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Main package with the implementation out-of-the-box of callbacks, plugins and charts. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.impl; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/impl/plugins/CrosshairDefaultLabel.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.impl.plugins; 20 | 21 | /** 22 | * {@link Crosshair#ID} plugin default options for X and Y LABEL elements. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | * 26 | */ 27 | final class CrosshairDefaultLabel implements IsCrosshairDefaultLabel { 28 | 29 | /** 30 | * Creates an empty object. 31 | */ 32 | CrosshairDefaultLabel() { 33 | // do nothing 34 | } 35 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/impl/plugins/SelectionStatus.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.impl.plugins; 20 | 21 | /** 22 | * Enumerates the status of a selection. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | */ 26 | enum SelectionStatus 27 | { 28 | /** 29 | * Ready for selection 30 | */ 31 | READY, 32 | /** 33 | * The selection is running but not completed 34 | */ 35 | SELECTING, 36 | /** 37 | * The selection has been completed 38 | */ 39 | SELECTED, 40 | 41 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/impl/plugins/enums/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains the enumeration items to configure out of the box CHARBA plugins. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.impl.plugins.enums; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/impl/plugins/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains some plugins implementations, available out-of-the box. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.impl.plugins; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/interaction/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all classes to implement a custom interactions for CHART.JS. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.interaction; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/intl/enums/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains enumerations to use in order to configure the ECMAScript Internationalization API options. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | */ 24 | package org.pepstock.charba.client.intl.enums; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/intl/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains classes in order to use the ECMAScript Internationalization API, which provides language sensitive number formatting, and date and time formatting. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.intl; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/items/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all elements generated by CHART.JS, which are mapping java script objects, to use at runtime in plugins, events or controllers. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.items; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/labels/callbacks/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains the {@link org.pepstock.charba.client.labels.LabelsPlugin#ID} plugin callback interfaces to configure the plugin itself. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.labels.callbacks; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/labels/enums/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all enumerations to configure the {@link org.pepstock.charba.client.labels.LabelsPlugin#ID} plugin. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.labels.enums; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/labels/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all classes to use {@link org.pepstock.charba.client.labels.LabelsPlugin#ID} plugin (AKA chartjs-plugin-labels.js) available for CHART.JS. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.labels; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/matrix/callbacks/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all callbacks to configure the MATRIX controllers. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.matrix.callbacks; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/matrix/enums/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all enumerations to configure the MATRIX controllers. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.matrix.enums; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/matrix/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all classes to activate the Matrix controller (AKA chartjs-chart-matrix.js) for CHART.js. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.matrix; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/ml/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all classes to activate the ML library to use the regression capabilities. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.ml; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/options/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all elements to configure charts at global level (know as chart global options). 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.options; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Main package with all charts implementation, global classes and common interfaces. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/plugins/hooks/BeforeInitHook.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.plugins.hooks; 20 | 21 | import org.pepstock.charba.client.IsChart; 22 | 23 | /** 24 | * Called before initializing 'chart'. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface BeforeInitHook { 30 | 31 | /** 32 | * Called before initializing 'chart'. 33 | * 34 | * @param chart the chart instance. 35 | */ 36 | void onBeforeInit(IsChart chart); 37 | 38 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/plugins/hooks/ResetHook.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.plugins.hooks; 20 | 21 | import org.pepstock.charba.client.IsChart; 22 | 23 | /** 24 | * Called during chart reset. 25 | * 26 | * @author Andrea "Stock" Stocchero 27 | * 28 | */ 29 | public interface ResetHook { 30 | 31 | /** 32 | * Called during chart reset. 33 | * 34 | * @param chart the chart instance. 35 | */ 36 | void onReset(IsChart chart); 37 | 38 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/plugins/hooks/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all hooks interfaces used by {@link org.pepstock.charba.client.plugins.SmartPlugin} in order to activate a custom plugin. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.plugins.hooks; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/plugins/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all classes to manage the plugin implementations. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.plugins; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/positioner/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all classes to implement a custom tooltip positioner for CHART.JS. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.positioner; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/resources/IsInternalInjectableTextResource.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.resources; 20 | 21 | /** 22 | * Internal empty interface for an injectable resource related to a text resource and used by module out of the box provided by CHARBA for deferred resources. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | * 26 | */ 27 | interface IsInternalInjectableTextResource { 28 | 29 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/resources/IsResourceType.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.resources; 20 | 21 | /** 22 | * Base empty interface to define a resource type to load mandatory CHARBA resources. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | * 26 | */ 27 | interface IsResourceType { 28 | 29 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/resources/externs/charba.toast.ext.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @externs 3 | */ 4 | /** 5 | * @constructor 6 | * @return {CharbaToast} 7 | */ 8 | function CharbaToast() {}; 9 | /** 10 | * @type {Object} 11 | */ 12 | CharbaToast.defaults; 13 | /** 14 | * @type {Object} 15 | */ 16 | CharbaToast.overrides; 17 | /** 18 | * @type {number} 19 | */ 20 | CharbaToast.currentOpenItems; 21 | /** 22 | * @type {Function} 23 | */ 24 | CharbaToast.onClose; 25 | /** 26 | * @param {number} id 27 | * @param {string} title 28 | * @param {Array} label 29 | * @param {Object} options 30 | * @param {Object} dateTime 31 | * @return {Object} 32 | */ 33 | CharbaToast.create = function(id, title, label, options, dateTime) {}; 34 | /** 35 | * @param {Object} source 36 | * @return {Object} 37 | */ 38 | CharbaToast.clone = function(source) {}; 39 | /** 40 | * @param {Object} item 41 | * @return {undefined} 42 | */ 43 | CharbaToast.close = function(item) {}; 44 | -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/resources/js/charba.empty.js: -------------------------------------------------------------------------------- 1 | /* EMPTY */ -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/resources/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains the fundamental java script resources to inject in order to use Charba.
21 | * It provides all implementations to inject embedded resources for LUXON date adapters. 22 | * 23 | * @author Andrea "Stock" Stocchero 24 | * 25 | */ 26 | package org.pepstock.charba.client.resources; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/sankey/callbacks/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all callbacks to configure the SANKEY controllers. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.sankey.callbacks; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/sankey/enums/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all enumerations to configure the SANKEY controllers. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.sankey.enums; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/sankey/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all classes to activate the Sankey controller (AKA chartjs-chart-sankey.js ) for CHART.js. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.sankey; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/treemap/callbacks/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains the {@link org.pepstock.charba.client.treemap.TreeMapChart} controller callback interfaces to configure the chart itself. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.treemap.callbacks; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/treemap/enums/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all enumerations to configure the {@link org.pepstock.charba.client.treemap.TreeMapChart} controller. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.treemap.enums; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/treemap/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all classes to activate the TreeMap controller (AKA chartjs-chart-treemap.js ) for CHART.js. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.treemap; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/utils/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains some utilities to use in Charba, like HTML annotation builder, and other java script utilities useful for debugging. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.utils; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/utils/toast/enums/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all enumerations to configure the TOAST utility. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.utils.toast.enums; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/utils/toast/handlers/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all handlers to implement in order to manage events of change status of the TOAST utility. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.utils.toast.handlers; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/utils/toast/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all classes to use {@link org.pepstock.charba.client.utils.toast.Toaster} utility. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.utils.toast; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/zoom/DefaultLimits.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.zoom; 20 | 21 | /** 22 | * {@link ZoomPlugin#ID} plugin default options for limits elements. 23 | * 24 | * @author Andrea "Stock" Stocchero 25 | * 26 | */ 27 | final class DefaultLimits implements IsDefaultLimits { 28 | 29 | /** 30 | * Creates an empty object. 31 | */ 32 | DefaultLimits() { 33 | // do nothing 34 | } 35 | 36 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/zoom/DefaultPan.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | package org.pepstock.charba.client.zoom; 20 | 21 | /** 22 | * {@link ZoomPlugin#ID} plugin default options for PAN element.
23 | * It contains all default values for PAN. 24 | * 25 | * @author Andrea "Stock" Stocchero 26 | * 27 | */ 28 | final class DefaultPan implements IsDefaultPan { 29 | 30 | /** 31 | * Creates an empty object. 32 | */ 33 | DefaultPan() { 34 | // do nothing 35 | } 36 | 37 | } -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/zoom/callbacks/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains the {@link org.pepstock.charba.client.zoom.ZoomPlugin#ID} plugin callback interfaces to configure the plugin itself and to catch events. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.zoom.callbacks; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/zoom/enums/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains the {@link org.pepstock.charba.client.zoom.ZoomPlugin#ID} plugin enumerations to configure the plugin. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.zoom.enums; -------------------------------------------------------------------------------- /src/org/pepstock/charba/client/zoom/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | /** 20 | * Contains all classes to activate the {@link org.pepstock.charba.client.zoom.ZoomPlugin#ID} plugin (AKA chartjs-plugin-zoom.js ) for CHART.js. 21 | * 22 | * @author Andrea "Stock" Stocchero 23 | * 24 | */ 25 | package org.pepstock.charba.client.zoom; --------------------------------------------------------------------------------