├── AnyChart-iOS-samples
├── AnyChart-iOS-samples.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcuserdata
│ │ │ └── arsenymalkov.xcuserdatad
│ │ │ └── UserInterfaceState.xcuserstate
│ └── xcuserdata
│ │ └── arsenymalkov.xcuserdatad
│ │ ├── xcdebugger
│ │ └── Breakpoints_v2.xcbkptlist
│ │ └── xcschemes
│ │ └── xcschememanagement.plist
├── AnyChart-iOS-samples
│ ├── AppDelegate.swift
│ ├── Assets.xcassets
│ │ └── AppIcon.appiconset
│ │ │ └── Contents.json
│ ├── Base.lproj
│ │ ├── LaunchScreen.storyboard
│ │ └── Main.storyboard
│ ├── ChartCell.swift
│ ├── Charts
│ │ ├── Area3DChartViewController.swift
│ │ ├── AreaChartViewController.swift
│ │ ├── Bar3DChartViewController.swift
│ │ ├── BarChartViewController.swift
│ │ ├── BoxChartViewController.swift
│ │ ├── BubbleChartViewController.swift
│ │ ├── CircularGaugeChartViewController.swift
│ │ ├── Column3DChartViewController.swift
│ │ ├── ColumnChartViewController.swift
│ │ ├── CombinedChartViewController.swift
│ │ ├── FunnelChartViewController.swift
│ │ ├── HeatMapChartViewController.swift
│ │ ├── LineChartViewController.swift
│ │ ├── MekkoChartViewController.swift
│ │ ├── MosaicChartViewController.swift
│ │ ├── ParetoChartViewController.swift
│ │ ├── PieChartViewController.swift
│ │ ├── PyramidChartViewController.swift
│ │ ├── RadarChartViewController.swift
│ │ ├── RangeChartViewController.swift
│ │ ├── VennDiagramViewController.swift
│ │ └── VerticalChartViewController.swift
│ ├── CollectionViewController.swift
│ └── Info.plist
├── AnyChart-iOS-samplesTests
│ ├── AnyChart_iOS_samplesTests.swift
│ └── Info.plist
└── AnyChart-iOS-samplesUITests
│ ├── AnyChart_iOS_samplesUITests.swift
│ └── Info.plist
├── AnyChart-iOS.xcodeproj
└── project.pbxproj
├── AnyChart-iOS.xcworkspace
├── contents.xcworkspacedata
└── xcuserdata
│ └── arsenymalkov.xcuserdatad
│ └── UserInterfaceState.xcuserstate
├── AnyChart-iOS
├── APIlib.swift
├── AnyChart.swift
├── AnyChartView.swift
├── AnyChartView.xib
├── AnyChart_iOS.h
├── DataEntry
│ └── DataEntry.swift
├── Info.plist
├── JavascriptInterface.swift
├── JsObject.swift
├── Namespaces.swift
├── bundle
│ └── anychart-bundle.min.js
├── charts
│ ├── anychart_charts_Bullet.swift
│ ├── anychart_charts_Cartesian.swift
│ ├── anychart_charts_Cartesian3d.swift
│ ├── anychart_charts_CircularGauge.swift
│ ├── anychart_charts_Funnel.swift
│ ├── anychart_charts_Gantt.swift
│ ├── anychart_charts_HeatMap.swift
│ ├── anychart_charts_LinearGauge.swift
│ ├── anychart_charts_Map.swift
│ ├── anychart_charts_Mekko.swift
│ ├── anychart_charts_Pareto.swift
│ ├── anychart_charts_Pert.swift
│ ├── anychart_charts_Pie.swift
│ ├── anychart_charts_Polar.swift
│ ├── anychart_charts_Pyramid.swift
│ ├── anychart_charts_Radar.swift
│ ├── anychart_charts_Resource.swift
│ ├── anychart_charts_Sankey.swift
│ ├── anychart_charts_Scatter.swift
│ ├── anychart_charts_Sparkline.swift
│ ├── anychart_charts_Stock.swift
│ ├── anychart_charts_Sunburst.swift
│ ├── anychart_charts_TagCloud.swift
│ ├── anychart_charts_TreeMap.swift
│ ├── anychart_charts_Venn.swift
│ ├── anychart_charts_Waterfall.swift
│ ├── resource
│ │ └── anychart_charts_resource_ZoomLevel.swift
│ ├── stock
│ │ └── anychart_charts_stock_SelectedRange.swift
│ └── sunburst
│ │ └── anychart_charts_sunburst_StatsFieldsName.swift
├── core
│ ├── annotations
│ │ ├── anychart_core_annotations_AndrewsPitchfork.swift
│ │ ├── anychart_core_annotations_AnnotationJSONFormat.swift
│ │ ├── anychart_core_annotations_Base.swift
│ │ ├── anychart_core_annotations_ChartController.swift
│ │ ├── anychart_core_annotations_Ellipse.swift
│ │ ├── anychart_core_annotations_FibonacciArc.swift
│ │ ├── anychart_core_annotations_FibonacciBase.swift
│ │ ├── anychart_core_annotations_FibonacciFan.swift
│ │ ├── anychart_core_annotations_FibonacciRetracement.swift
│ │ ├── anychart_core_annotations_FibonacciTimezones.swift
│ │ ├── anychart_core_annotations_HorizontalLine.swift
│ │ ├── anychart_core_annotations_InfiniteLine.swift
│ │ ├── anychart_core_annotations_Label.swift
│ │ ├── anychart_core_annotations_Line.swift
│ │ ├── anychart_core_annotations_Marker.swift
│ │ ├── anychart_core_annotations_PlotController.swift
│ │ ├── anychart_core_annotations_Ray.swift
│ │ ├── anychart_core_annotations_Rectangle.swift
│ │ ├── anychart_core_annotations_TrendChannel.swift
│ │ ├── anychart_core_annotations_Triangle.swift
│ │ └── anychart_core_annotations_VerticalLine.swift
│ ├── anychart_core_Base.swift
│ ├── anychart_core_BubblePoint.swift
│ ├── anychart_core_Chart.swift
│ ├── anychart_core_ChoroplethPoint.swift
│ ├── anychart_core_MapPoint.swift
│ ├── anychart_core_NoDataSettings.swift
│ ├── anychart_core_PiePoint.swift
│ ├── anychart_core_Point.swift
│ ├── anychart_core_SeparateChart.swift
│ ├── anychart_core_SeriesBase.swift
│ ├── anychart_core_SeriesPoint.swift
│ ├── anychart_core_StateSettings.swift
│ ├── anychart_core_Text.swift
│ ├── anychart_core_TreeChartPoint.swift
│ ├── anychart_core_VisualBase.swift
│ ├── anychart_core_VisualBaseWithBounds.swift
│ ├── axes
│ │ ├── anychart_core_axes_Circular.swift
│ │ ├── anychart_core_axes_CircularTicks.swift
│ │ ├── anychart_core_axes_Linear.swift
│ │ ├── anychart_core_axes_LinearGauge.swift
│ │ ├── anychart_core_axes_Map.swift
│ │ ├── anychart_core_axes_MapSettings.swift
│ │ ├── anychart_core_axes_MapTicks.swift
│ │ ├── anychart_core_axes_Polar.swift
│ │ ├── anychart_core_axes_Radar.swift
│ │ ├── anychart_core_axes_Radial.swift
│ │ ├── anychart_core_axes_StockDateTime.swift
│ │ └── anychart_core_axes_Ticks.swift
│ ├── axismarkers
│ │ ├── anychart_core_axismarkers_CircularRange.swift
│ │ ├── anychart_core_axismarkers_CurrentPriceIndicator.swift
│ │ ├── anychart_core_axismarkers_GanttLine.swift
│ │ ├── anychart_core_axismarkers_GanttRange.swift
│ │ ├── anychart_core_axismarkers_GanttText.swift
│ │ ├── anychart_core_axismarkers_Line.swift
│ │ ├── anychart_core_axismarkers_Range.swift
│ │ └── anychart_core_axismarkers_Text.swift
│ ├── cartesian
│ │ └── series
│ │ │ ├── anychart_core_cartesian_series_Area.swift
│ │ │ ├── anychart_core_cartesian_series_Area3d.swift
│ │ │ ├── anychart_core_cartesian_series_Bar.swift
│ │ │ ├── anychart_core_cartesian_series_Bar3d.swift
│ │ │ ├── anychart_core_cartesian_series_Base.swift
│ │ │ ├── anychart_core_cartesian_series_BaseWithMarkers.swift
│ │ │ ├── anychart_core_cartesian_series_Box.swift
│ │ │ ├── anychart_core_cartesian_series_Bubble.swift
│ │ │ ├── anychart_core_cartesian_series_Candlestick.swift
│ │ │ ├── anychart_core_cartesian_series_Column.swift
│ │ │ ├── anychart_core_cartesian_series_Column3d.swift
│ │ │ ├── anychart_core_cartesian_series_ContinuousBase.swift
│ │ │ ├── anychart_core_cartesian_series_ContinuousRangeBase.swift
│ │ │ ├── anychart_core_cartesian_series_DiscreteBase.swift
│ │ │ ├── anychart_core_cartesian_series_Hilo.swift
│ │ │ ├── anychart_core_cartesian_series_JumpLine.swift
│ │ │ ├── anychart_core_cartesian_series_Line.swift
│ │ │ ├── anychart_core_cartesian_series_Line3d.swift
│ │ │ ├── anychart_core_cartesian_series_Marker.swift
│ │ │ ├── anychart_core_cartesian_series_OHLC.swift
│ │ │ ├── anychart_core_cartesian_series_RangeArea.swift
│ │ │ ├── anychart_core_cartesian_series_RangeBar.swift
│ │ │ ├── anychart_core_cartesian_series_RangeColumn.swift
│ │ │ ├── anychart_core_cartesian_series_RangeSplineArea.swift
│ │ │ ├── anychart_core_cartesian_series_RangeStepArea.swift
│ │ │ ├── anychart_core_cartesian_series_Spline.swift
│ │ │ ├── anychart_core_cartesian_series_SplineArea.swift
│ │ │ ├── anychart_core_cartesian_series_StepArea.swift
│ │ │ ├── anychart_core_cartesian_series_StepLine.swift
│ │ │ ├── anychart_core_cartesian_series_Stick.swift
│ │ │ └── anychart_core_cartesian_series_WidthBased.swift
│ ├── gantt
│ │ ├── anychart_core_gantt_DataGridButton.swift
│ │ ├── anychart_core_gantt_Overlay.swift
│ │ ├── anychart_core_gantt_TimeLineHeader.swift
│ │ ├── anychart_core_gantt_TimeLineHeaderLevelHolidaysSettings.swift
│ │ ├── edit
│ │ │ ├── anychart_core_gantt_edit_ElementEdit.swift
│ │ │ ├── anychart_core_gantt_edit_SideControl.swift
│ │ │ ├── anychart_core_gantt_edit_StructureEdit.swift
│ │ │ └── anychart_core_gantt_edit_Thumb.swift
│ │ ├── elements
│ │ │ ├── anychart_core_gantt_elements_BaselinesElement.swift
│ │ │ ├── anychart_core_gantt_elements_ConnectorElement.swift
│ │ │ ├── anychart_core_gantt_elements_GroupingTasksElement.swift
│ │ │ ├── anychart_core_gantt_elements_MilestonesElement.swift
│ │ │ ├── anychart_core_gantt_elements_PeriodsElement.swift
│ │ │ ├── anychart_core_gantt_elements_ProgressElement.swift
│ │ │ ├── anychart_core_gantt_elements_TasksElement.swift
│ │ │ └── anychart_core_gantt_elements_TimelineElement.swift
│ │ ├── rendering
│ │ │ ├── anychart_core_gantt_rendering_Settings.swift
│ │ │ └── settings
│ │ │ │ └── anychart_core_gantt_rendering_settings_ShapeConfig.swift
│ │ └── timelineheader
│ │ │ ├── anychart_core_gantt_timelineheader_Level.swift
│ │ │ └── anychart_core_gantt_timelineheader_LevelWrapper.swift
│ ├── gauge
│ │ ├── anychart_core_gauge_Cap.swift
│ │ └── pointers
│ │ │ ├── anychart_core_gauge_pointers_Bar.swift
│ │ │ ├── anychart_core_gauge_pointers_Base.swift
│ │ │ ├── anychart_core_gauge_pointers_Knob.swift
│ │ │ ├── anychart_core_gauge_pointers_Marker.swift
│ │ │ └── anychart_core_gauge_pointers_Needle.swift
│ ├── grids
│ │ ├── anychart_core_grids_Linear.swift
│ │ ├── anychart_core_grids_Map.swift
│ │ ├── anychart_core_grids_MapSettings.swift
│ │ ├── anychart_core_grids_Polar.swift
│ │ ├── anychart_core_grids_Radar.swift
│ │ └── anychart_core_grids_Stock.swift
│ ├── lineargauge
│ │ ├── anychart_core_lineargauge_ScaleBar.swift
│ │ ├── pointers
│ │ │ ├── anychart_core_lineargauge_pointers_Bar.swift
│ │ │ ├── anychart_core_lineargauge_pointers_Base.swift
│ │ │ ├── anychart_core_lineargauge_pointers_Led.swift
│ │ │ ├── anychart_core_lineargauge_pointers_Marker.swift
│ │ │ ├── anychart_core_lineargauge_pointers_RangeBar.swift
│ │ │ ├── anychart_core_lineargauge_pointers_Tank.swift
│ │ │ └── anychart_core_lineargauge_pointers_Thermometer.swift
│ │ └── scalebar
│ │ │ └── anychart_core_lineargauge_scalebar_ControlPoint.swift
│ ├── map
│ │ └── series
│ │ │ ├── anychart_core_map_series_Base.swift
│ │ │ ├── anychart_core_map_series_BaseWithMarkers.swift
│ │ │ ├── anychart_core_map_series_Bubble.swift
│ │ │ ├── anychart_core_map_series_Choropleth.swift
│ │ │ ├── anychart_core_map_series_Connector.swift
│ │ │ └── anychart_core_map_series_Marker.swift
│ ├── mekko
│ │ └── series
│ │ │ └── anychart_core_mekko_series_Mekko.swift
│ ├── pert
│ │ ├── anychart_core_pert_CriticalPath.swift
│ │ ├── anychart_core_pert_Milestones.swift
│ │ └── anychart_core_pert_Tasks.swift
│ ├── polar
│ │ └── series
│ │ │ ├── anychart_core_polar_series_Area.swift
│ │ │ ├── anychart_core_polar_series_Base.swift
│ │ │ ├── anychart_core_polar_series_Column.swift
│ │ │ ├── anychart_core_polar_series_ContinuousBase.swift
│ │ │ ├── anychart_core_polar_series_Line.swift
│ │ │ ├── anychart_core_polar_series_Marker.swift
│ │ │ ├── anychart_core_polar_series_Polygon.swift
│ │ │ ├── anychart_core_polar_series_Polyline.swift
│ │ │ └── anychart_core_polar_series_RangeColumn.swift
│ ├── radar
│ │ └── series
│ │ │ ├── anychart_core_radar_series_Area.swift
│ │ │ ├── anychart_core_radar_series_Base.swift
│ │ │ ├── anychart_core_radar_series_ContinuousBase.swift
│ │ │ ├── anychart_core_radar_series_Line.swift
│ │ │ └── anychart_core_radar_series_Marker.swift
│ ├── resource
│ │ ├── anychart_core_resource_Activities.swift
│ │ ├── anychart_core_resource_Conflicts.swift
│ │ ├── anychart_core_resource_Grid.swift
│ │ ├── anychart_core_resource_Logo.swift
│ │ ├── anychart_core_resource_ResourceList.swift
│ │ └── resourcelist
│ │ │ ├── anychart_core_resource_resourcelist_ImageSettings.swift
│ │ │ ├── anychart_core_resource_resourcelist_SettingsWithMargin.swift
│ │ │ ├── anychart_core_resource_resourcelist_TagsSettings.swift
│ │ │ └── anychart_core_resource_resourcelist_TextSettings.swift
│ ├── sankey
│ │ └── elements
│ │ │ ├── anychart_core_sankey_elements_Dropoff.swift
│ │ │ ├── anychart_core_sankey_elements_Flow.swift
│ │ │ └── anychart_core_sankey_elements_Node.swift
│ ├── scatter
│ │ └── series
│ │ │ ├── anychart_core_scatter_series_Base.swift
│ │ │ ├── anychart_core_scatter_series_BaseWithMarkers.swift
│ │ │ ├── anychart_core_scatter_series_Bubble.swift
│ │ │ ├── anychart_core_scatter_series_Line.swift
│ │ │ └── anychart_core_scatter_series_Marker.swift
│ ├── series
│ │ ├── anychart_core_series_Base.swift
│ │ ├── anychart_core_series_Cartesian.swift
│ │ ├── anychart_core_series_RenderingSettings.swift
│ │ ├── anychart_core_series_Stock.swift
│ │ └── renderingsettings
│ │ │ ├── anychart_core_series_renderingsettings_Context.swift
│ │ │ ├── anychart_core_series_renderingsettings_PointContext.swift
│ │ │ └── anychart_core_series_renderingsettings_ShapeConfig.swift
│ ├── stock
│ │ ├── anychart_core_stock_Grouping.swift
│ │ ├── anychart_core_stock_Plot.swift
│ │ ├── anychart_core_stock_Scroller.swift
│ │ ├── eventmarkers
│ │ │ ├── anychart_core_stock_eventmarkers_Controller.swift
│ │ │ └── anychart_core_stock_eventmarkers_Group.swift
│ │ ├── grouping
│ │ │ └── anychart_core_stock_grouping_Level.swift
│ │ ├── indicators
│ │ │ ├── anychart_core_stock_indicators_ADL.swift
│ │ │ ├── anychart_core_stock_indicators_AMA.swift
│ │ │ ├── anychart_core_stock_indicators_AO.swift
│ │ │ ├── anychart_core_stock_indicators_ATR.swift
│ │ │ ├── anychart_core_stock_indicators_Aroon.swift
│ │ │ ├── anychart_core_stock_indicators_BBands.swift
│ │ │ ├── anychart_core_stock_indicators_BBandsB.swift
│ │ │ ├── anychart_core_stock_indicators_BBandsWidth.swift
│ │ │ ├── anychart_core_stock_indicators_Base.swift
│ │ │ ├── anychart_core_stock_indicators_CCI.swift
│ │ │ ├── anychart_core_stock_indicators_CHO.swift
│ │ │ ├── anychart_core_stock_indicators_CMF.swift
│ │ │ ├── anychart_core_stock_indicators_DMI.swift
│ │ │ ├── anychart_core_stock_indicators_EMA.swift
│ │ │ ├── anychart_core_stock_indicators_HA.swift
│ │ │ ├── anychart_core_stock_indicators_KDJ.swift
│ │ │ ├── anychart_core_stock_indicators_KeltnerChannels.swift
│ │ │ ├── anychart_core_stock_indicators_MACD.swift
│ │ │ ├── anychart_core_stock_indicators_MFI.swift
│ │ │ ├── anychart_core_stock_indicators_MMA.swift
│ │ │ ├── anychart_core_stock_indicators_Momentum.swift
│ │ │ ├── anychart_core_stock_indicators_OBV.swift
│ │ │ ├── anychart_core_stock_indicators_PSAR.swift
│ │ │ ├── anychart_core_stock_indicators_PriceChannels.swift
│ │ │ ├── anychart_core_stock_indicators_RSI.swift
│ │ │ ├── anychart_core_stock_indicators_RoC.swift
│ │ │ ├── anychart_core_stock_indicators_SMA.swift
│ │ │ ├── anychart_core_stock_indicators_Stochastic.swift
│ │ │ ├── anychart_core_stock_indicators_TRIX.swift
│ │ │ ├── anychart_core_stock_indicators_VolumeMA.swift
│ │ │ └── anychart_core_stock_indicators_WilliamsR.swift
│ │ ├── scrollerseries
│ │ │ ├── anychart_core_stock_scrollerseries_Area.swift
│ │ │ ├── anychart_core_stock_scrollerseries_Base.swift
│ │ │ ├── anychart_core_stock_scrollerseries_Candlestick.swift
│ │ │ ├── anychart_core_stock_scrollerseries_Column.swift
│ │ │ ├── anychart_core_stock_scrollerseries_DiscreteBase.swift
│ │ │ ├── anychart_core_stock_scrollerseries_Hilo.swift
│ │ │ ├── anychart_core_stock_scrollerseries_JumpLine.swift
│ │ │ ├── anychart_core_stock_scrollerseries_Line.swift
│ │ │ ├── anychart_core_stock_scrollerseries_Marker.swift
│ │ │ ├── anychart_core_stock_scrollerseries_OHLC.swift
│ │ │ ├── anychart_core_stock_scrollerseries_RangeArea.swift
│ │ │ ├── anychart_core_stock_scrollerseries_RangeColumn.swift
│ │ │ ├── anychart_core_stock_scrollerseries_RangeSplineArea.swift
│ │ │ ├── anychart_core_stock_scrollerseries_RangeStepArea.swift
│ │ │ ├── anychart_core_stock_scrollerseries_Spline.swift
│ │ │ ├── anychart_core_stock_scrollerseries_SplineArea.swift
│ │ │ ├── anychart_core_stock_scrollerseries_StepArea.swift
│ │ │ ├── anychart_core_stock_scrollerseries_StepLine.swift
│ │ │ └── anychart_core_stock_scrollerseries_Stick.swift
│ │ └── series
│ │ │ ├── anychart_core_stock_series_Area.swift
│ │ │ ├── anychart_core_stock_series_Base.swift
│ │ │ ├── anychart_core_stock_series_Candlestick.swift
│ │ │ ├── anychart_core_stock_series_Column.swift
│ │ │ ├── anychart_core_stock_series_DiscreteBase.swift
│ │ │ ├── anychart_core_stock_series_Hilo.swift
│ │ │ ├── anychart_core_stock_series_JumpLine.swift
│ │ │ ├── anychart_core_stock_series_Line.swift
│ │ │ ├── anychart_core_stock_series_Marker.swift
│ │ │ ├── anychart_core_stock_series_OHLC.swift
│ │ │ ├── anychart_core_stock_series_RangeArea.swift
│ │ │ ├── anychart_core_stock_series_RangeColumn.swift
│ │ │ ├── anychart_core_stock_series_RangeSplineArea.swift
│ │ │ ├── anychart_core_stock_series_RangeStepArea.swift
│ │ │ ├── anychart_core_stock_series_Spline.swift
│ │ │ ├── anychart_core_stock_series_SplineArea.swift
│ │ │ ├── anychart_core_stock_series_StepArea.swift
│ │ │ ├── anychart_core_stock_series_StepLine.swift
│ │ │ └── anychart_core_stock_series_Stick.swift
│ ├── sunburst
│ │ └── anychart_core_sunburst_Level.swift
│ ├── ui
│ │ ├── anychart_core_ui_Background.swift
│ │ ├── anychart_core_ui_Callout.swift
│ │ ├── anychart_core_ui_Center.swift
│ │ ├── anychart_core_ui_ChartCredits.swift
│ │ ├── anychart_core_ui_ChartScroller.swift
│ │ ├── anychart_core_ui_CircularLabelsFactory.swift
│ │ ├── anychart_core_ui_ColorRange.swift
│ │ ├── anychart_core_ui_Crosshair.swift
│ │ ├── anychart_core_ui_CrosshairLabel.swift
│ │ ├── anychart_core_ui_DataArea.swift
│ │ ├── anychart_core_ui_DataGrid.swift
│ │ ├── anychart_core_ui_Label.swift
│ │ ├── anychart_core_ui_LabelsFactory.swift
│ │ ├── anychart_core_ui_Legend.swift
│ │ ├── anychart_core_ui_LegendItem.swift
│ │ ├── anychart_core_ui_MarkersFactory.swift
│ │ ├── anychart_core_ui_Outline.swift
│ │ ├── anychart_core_ui_Paginator.swift
│ │ ├── anychart_core_ui_ScrollBar.swift
│ │ ├── anychart_core_ui_Scroller.swift
│ │ ├── anychart_core_ui_Separator.swift
│ │ ├── anychart_core_ui_StageCredits.swift
│ │ ├── anychart_core_ui_Table.swift
│ │ ├── anychart_core_ui_Timeline.swift
│ │ ├── anychart_core_ui_Title.swift
│ │ ├── anychart_core_ui_Tooltip.swift
│ │ ├── circularlabelsfactory
│ │ │ └── anychart_core_ui_circularlabelsfactory_Label.swift
│ │ ├── datagrid
│ │ │ └── anychart_core_ui_datagrid_Column.swift
│ │ ├── labelsfactory
│ │ │ └── anychart_core_ui_labelsfactory_Label.swift
│ │ ├── legend
│ │ │ └── anychart_core_ui_legend_LegendItemProvider.swift
│ │ ├── markersfactory
│ │ │ └── anychart_core_ui_markersfactory_Marker.swift
│ │ ├── scroller
│ │ │ └── anychart_core_ui_scroller_Thumbs.swift
│ │ └── table
│ │ │ ├── anychart_core_ui_table_Base.swift
│ │ │ ├── anychart_core_ui_table_Border.swift
│ │ │ ├── anychart_core_ui_table_Cell.swift
│ │ │ ├── anychart_core_ui_table_Column.swift
│ │ │ ├── anychart_core_ui_table_Padding.swift
│ │ │ └── anychart_core_ui_table_Row.swift
│ ├── utils
│ │ ├── anychart_core_utils_A11y.swift
│ │ ├── anychart_core_utils_Animation.swift
│ │ ├── anychart_core_utils_Bounds.swift
│ │ ├── anychart_core_utils_ChartA11y.swift
│ │ ├── anychart_core_utils_Connector.swift
│ │ ├── anychart_core_utils_Crossing.swift
│ │ ├── anychart_core_utils_DrawingPlanIterator.swift
│ │ ├── anychart_core_utils_Error.swift
│ │ ├── anychart_core_utils_Exports.swift
│ │ ├── anychart_core_utils_Interactivity.swift
│ │ ├── anychart_core_utils_LegendItemSettings.swift
│ │ ├── anychart_core_utils_MapInteractivity.swift
│ │ ├── anychart_core_utils_Margin.swift
│ │ ├── anychart_core_utils_OrdinalZoom.swift
│ │ ├── anychart_core_utils_Padding.swift
│ │ ├── anychart_core_utils_Quarter.swift
│ │ ├── anychart_core_utils_QuarterSettings.swift
│ │ ├── anychart_core_utils_SeriesA11y.swift
│ │ ├── anychart_core_utils_StockInteractivity.swift
│ │ └── anychart_core_utils_UnboundRegionsSettings.swift
│ ├── venn
│ │ └── anychart_core_venn_Intersections.swift
│ └── waterfall
│ │ └── series
│ │ └── anychart_core_waterfall_series_Waterfall.swift
├── data
│ ├── anychart_data_DataSettings.swift
│ ├── anychart_data_Iterator.swift
│ ├── anychart_data_Mapping.swift
│ ├── anychart_data_Set.swift
│ ├── anychart_data_Table.swift
│ ├── anychart_data_TableComputer.swift
│ ├── anychart_data_TableIterator.swift
│ ├── anychart_data_TableMapping.swift
│ ├── anychart_data_TableSelectable.swift
│ ├── anychart_data_TextParsingSettings.swift
│ ├── anychart_data_Traverser.swift
│ ├── anychart_data_Tree.swift
│ ├── anychart_data_TreeView.swift
│ ├── anychart_data_View.swift
│ ├── tablecomputer
│ │ └── anychart_data_tablecomputer_RowProxy.swift
│ ├── tableselectable
│ │ └── anychart_data_tableselectable_RowProxy.swift
│ ├── tree
│ │ ├── anychart_data_tree_DataItem.swift
│ │ └── anychart_data_tree_Dependency.swift
│ └── treeview
│ │ └── anychart_data_treeview_DataItem.swift
├── editor
│ ├── anychart_editor_Editor.swift
│ ├── anychart_editor_JavascriptOptions.swift
│ └── anychart_editor_Step.swift
├── enums
│ ├── anychart_enums_A11yMode.swift
│ ├── anychart_enums_AggregationType.swift
│ ├── anychart_enums_Align.swift
│ ├── anychart_enums_Anchor.swift
│ ├── anychart_enums_AnnotationTypes.swift
│ ├── anychart_enums_AvailabilityPeriod.swift
│ ├── anychart_enums_BackgroundCornersType.swift
│ ├── anychart_enums_BulletMarkerType.swift
│ ├── anychart_enums_Cartesian3dSeriesType.swift
│ ├── anychart_enums_CartesianSeriesType.swift
│ ├── anychart_enums_ChartDataExportMode.swift
│ ├── anychart_enums_ChartScrollerPosition.swift
│ ├── anychart_enums_CircularGaugePointerType.swift
│ ├── anychart_enums_ColumnFormats.swift
│ ├── anychart_enums_ConnectorType.swift
│ ├── anychart_enums_CrosshairDisplayMode.swift
│ ├── anychart_enums_Cursor.swift
│ ├── anychart_enums_DataField.swift
│ ├── anychart_enums_EditorSteps.swift
│ ├── anychart_enums_EditorTabs.swift
│ ├── anychart_enums_ErrorMode.swift
│ ├── anychart_enums_EventMarkerDirection.swift
│ ├── anychart_enums_EventMarkerPosition.swift
│ ├── anychart_enums_EventMarkerType.swift
│ ├── anychart_enums_EventType.swift
│ ├── anychart_enums_FontStyle.swift
│ ├── anychart_enums_FontVariant.swift
│ ├── anychart_enums_GanttDataFields.swift
│ ├── anychart_enums_GanttDateTimeMarkers.swift
│ ├── anychart_enums_GanttRangeAnchor.swift
│ ├── anychart_enums_GaugeScaleTypes.swift
│ ├── anychart_enums_GaugeSidePosition.swift
│ ├── anychart_enums_HAlign.swift
│ ├── anychart_enums_HoverMode.swift
│ ├── anychart_enums_Interval.swift
│ ├── anychart_enums_LabelsDisplayMode.swift
│ ├── anychart_enums_LabelsOverlapMode.swift
│ ├── anychart_enums_Layout.swift
│ ├── anychart_enums_LegendItemIconType.swift
│ ├── anychart_enums_LegendItemsSourceMode.swift
│ ├── anychart_enums_LegendLayout.swift
│ ├── anychart_enums_LegendPositionMode.swift
│ ├── anychart_enums_LinearGaugePointerType.swift
│ ├── anychart_enums_LocaleDateTimeFormat.swift
│ ├── anychart_enums_MapAsTableMode.swift
│ ├── anychart_enums_MapGridZIndex.swift
│ ├── anychart_enums_MapProjections.swift
│ ├── anychart_enums_MapSeriesType.swift
│ ├── anychart_enums_MapUnboundRegionsMode.swift
│ ├── anychart_enums_MarkerType.swift
│ ├── anychart_enums_MekkoSeriesType.swift
│ ├── anychart_enums_MilestoneShape.swift
│ ├── anychart_enums_MovingAverageType.swift
│ ├── anychart_enums_Orientation.swift
│ ├── anychart_enums_PointState.swift
│ ├── anychart_enums_PolarSeriesType.swift
│ ├── anychart_enums_Position.swift
│ ├── anychart_enums_PriceIndicatorDataSource.swift
│ ├── anychart_enums_PyramidLabelsPosition.swift
│ ├── anychart_enums_RadarSeriesType.swift
│ ├── anychart_enums_ScaleCompareWithMode.swift
│ ├── anychart_enums_ScaleComparisonMode.swift
│ ├── anychart_enums_ScaleRangeMode.swift
│ ├── anychart_enums_ScaleStackDirection.swift
│ ├── anychart_enums_ScaleStackMode.swift
│ ├── anychart_enums_ScaleTypes.swift
│ ├── anychart_enums_ScatterScaleTypes.swift
│ ├── anychart_enums_ScatterSeriesType.swift
│ ├── anychart_enums_ScatterTicksMode.swift
│ ├── anychart_enums_SelectionMode.swift
│ ├── anychart_enums_ShapeType.swift
│ ├── anychart_enums_SidePosition.swift
│ ├── anychart_enums_Sort.swift
│ ├── anychart_enums_SparklineSeriesType.swift
│ ├── anychart_enums_Statistics.swift
│ ├── anychart_enums_StepDirection.swift
│ ├── anychart_enums_StockLabelsOverlapMode.swift
│ ├── anychart_enums_StockRangeAnchor.swift
│ ├── anychart_enums_StockRangeType.swift
│ ├── anychart_enums_StockSeriesType.swift
│ ├── anychart_enums_StringToken.swift
│ ├── anychart_enums_SunburstCalculationMode.swift
│ ├── anychart_enums_TableSearchMode.swift
│ ├── anychart_enums_TagCloudMode.swift
│ ├── anychart_enums_TextParsingMode.swift
│ ├── anychart_enums_TimeTrackingMode.swift
│ ├── anychart_enums_TokenType.swift
│ ├── anychart_enums_TooltipDisplayMode.swift
│ ├── anychart_enums_TooltipPositionMode.swift
│ ├── anychart_enums_TreeFillingMethod.swift
│ ├── anychart_enums_VAlign.swift
│ ├── anychart_enums_WaterfallDataMode.swift
│ ├── anychart_enums_WordBreak.swift
│ └── anychart_enums_WordWrap.swift
├── format
│ ├── anychart_format_Context.swift
│ ├── anychart_format_DateTimeLocale.swift
│ └── anychart_format_NumberLocale.swift
├── graphics
│ ├── anychart_graphics_StageType.swift
│ ├── events
│ │ ├── anychart_graphics_events_BrowserEvent.swift
│ │ └── anychart_graphics_events_EventType.swift
│ ├── math
│ │ ├── anychart_graphics_math_Coordinate.swift
│ │ └── anychart_graphics_math_Rect.swift
│ └── vector
│ │ ├── anychart_graphics_vector_Anchor.swift
│ │ ├── anychart_graphics_vector_AnyColor.swift
│ │ ├── anychart_graphics_vector_Circle.swift
│ │ ├── anychart_graphics_vector_Clip.swift
│ │ ├── anychart_graphics_vector_ColoredFill.swift
│ │ ├── anychart_graphics_vector_Cursor.swift
│ │ ├── anychart_graphics_vector_Element.swift
│ │ ├── anychart_graphics_vector_Ellipse.swift
│ │ ├── anychart_graphics_vector_Fill.swift
│ │ ├── anychart_graphics_vector_GradientKey.swift
│ │ ├── anychart_graphics_vector_HatchFill.swift
│ │ ├── anychart_graphics_vector_Image.swift
│ │ ├── anychart_graphics_vector_ImageFill.swift
│ │ ├── anychart_graphics_vector_ImageFillMode.swift
│ │ ├── anychart_graphics_vector_Layer.swift
│ │ ├── anychart_graphics_vector_LinearGradient.swift
│ │ ├── anychart_graphics_vector_LinearGradientFill.swift
│ │ ├── anychart_graphics_vector_LinearGradientStroke.swift
│ │ ├── anychart_graphics_vector_PaperSize.swift
│ │ ├── anychart_graphics_vector_Path.swift
│ │ ├── anychart_graphics_vector_PatternFill.swift
│ │ ├── anychart_graphics_vector_RadialGradient.swift
│ │ ├── anychart_graphics_vector_RadialGradientFill.swift
│ │ ├── anychart_graphics_vector_RadialGradientStroke.swift
│ │ ├── anychart_graphics_vector_Rect.swift
│ │ ├── anychart_graphics_vector_Shape.swift
│ │ ├── anychart_graphics_vector_SolidFill.swift
│ │ ├── anychart_graphics_vector_SolidStroke.swift
│ │ ├── anychart_graphics_vector_Stage.swift
│ │ ├── anychart_graphics_vector_Stroke.swift
│ │ ├── anychart_graphics_vector_StrokeLineCap.swift
│ │ ├── anychart_graphics_vector_StrokeLineJoin.swift
│ │ ├── anychart_graphics_vector_Text.swift
│ │ ├── anychart_graphics_vector_TextSegmentStyle.swift
│ │ ├── anychart_graphics_vector_UnmanagedLayer.swift
│ │ ├── hatchfill
│ │ └── anychart_graphics_vector_hatchfill_HatchFillType.swift
│ │ ├── image
│ │ ├── anychart_graphics_vector_image_Align.swift
│ │ └── anychart_graphics_vector_image_Fitting.swift
│ │ ├── stage
│ │ └── anychart_graphics_vector_stage_EventType.swift
│ │ ├── text
│ │ ├── anychart_graphics_vector_text_Decoration.swift
│ │ ├── anychart_graphics_vector_text_Direction.swift
│ │ ├── anychart_graphics_vector_text_FontStyle.swift
│ │ ├── anychart_graphics_vector_text_FontVariant.swift
│ │ ├── anychart_graphics_vector_text_HAlign.swift
│ │ ├── anychart_graphics_vector_text_TextOverflow.swift
│ │ ├── anychart_graphics_vector_text_VAlign.swift
│ │ ├── anychart_graphics_vector_text_WordBreak.swift
│ │ └── anychart_graphics_vector_text_WordWrap.swift
│ │ └── vml
│ │ └── anychart_graphics_vector_vml_Text.swift
├── math
│ ├── adl
│ │ └── anychart_math_adl_Context.swift
│ ├── ama
│ │ └── anychart_math_ama_Context.swift
│ ├── anychart_math_CoordinateObject.swift
│ ├── anychart_math_CycledQueue.swift
│ ├── anychart_math_Rect.swift
│ ├── ao
│ │ └── anychart_math_ao_Context.swift
│ ├── aroon
│ │ └── anychart_math_aroon_Context.swift
│ ├── atr
│ │ └── anychart_math_atr_Context.swift
│ ├── bbands
│ │ └── anychart_math_bbands_Context.swift
│ ├── bbandsb
│ │ └── anychart_math_bbandsb_Context.swift
│ ├── bbandswidth
│ │ └── anychart_math_bbandswidth_Context.swift
│ ├── cci
│ │ └── anychart_math_cci_Context.swift
│ ├── cho
│ │ └── anychart_math_cho_Context.swift
│ ├── cmf
│ │ └── anychart_math_cmf_Context.swift
│ ├── dmi
│ │ └── anychart_math_dmi_Context.swift
│ ├── ema
│ │ └── anychart_math_ema_Context.swift
│ ├── ha
│ │ └── anychart_math_ha_Context.swift
│ ├── kdj
│ │ └── anychart_math_kdj_Context.swift
│ ├── keltnerchannels
│ │ └── anychart_math_keltnerchannels_Context.swift
│ ├── macd
│ │ └── anychart_math_macd_Context.swift
│ ├── mfi
│ │ └── anychart_math_mfi_Context.swift
│ ├── mma
│ │ └── anychart_math_mma_Context.swift
│ ├── momentum
│ │ └── anychart_math_momentum_Context.swift
│ ├── obv
│ │ └── anychart_math_obv_Context.swift
│ ├── pricechannels
│ │ └── anychart_math_pricechannels_Context.swift
│ ├── psar
│ │ └── anychart_math_psar_Context.swift
│ ├── roc
│ │ └── anychart_math_roc_Context.swift
│ ├── rsi
│ │ └── anychart_math_rsi_Context.swift
│ ├── sma
│ │ └── anychart_math_sma_Context.swift
│ ├── stochastic
│ │ └── anychart_math_stochastic_Context.swift
│ ├── trix
│ │ └── anychart_math_trix_Context.swift
│ ├── volumema
│ │ └── anychart_math_volumema_Context.swift
│ └── williamsr
│ │ └── anychart_math_williamsr_Context.swift
├── palettes
│ ├── anychart_palettes_DistinctColors.swift
│ ├── anychart_palettes_HatchFills.swift
│ ├── anychart_palettes_Markers.swift
│ └── anychart_palettes_RangeColors.swift
├── scales
│ ├── anychart_scales_Base.swift
│ ├── anychart_scales_Calendar.swift
│ ├── anychart_scales_DateTime.swift
│ ├── anychart_scales_DateTimeTicks.swift
│ ├── anychart_scales_DateTimeWithCalendar.swift
│ ├── anychart_scales_GanttDateTime.swift
│ ├── anychart_scales_Geo.swift
│ ├── anychart_scales_GeoTicks.swift
│ ├── anychart_scales_Linear.swift
│ ├── anychart_scales_LinearColor.swift
│ ├── anychart_scales_Logarithmic.swift
│ ├── anychart_scales_Ordinal.swift
│ ├── anychart_scales_OrdinalColor.swift
│ ├── anychart_scales_OrdinalTicks.swift
│ ├── anychart_scales_ScatterBase.swift
│ ├── anychart_scales_ScatterTicks.swift
│ ├── anychart_scales_StockOrdinalDateTime.swift
│ ├── anychart_scales_StockScatterDateTime.swift
│ ├── calendar
│ │ ├── anychart_scales_calendar_Availability.swift
│ │ └── anychart_scales_calendar_ScheduleItem.swift
│ └── datetimewithcalendar
│ │ └── anychart_scales_datetimewithcalendar_Tick.swift
├── signalevent
│ └── anychart_signalevent_SignalEvent.swift
├── standalones
│ ├── anychart_standalones_Background.swift
│ ├── anychart_standalones_ColorRange.swift
│ ├── anychart_standalones_DataGrid.swift
│ ├── anychart_standalones_Label.swift
│ ├── anychart_standalones_LabelsFactory.swift
│ ├── anychart_standalones_Legend.swift
│ ├── anychart_standalones_MarkersFactory.swift
│ ├── anychart_standalones_ProjectTimeline.swift
│ ├── anychart_standalones_ResourceList.swift
│ ├── anychart_standalones_ResourceTimeline.swift
│ ├── anychart_standalones_Scroller.swift
│ ├── anychart_standalones_Table.swift
│ ├── anychart_standalones_Title.swift
│ ├── axes
│ │ ├── anychart_standalones_axes_Linear.swift
│ │ ├── anychart_standalones_axes_Polar.swift
│ │ ├── anychart_standalones_axes_Radar.swift
│ │ └── anychart_standalones_axes_Radial.swift
│ ├── axismarkers
│ │ ├── anychart_standalones_axismarkers_Line.swift
│ │ ├── anychart_standalones_axismarkers_Range.swift
│ │ └── anychart_standalones_axismarkers_Text.swift
│ ├── grids
│ │ ├── anychart_standalones_grids_Linear.swift
│ │ ├── anychart_standalones_grids_Polar.swift
│ │ └── anychart_standalones_grids_Radar.swift
│ └── markersfactory
│ │ └── anychart_standalones_markersfactory_Marker.swift
├── ui
│ ├── anychart_ui_ContextMenu.swift
│ ├── anychart_ui_GanttToolbar.swift
│ ├── anychart_ui_Preloader.swift
│ ├── anychart_ui_RangePicker.swift
│ ├── anychart_ui_RangeSelector.swift
│ ├── anychart_ui_Zoom.swift
│ ├── contextmenu
│ │ ├── anychart_ui_contextmenu_ActionContext.swift
│ │ ├── anychart_ui_contextmenu_Item.swift
│ │ └── anychart_ui_contextmenu_PrepareItemsContext.swift
│ ├── rangeselector
│ │ └── anychart_ui_rangeselector_Range.swift
│ └── toolbar
│ │ └── anychart_ui_toolbar_Toolbar.swift
└── utils
│ └── anychart_utils_RectObj.swift
├── AnyChart-iOSTests
├── AnyChart_iOSTests.swift
└── Info.plist
├── AnyChartiOS.podspec
├── LICENSE
├── Podfile
├── Podfile.lock
├── README.md
└── img
├── create_project_1.png
├── create_project_10.png
├── create_project_2.png
├── create_project_3.png
├── create_project_4.png
├── create_project_5.png
├── create_project_6.png
├── create_project_7.gif
├── create_project_8.png
└── create_project_9.png
/AnyChart-iOS-samples/AnyChart-iOS-samples.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/AnyChart-iOS-samples/AnyChart-iOS-samples.xcodeproj/project.xcworkspace/xcuserdata/arsenymalkov.xcuserdatad/UserInterfaceState.xcuserstate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AnyChart/AnyChart-iOS/c15ae4a892ac7ec0a02eb253349069e32a819c86/AnyChart-iOS-samples/AnyChart-iOS-samples.xcodeproj/project.xcworkspace/xcuserdata/arsenymalkov.xcuserdatad/UserInterfaceState.xcuserstate
--------------------------------------------------------------------------------
/AnyChart-iOS-samples/AnyChart-iOS-samples.xcodeproj/xcuserdata/arsenymalkov.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
8 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/AnyChart-iOS-samples/AnyChart-iOS-samples.xcodeproj/xcuserdata/arsenymalkov.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | AnyChart-iOS-samples.xcscheme
8 |
9 | orderHint
10 | 0
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/AnyChart-iOS-samples/AnyChart-iOS-samples/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/AnyChart-iOS-samples/AnyChart-iOS-samples/ChartCell.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 |
3 | class ChartCell: UICollectionViewCell {
4 |
5 | @IBOutlet weak var chartLabel: UILabel!
6 | }
7 |
--------------------------------------------------------------------------------
/AnyChart-iOS-samples/AnyChart-iOS-samples/Charts/FunnelChartViewController.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import AnyChart_iOS
3 |
4 | class FunnelChartViewController: UIViewController {
5 |
6 | override func viewDidLoad() {
7 | super.viewDidLoad()
8 |
9 | let anyChartView = AnyChartView()
10 | view.addSubview(anyChartView)
11 | anyChartView.translatesAutoresizingMaskIntoConstraints = false
12 | anyChartView.centerXAnchor.constraint(equalTo: view.centerXAnchor).isActive = true
13 | anyChartView.centerYAnchor.constraint(equalTo: view.centerYAnchor).isActive = true
14 | anyChartView.widthAnchor.constraint(equalTo: view.widthAnchor).isActive = true
15 | anyChartView.heightAnchor.constraint(equalTo: view.heightAnchor).isActive = true
16 |
17 | let chart = AnyChart.funnel()
18 |
19 | let data: Array = [
20 | ValueDataEntry(x: "Website Visits", value: 528756),
21 | ValueDataEntry(x: "Downloads", value: 164052),
22 | ValueDataEntry(x: "Valid Contacts", value: 112167),
23 | ValueDataEntry(x: "Interested to Buy", value: 79128),
24 | ValueDataEntry(x: "Purchased", value: 79128)
25 | ]
26 |
27 | chart.data(data: data)
28 |
29 | chart.margin(margin: ["10", "20%", "10", "20%"])
30 | chart.baseWidth(width: "70%")
31 | .neckWidth(width: "17%")
32 |
33 | chart.labels()
34 | .position(position: "outsideleft")
35 | .format(token: "{%X} - {%Value}")
36 |
37 | chart.animation(settings: true)
38 |
39 | anyChartView.setChart(chart: chart)
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/AnyChart-iOS-samples/AnyChart-iOS-samples/Charts/PyramidChartViewController.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import AnyChart_iOS
3 |
4 | class PyramidChartViewController: UIViewController {
5 |
6 | override func viewDidLoad() {
7 | super.viewDidLoad()
8 |
9 | let anyChartView = AnyChartView()
10 | view.addSubview(anyChartView)
11 | anyChartView.translatesAutoresizingMaskIntoConstraints = false
12 | anyChartView.centerXAnchor.constraint(equalTo: view.centerXAnchor).isActive = true
13 | anyChartView.centerYAnchor.constraint(equalTo: view.centerYAnchor).isActive = true
14 | anyChartView.widthAnchor.constraint(equalTo: view.widthAnchor).isActive = true
15 | anyChartView.heightAnchor.constraint(equalTo: view.heightAnchor).isActive = true
16 |
17 | let chart = AnyChart.pyramid()
18 |
19 | let data: Array = [
20 | ValueDataEntry(x: "TV promotion", value: 6371664),
21 | ValueDataEntry(x: "Radio promotion", value: 7216301),
22 | ValueDataEntry(x: "Advertising leaflets", value: 1486621),
23 | ValueDataEntry(x: "Before advertising started", value: 1386622)
24 | ]
25 |
26 | chart.data(data: data)
27 |
28 | let legend = chart.legend()
29 | legend.enabled(enabled: true)
30 | legend.position(position: "outside-right")
31 | legend.itemsLayout(layout: anychart.enums.LegendLayout.VERTICAL)
32 | legend.align(align: anychart.enums.Align.TOP)
33 |
34 | chart.labels(settings: false)
35 |
36 | anyChartView.setChart(chart: chart)
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/AnyChart-iOS-samples/AnyChart-iOS-samples/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleVersion
20 | 1
21 | LSRequiresIPhoneOS
22 |
23 | UILaunchStoryboardName
24 | LaunchScreen
25 | UIMainStoryboardFile
26 | Main
27 | UIRequiredDeviceCapabilities
28 |
29 | armv7
30 |
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 | UISupportedInterfaceOrientations~ipad
38 |
39 | UIInterfaceOrientationPortrait
40 | UIInterfaceOrientationPortraitUpsideDown
41 | UIInterfaceOrientationLandscapeLeft
42 | UIInterfaceOrientationLandscapeRight
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/AnyChart-iOS-samples/AnyChart-iOS-samplesTests/AnyChart_iOS_samplesTests.swift:
--------------------------------------------------------------------------------
1 | import XCTest
2 | @testable import AnyChart_iOS_samples
3 |
4 | class AnyChart_iOS_samplesTests: XCTestCase {
5 |
6 | override func setUp() {
7 | super.setUp()
8 | // Put setup code here. This method is called before the invocation of each test method in the class.
9 | }
10 |
11 | override func tearDown() {
12 | // Put teardown code here. This method is called after the invocation of each test method in the class.
13 | super.tearDown()
14 | }
15 |
16 | func testExample() {
17 | // This is an example of a functional test case.
18 | // Use XCTAssert and related functions to verify your tests produce the correct results.
19 | }
20 |
21 | func testPerformanceExample() {
22 | // This is an example of a performance test case.
23 | self.measure {
24 | // Put the code you want to measure the time of here.
25 | }
26 | }
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/AnyChart-iOS-samples/AnyChart-iOS-samplesTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleVersion
20 | 1
21 |
22 |
23 |
--------------------------------------------------------------------------------
/AnyChart-iOS-samples/AnyChart-iOS-samplesUITests/AnyChart_iOS_samplesUITests.swift:
--------------------------------------------------------------------------------
1 | import XCTest
2 |
3 | class AnyChart_iOS_samplesUITests: XCTestCase {
4 |
5 | override func setUp() {
6 | super.setUp()
7 |
8 | // Put setup code here. This method is called before the invocation of each test method in the class.
9 |
10 | // In UI tests it is usually best to stop immediately when a failure occurs.
11 | continueAfterFailure = false
12 | // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method.
13 | XCUIApplication().launch()
14 |
15 | // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
16 | }
17 |
18 | override func tearDown() {
19 | // Put teardown code here. This method is called after the invocation of each test method in the class.
20 | super.tearDown()
21 | }
22 |
23 | func testExample() {
24 | // Use recording to get started writing UI tests.
25 | // Use XCTAssert and related functions to verify your tests produce the correct results.
26 | }
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/AnyChart-iOS-samples/AnyChart-iOS-samplesUITests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleVersion
20 | 1
21 |
22 |
23 |
--------------------------------------------------------------------------------
/AnyChart-iOS.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/AnyChart-iOS.xcworkspace/xcuserdata/arsenymalkov.xcuserdatad/UserInterfaceState.xcuserstate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AnyChart/AnyChart-iOS/c15ae4a892ac7ec0a02eb253349069e32a819c86/AnyChart-iOS.xcworkspace/xcuserdata/arsenymalkov.xcuserdatad/UserInterfaceState.xcuserstate
--------------------------------------------------------------------------------
/AnyChart-iOS/APIlib.swift:
--------------------------------------------------------------------------------
1 | import Foundation
2 |
3 | final class APIlib {
4 |
5 | private init() { }
6 |
7 | static let sharedInstance = APIlib()
8 |
9 | var jsDelegate: Js?
10 | }
11 |
--------------------------------------------------------------------------------
/AnyChart-iOS/AnyChartView.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/AnyChart-iOS/AnyChart_iOS.h:
--------------------------------------------------------------------------------
1 | #import
2 |
3 | //! Project version number for AnyChart_iOS.
4 | FOUNDATION_EXPORT double AnyChart_iOSVersionNumber;
5 |
6 | //! Project version string for AnyChart_iOS.
7 | FOUNDATION_EXPORT const unsigned char AnyChart_iOSVersionString[];
8 |
9 | // In this header, you should import all the public headers of your framework using statements like #import
10 |
11 |
12 |
--------------------------------------------------------------------------------
/AnyChart-iOS/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleVersion
20 | $(CURRENT_PROJECT_VERSION)
21 |
22 |
23 |
--------------------------------------------------------------------------------
/AnyChart-iOS/JavascriptInterface.swift:
--------------------------------------------------------------------------------
1 | public class JavascriptInterface {
2 |
3 | private init() { }
4 |
5 | static let sharedInstance = JavascriptInterface()
6 |
7 | var target: NSObject? = nil
8 | var action: Selector? = nil
9 |
10 | public func onClick(view: AnyChartView, event: NSDictionary) {
11 | target?.perform(action, with: event)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/AnyChart-iOS/charts/resource/anychart_charts_resource_ZoomLevel.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.charts.resource {
3 | public class ZoomLevel: JsObject {
4 |
5 |
6 | public init(count: Double, id: String, levels: [anychart.core.gantt.timelineheader.LevelWrapper], unit: anychart.enums.Interval, unitPixSize: Double) {
7 | super.init()
8 |
9 | js.append("\(count), \(JsObject.wrapQuotes(value: id)), \(JsObject.arrayToString(jsObjects: levels)), \((unit != nil) ? unit.getJsBase() : "null"), \(unitPixSize)")
10 | }
11 | public init(count: Double, id: String, levels: [anychart.core.gantt.timelineheader.LevelWrapper], unit: String, unitPixSize: Double) {
12 | super.init()
13 |
14 | js.append("\(count), \(JsObject.wrapQuotes(value: id)), \(JsObject.arrayToString(jsObjects: levels)), \(JsObject.wrapQuotes(value: unit)), \(unitPixSize)")
15 | }
16 |
17 | }
18 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/charts/stock/anychart_charts_stock_SelectedRange.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.charts.stock {
3 | public class SelectedRange: JsObject {
4 |
5 |
6 | public init(firstSelected: Double, firstVisible: Double, lastSelected: Double, lastVisible: Double) {
7 | super.init()
8 |
9 | js.append("\(firstSelected), \(firstVisible), \(lastSelected), \(lastVisible)")
10 | }
11 |
12 | }
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/charts/sunburst/anychart_charts_sunburst_StatsFieldsName.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.charts.sunburst {
3 | public class StatsFieldsName: JsObject {
4 |
5 |
6 | public init(depth: Double, level: [String]) {
7 | super.init()
8 |
9 | js.append("\(depth), \(JsObject.arrayToStringWrapQuotes(array: level))")
10 | }
11 |
12 | }
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/annotations/anychart_core_annotations_FibonacciArc.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.annotations {
7 | public class FibonacciArc: anychart.core.annotations.FibonacciBase {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return FibonacciArc(jsBase: "new anychart.core.annotations.FibonacciArc()")
16 | //super.init(jsBase: "new anychart.core.annotations.FibonacciArc()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "fibonacciArc\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.annotations.FibonacciArc {
30 | return anychart.core.annotations.FibonacciArc(jsBase: "new anychart.core.annotations.fibonacciarc()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 |
39 | }
40 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/annotations/anychart_core_annotations_FibonacciRetracement.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.annotations {
7 | public class FibonacciRetracement: anychart.core.annotations.FibonacciBase {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return FibonacciRetracement(jsBase: "new anychart.core.annotations.FibonacciRetracement()")
16 | //super.init(jsBase: "new anychart.core.annotations.FibonacciRetracement()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "fibonacciRetracement\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.annotations.FibonacciRetracement {
30 | return anychart.core.annotations.FibonacciRetracement(jsBase: "new anychart.core.annotations.fibonacciretracement()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 |
39 | }
40 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/annotations/anychart_core_annotations_FibonacciTimezones.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.annotations {
7 | public class FibonacciTimezones: anychart.core.annotations.FibonacciBase {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return FibonacciTimezones(jsBase: "new anychart.core.annotations.FibonacciTimezones()")
16 | //super.init(jsBase: "new anychart.core.annotations.FibonacciTimezones()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "fibonacciTimezones\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.annotations.FibonacciTimezones {
30 | return anychart.core.annotations.FibonacciTimezones(jsBase: "new anychart.core.annotations.fibonaccitimezones()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 |
39 | }
40 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/anychart_core_Base.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core {
7 | public class Base: JsObject {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return Base(jsBase: "new anychart.core.Base()")
16 | //super.init(jsBase: "new anychart.core.Base()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "base\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | public func instantiate() -> anychart.core.Base {
30 | return anychart.core.Base(jsBase: "new anychart.core.base()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | public func addTarget(target: NSObject, action: Selector, fields: [String]?) {
39 | var resultJs = "\(jsBase).listen('pointClick', function(e) {"
40 |
41 | if fields != nil {
42 | resultJs += "var result = {"
43 | for field in fields! {
44 | resultJs += "\"\(field)\": e.point.get('\(field)'),"
45 | }
46 | resultJs = String(resultJs.dropLast(1)) + "};"
47 | resultJs += "window.webkit.messageHandlers[\"scriptHandler\"].postMessage(result)"
48 | } else {
49 | resultJs += "window.webkit.messageHandlers[\"scriptHandler\"].postMessage(null)"
50 | }
51 |
52 | resultJs += "});"
53 |
54 | JavascriptInterface.sharedInstance.target = target
55 | JavascriptInterface.sharedInstance.action = action
56 |
57 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: resultJs)
58 | }
59 |
60 | }
61 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/anychart_core_BubblePoint.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core {
7 | public class BubblePoint: anychart.core.SeriesPoint {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return BubblePoint(jsBase: "new anychart.core.BubblePoint()")
16 | //super.init(jsBase: "new anychart.core.BubblePoint()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "bubblePoint\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.BubblePoint {
30 | return anychart.core.BubblePoint(jsBase: "new anychart.core.bubblepoint()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Getter for the bubble point radius.
40 | */
41 | public func getPixelRadius() {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".getPixelRadius();")
43 | }
44 |
45 | }
46 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/anychart_core_NoDataSettings.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core {
7 | public class NoDataSettings: anychart.core.Base {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return NoDataSettings(jsBase: "new anychart.core.NoDataSettings()")
16 | //super.init(jsBase: "new anychart.core.NoDataSettings()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "noDataSettings\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.NoDataSettings {
30 | return anychart.core.NoDataSettings(jsBase: "new anychart.core.nodatasettings()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Getter for no data label.
40 | */
41 | public func label() -> anychart.core.ui.Label {
42 | return anychart.core.ui.Label(jsBase: self.jsBase + ".label()")
43 | }
44 | /**
45 | * Setter for no data label.
46 | */
47 | public func label(settings: String) -> anychart.core.NoDataSettings {
48 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: "\(self.jsBase).label(\(JsObject.wrapQuotes(value: settings)));")
49 |
50 | return self
51 | }
52 | /**
53 | * Setter for no data label.
54 | */
55 | public func label(settings: Bool) -> anychart.core.NoDataSettings {
56 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: "\(self.jsBase).label(\(settings));")
57 |
58 | return self
59 | }
60 |
61 | }
62 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/anychart_core_PiePoint.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core {
7 | public class PiePoint: anychart.core.Point {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return PiePoint(jsBase: "new anychart.core.PiePoint()")
16 | //super.init(jsBase: "new anychart.core.PiePoint()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "piePoint\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.PiePoint {
30 | return anychart.core.PiePoint(jsBase: "new anychart.core.piepoint()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Gets end angle of the point.
40 | Note: Works only after chart.draw() is called.
41 | */
42 | public func getEndAngle() {
43 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".getEndAngle();")
44 | }
45 | /**
46 | * Gets start angle of the point.
47 | Note: Works only after chart.draw() is called.
48 | */
49 | public func getStartAngle() {
50 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".getStartAngle();")
51 | }
52 |
53 | }
54 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/anychart_core_SeriesPoint.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core {
7 | public class SeriesPoint: anychart.core.Point {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return SeriesPoint(jsBase: "new anychart.core.SeriesPoint()")
16 | //super.init(jsBase: "new anychart.core.SeriesPoint()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "seriesPoint\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.SeriesPoint {
30 | return anychart.core.SeriesPoint(jsBase: "new anychart.core.seriespoint()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Getter for series which current point belongs to.
40 | */
41 | public func getSeries() -> anychart.core.SeriesBase {
42 | return anychart.core.SeriesBase(jsBase: self.jsBase + ".getSeries()")
43 | }
44 | /**
45 | * Returns stack value of the point.
46 | Note: Works only after chart.draw() is called.
47 | */
48 | public func getStackValue() {
49 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".getStackValue();")
50 | }
51 | /**
52 | * Returns stack zero of the point.
53 | Note: Works only after chart.draw() is called.
54 | */
55 | public func getStackZero() {
56 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".getStackZero();")
57 | }
58 |
59 | }
60 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/anychart_core_TreeChartPoint.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core {
7 | public class TreeChartPoint: anychart.core.Point {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return TreeChartPoint(jsBase: "new anychart.core.TreeChartPoint()")
16 | //super.init(jsBase: "new anychart.core.TreeChartPoint()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "treeChartPoint\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.TreeChartPoint {
30 | return anychart.core.TreeChartPoint(jsBase: "new anychart.core.treechartpoint()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Returns a node.
40 | */
41 | public func getNode() -> anychart.data.tree.DataItem {
42 | return anychart.data.tree.DataItem(jsBase: self.jsBase + ".getNode()")
43 | }
44 |
45 | }
46 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/axes/anychart_core_axes_LinearGauge.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.axes {
7 | public class LinearGauge: anychart.core.axes.Linear {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return LinearGauge(jsBase: "new anychart.core.axes.LinearGauge()")
16 | //super.init(jsBase: "new anychart.core.axes.LinearGauge()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "linearGauge\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.axes.LinearGauge {
30 | return anychart.core.axes.LinearGauge(jsBase: "new anychart.core.axes.lineargauge()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Getter for the axis offset.
40 | */
41 | public func offset() {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".offset();")
43 | }
44 | /**
45 | * Setter for the axis offset.
46 | */
47 | public func offset(offset: String) -> anychart.core.axes.LinearGauge {
48 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: "\(self.jsBase).offset(\(JsObject.wrapQuotes(value: offset)));")
49 |
50 | return self
51 | }
52 |
53 | }
54 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/cartesian/series/anychart_core_cartesian_series_Bar3d.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.cartesian.series {
7 | public class Bar3d: anychart.core.cartesian.series.WidthBased {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return Bar3d(jsBase: "new anychart.core.cartesian.series.Bar3d()")
16 | //super.init(jsBase: "new anychart.core.cartesian.series.Bar3d()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "bar3d\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.cartesian.series.Bar3d {
30 | return anychart.core.cartesian.series.Bar3d(jsBase: "new anychart.core.cartesian.series.bar3d()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 |
39 | }
40 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/cartesian/series/anychart_core_cartesian_series_BaseWithMarkers.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.cartesian.series {
7 | public class BaseWithMarkers: anychart.core.cartesian.series.Base {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return BaseWithMarkers(jsBase: "new anychart.core.cartesian.series.BaseWithMarkers()")
16 | //super.init(jsBase: "new anychart.core.cartesian.series.BaseWithMarkers()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "baseWithMarkers\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.cartesian.series.BaseWithMarkers {
30 | return anychart.core.cartesian.series.BaseWithMarkers(jsBase: "new anychart.core.cartesian.series.basewithmarkers()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 |
39 | }
40 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/cartesian/series/anychart_core_cartesian_series_DiscreteBase.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.cartesian.series {
7 | public class DiscreteBase: anychart.core.cartesian.series.BaseWithMarkers {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return DiscreteBase(jsBase: "new anychart.core.cartesian.series.DiscreteBase()")
16 | //super.init(jsBase: "new anychart.core.cartesian.series.DiscreteBase()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "discreteBase\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.cartesian.series.DiscreteBase {
30 | return anychart.core.cartesian.series.DiscreteBase(jsBase: "new anychart.core.cartesian.series.discretebase()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Removes hover from the point or series.
40 | */
41 | public func unhover() -> anychart.core.cartesian.series.DiscreteBase {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".unhover();")
43 |
44 | return self
45 | }
46 |
47 | }
48 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/cartesian/series/anychart_core_cartesian_series_RangeArea.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.cartesian.series {
7 | public class RangeArea: anychart.core.cartesian.series.ContinuousRangeBase {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return RangeArea(jsBase: "new anychart.core.cartesian.series.RangeArea()")
16 | //super.init(jsBase: "new anychart.core.cartesian.series.RangeArea()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "rangeArea\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.cartesian.series.RangeArea {
30 | return anychart.core.cartesian.series.RangeArea(jsBase: "new anychart.core.cartesian.series.rangearea()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 |
39 | }
40 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/cartesian/series/anychart_core_cartesian_series_RangeSplineArea.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.cartesian.series {
7 | public class RangeSplineArea: anychart.core.cartesian.series.ContinuousRangeBase {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return RangeSplineArea(jsBase: "new anychart.core.cartesian.series.RangeSplineArea()")
16 | //super.init(jsBase: "new anychart.core.cartesian.series.RangeSplineArea()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "rangeSplineArea\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.cartesian.series.RangeSplineArea {
30 | return anychart.core.cartesian.series.RangeSplineArea(jsBase: "new anychart.core.cartesian.series.rangesplinearea()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 |
39 | }
40 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/gantt/elements/anychart_core_gantt_elements_BaselinesElement.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.gantt.elements {
7 | public class BaselinesElement: anychart.core.gantt.elements.TimelineElement {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return BaselinesElement(jsBase: "new anychart.core.gantt.elements.BaselinesElement()")
16 | //super.init(jsBase: "new anychart.core.gantt.elements.BaselinesElement()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "baselinesElement\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.gantt.elements.BaselinesElement {
30 | return anychart.core.gantt.elements.BaselinesElement(jsBase: "new anychart.core.gantt.elements.baselineselement()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Getter for the 'above' flag.
40 | */
41 | public func above() {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".above();")
43 | }
44 | /**
45 | * Setter for the 'above' flag.
46 | */
47 | public func above(enabled: Bool) -> anychart.core.gantt.elements.BaselinesElement {
48 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: "\(self.jsBase).above(\(enabled));")
49 |
50 | return self
51 | }
52 |
53 | }
54 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/gantt/elements/anychart_core_gantt_elements_GroupingTasksElement.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.gantt.elements {
7 | public class GroupingTasksElement: anychart.core.gantt.elements.TimelineElement {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return GroupingTasksElement(jsBase: "new anychart.core.gantt.elements.GroupingTasksElement()")
16 | //super.init(jsBase: "new anychart.core.gantt.elements.GroupingTasksElement()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "groupingTasksElement\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.gantt.elements.GroupingTasksElement {
30 | return anychart.core.gantt.elements.GroupingTasksElement(jsBase: "new anychart.core.gantt.elements.groupingtaskselement()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Getter for the grouping task progress.
40 | */
41 | public func progress() -> anychart.core.gantt.elements.ProgressElement {
42 | return anychart.core.gantt.elements.ProgressElement(jsBase: self.jsBase + ".progress()")
43 | }
44 | /**
45 | * Setter for the grouping task progress.
46 | */
47 | public func progress(settings: String) -> anychart.core.gantt.elements.GroupingTasksElement {
48 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: "\(self.jsBase).progress(\(JsObject.wrapQuotes(value: settings)));")
49 |
50 | return self
51 | }
52 |
53 | }
54 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/gantt/elements/anychart_core_gantt_elements_MilestonesElement.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.gantt.elements {
7 | public class MilestonesElement: anychart.core.gantt.elements.TimelineElement {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return MilestonesElement(jsBase: "new anychart.core.gantt.elements.MilestonesElement()")
16 | //super.init(jsBase: "new anychart.core.gantt.elements.MilestonesElement()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "milestonesElement\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.gantt.elements.MilestonesElement {
30 | return anychart.core.gantt.elements.MilestonesElement(jsBase: "new anychart.core.gantt.elements.milestoneselement()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 |
39 | }
40 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/gantt/elements/anychart_core_gantt_elements_PeriodsElement.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.gantt.elements {
7 | public class PeriodsElement: anychart.core.gantt.elements.TimelineElement {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return PeriodsElement(jsBase: "new anychart.core.gantt.elements.PeriodsElement()")
16 | //super.init(jsBase: "new anychart.core.gantt.elements.PeriodsElement()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "periodsElement\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.gantt.elements.PeriodsElement {
30 | return anychart.core.gantt.elements.PeriodsElement(jsBase: "new anychart.core.gantt.elements.periodselement()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 |
39 | }
40 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/gantt/elements/anychart_core_gantt_elements_ProgressElement.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.gantt.elements {
7 | public class ProgressElement: anychart.core.gantt.elements.TimelineElement {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return ProgressElement(jsBase: "new anychart.core.gantt.elements.ProgressElement()")
16 | //super.init(jsBase: "new anychart.core.gantt.elements.ProgressElement()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "progressElement\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.gantt.elements.ProgressElement {
30 | return anychart.core.gantt.elements.ProgressElement(jsBase: "new anychart.core.gantt.elements.progresselement()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 |
39 | }
40 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/gantt/elements/anychart_core_gantt_elements_TasksElement.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.gantt.elements {
7 | public class TasksElement: anychart.core.gantt.elements.TimelineElement {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return TasksElement(jsBase: "new anychart.core.gantt.elements.TasksElement()")
16 | //super.init(jsBase: "new anychart.core.gantt.elements.TasksElement()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "tasksElement\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.gantt.elements.TasksElement {
30 | return anychart.core.gantt.elements.TasksElement(jsBase: "new anychart.core.gantt.elements.taskselement()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Getter for the task progress.
40 | */
41 | public func progress() -> anychart.core.gantt.elements.ProgressElement {
42 | return anychart.core.gantt.elements.ProgressElement(jsBase: self.jsBase + ".progress()")
43 | }
44 | /**
45 | * Setter for the task progress.
46 | */
47 | public func progress(settings: String) -> anychart.core.gantt.elements.TasksElement {
48 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: "\(self.jsBase).progress(\(JsObject.wrapQuotes(value: settings)));")
49 |
50 | return self
51 | }
52 |
53 | }
54 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/gantt/rendering/settings/anychart_core_gantt_rendering_settings_ShapeConfig.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.core.gantt.rendering.settings {
3 | public class ShapeConfig: JsObject {
4 |
5 |
6 | public init(disablePointerEvents: Bool, name: String, shapeType: anychart.enums.ShapeType, zIndex: Double) {
7 | super.init()
8 |
9 | js.append("\(disablePointerEvents), \(JsObject.wrapQuotes(value: name)), \((shapeType != nil) ? shapeType.getJsBase() : "null"), \(zIndex)")
10 | }
11 |
12 | }
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/gantt/timelineheader/anychart_core_gantt_timelineheader_Level.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.core.gantt.timelineheader {
3 | public class Level: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/lineargauge/pointers/anychart_core_lineargauge_pointers_Bar.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.lineargauge.pointers {
7 | public class Bar: anychart.core.lineargauge.pointers.Base {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return Bar(jsBase: "new anychart.core.linearGauge.pointers.Bar()")
16 | //super.init(jsBase: "new anychart.core.linearGauge.pointers.Bar()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "bar\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.lineargauge.pointers.Bar {
30 | return anychart.core.lineargauge.pointers.Bar(jsBase: "new anychart.core.lineargauge.pointers.bar()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 |
39 | }
40 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/lineargauge/pointers/anychart_core_lineargauge_pointers_RangeBar.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.lineargauge.pointers {
7 | public class RangeBar: anychart.core.lineargauge.pointers.Bar {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return RangeBar(jsBase: "new anychart.core.linearGauge.pointers.RangeBar()")
16 | //super.init(jsBase: "new anychart.core.linearGauge.pointers.RangeBar()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "rangeBar\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.lineargauge.pointers.RangeBar {
30 | return anychart.core.lineargauge.pointers.RangeBar(jsBase: "new anychart.core.lineargauge.pointers.rangebar()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 |
39 | }
40 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/lineargauge/scalebar/anychart_core_lineargauge_scalebar_ControlPoint.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.core.lineargauge.scalebar {
3 | public class ControlPoint: JsObject {
4 |
5 |
6 | public init(height: Double, left: Double, right: Double) {
7 | super.init()
8 |
9 | js.append("\(height), \(left), \(right)")
10 | }
11 |
12 | }
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/map/series/anychart_core_map_series_BaseWithMarkers.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.map.series {
7 | public class BaseWithMarkers: anychart.core.map.series.Base {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return BaseWithMarkers(jsBase: "new anychart.core.map.series.BaseWithMarkers()")
16 | //super.init(jsBase: "new anychart.core.map.series.BaseWithMarkers()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "baseWithMarkers\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.map.series.BaseWithMarkers {
30 | return anychart.core.map.series.BaseWithMarkers(jsBase: "new anychart.core.map.series.basewithmarkers()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 |
39 | }
40 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/map/series/anychart_core_map_series_Choropleth.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.map.series {
7 | public class Choropleth: anychart.core.map.series.BaseWithMarkers {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return Choropleth(jsBase: "new anychart.core.map.series.Choropleth()")
16 | //super.init(jsBase: "new anychart.core.map.series.Choropleth()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "choropleth\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.map.series.Choropleth {
30 | return anychart.core.map.series.Choropleth(jsBase: "new anychart.core.map.series.choropleth()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 |
39 | }
40 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/radar/series/anychart_core_radar_series_ContinuousBase.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.radar.series {
7 | public class ContinuousBase: anychart.core.radar.series.Base {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return ContinuousBase(jsBase: "new anychart.core.radar.series.ContinuousBase()")
16 | //super.init(jsBase: "new anychart.core.radar.series.ContinuousBase()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "continuousBase\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.radar.series.ContinuousBase {
30 | return anychart.core.radar.series.ContinuousBase(jsBase: "new anychart.core.radar.series.continuousbase()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Getter for connectMissingPoints mode.
40 | */
41 | public func connectMissingPoints() {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".connectMissingPoints();")
43 | }
44 | /**
45 | * Setter for connectMissingPoints mode.
46 | */
47 | public func connectMissingPoints(enabled: Bool) -> anychart.core.radar.series.ContinuousBase {
48 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: "\(self.jsBase).connectMissingPoints(\(enabled));")
49 |
50 | return self
51 | }
52 |
53 | }
54 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/scatter/series/anychart_core_scatter_series_BaseWithMarkers.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.scatter.series {
7 | public class BaseWithMarkers: anychart.core.scatter.series.Base {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return BaseWithMarkers(jsBase: "new anychart.core.scatter.series.BaseWithMarkers()")
16 | //super.init(jsBase: "new anychart.core.scatter.series.BaseWithMarkers()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "baseWithMarkers\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.scatter.series.BaseWithMarkers {
30 | return anychart.core.scatter.series.BaseWithMarkers(jsBase: "new anychart.core.scatter.series.basewithmarkers()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 |
39 | }
40 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/series/renderingsettings/anychart_core_series_renderingsettings_Context.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.series.renderingsettings {
7 | public class Context: JsObject {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return Context(jsBase: "new anychart.core.series.RenderingSettings.Context()")
16 | //super.init(jsBase: "new anychart.core.series.RenderingSettings.Context()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "context\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | public func instantiate() -> anychart.core.series.renderingsettings.Context {
30 | return anychart.core.series.renderingsettings.Context(jsBase: "new anychart.core.series.renderingsettings.context()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Fetch statistics value by its key or a whole object if no key provided.
40 | */
41 | public func getStat(key: String) {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: "\(self.jsBase).getStat(\(JsObject.wrapQuotes(value: key)));")
43 | }
44 |
45 | }
46 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/series/renderingsettings/anychart_core_series_renderingsettings_ShapeConfig.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.core.series.renderingsettings {
3 | public class ShapeConfig: JsObject {
4 |
5 |
6 | public init(canBeHoveredSelected: Bool, fillName: String, isHatchFill: Bool, name: String, scrollerSelected: Bool, shapeType: anychart.enums.ShapeType, strokeName: String, zIndex: Double) {
7 | super.init()
8 |
9 | js.append("\(canBeHoveredSelected), \(JsObject.wrapQuotes(value: fillName)), \(isHatchFill), \(JsObject.wrapQuotes(value: name)), \(scrollerSelected), \((shapeType != nil) ? shapeType.getJsBase() : "null"), \(JsObject.wrapQuotes(value: strokeName)), \(zIndex)")
10 | }
11 | public init(canBeHoveredSelected: Bool, fillName: String, isHatchFill: Bool, name: String, scrollerSelected: Bool, shapeType: String, strokeName: String, zIndex: Double) {
12 | super.init()
13 |
14 | js.append("\(canBeHoveredSelected), \(JsObject.wrapQuotes(value: fillName)), \(isHatchFill), \(JsObject.wrapQuotes(value: name)), \(scrollerSelected), \(JsObject.wrapQuotes(value: shapeType)), \(JsObject.wrapQuotes(value: strokeName)), \(zIndex)")
15 | }
16 |
17 | }
18 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/stock/grouping/anychart_core_stock_grouping_Level.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.core.stock.grouping {
3 | public class Level: JsObject {
4 |
5 |
6 | public init(count: Double, unit: anychart.enums.Interval) {
7 | super.init()
8 |
9 | js.append("\(count), \((unit != nil) ? unit.getJsBase() : "null")")
10 | }
11 | public init(count: Double, unit: String) {
12 | super.init()
13 |
14 | js.append("\(count), \(JsObject.wrapQuotes(value: unit))")
15 | }
16 |
17 | }
18 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/stock/indicators/anychart_core_stock_indicators_Base.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.stock.indicators {
7 | public class Base: JsObject {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return Base(jsBase: "new anychart.core.stock.indicators.Base()")
16 | //super.init(jsBase: "new anychart.core.stock.indicators.Base()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "base\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | public func instantiate() -> anychart.core.stock.indicators.Base {
30 | return anychart.core.stock.indicators.Base(jsBase: "new anychart.core.stock.indicators.base()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 |
39 | }
40 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/stock/scrollerseries/anychart_core_stock_scrollerseries_DiscreteBase.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.stock.scrollerseries {
7 | public class DiscreteBase: anychart.core.stock.scrollerseries.Base {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return DiscreteBase(jsBase: "new anychart.core.stock.scrollerSeries.DiscreteBase()")
16 | //super.init(jsBase: "new anychart.core.stock.scrollerSeries.DiscreteBase()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "discreteBase\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.stock.scrollerseries.DiscreteBase {
30 | return anychart.core.stock.scrollerseries.DiscreteBase(jsBase: "new anychart.core.stock.scrollerseries.discretebase()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 |
39 | }
40 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/stock/series/anychart_core_stock_series_DiscreteBase.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.stock.series {
7 | public class DiscreteBase: anychart.core.stock.series.Base {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return DiscreteBase(jsBase: "new anychart.core.stock.series.DiscreteBase()")
16 | //super.init(jsBase: "new anychart.core.stock.series.DiscreteBase()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "discreteBase\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.stock.series.DiscreteBase {
30 | return anychart.core.stock.series.DiscreteBase(jsBase: "new anychart.core.stock.series.discretebase()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 |
39 | }
40 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/ui/anychart_core_ui_CircularLabelsFactory.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.ui {
7 | public class CircularLabelsFactory: anychart.core.ui.LabelsFactory {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return CircularLabelsFactory(jsBase: "new anychart.core.ui.CircularLabelsFactory()")
16 | //super.init(jsBase: "new anychart.core.ui.CircularLabelsFactory()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "circularLabelsFactory\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.ui.CircularLabelsFactory {
30 | return anychart.core.ui.CircularLabelsFactory(jsBase: "new anychart.core.ui.circularlabelsfactory()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Getter for labels rotation.
40 | */
41 | public func autoRotate() {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".autoRotate();")
43 | }
44 | /**
45 | * Setter for labels rotation.
46 | Auto rotates the labels around an anchor.
47 | */
48 | public func autoRotate(enabled: Bool) -> anychart.core.ui.CircularLabelsFactory {
49 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: "\(self.jsBase).autoRotate(\(enabled));")
50 |
51 | return self
52 | }
53 |
54 | }
55 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/ui/circularlabelsfactory/anychart_core_ui_circularlabelsfactory_Label.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.ui.circularlabelsfactory {
7 | public class Label: anychart.core.ui.labelsfactory.Label {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return Label(jsBase: "new anychart.core.ui.CircularLabelsFactory.Label()")
16 | //super.init(jsBase: "new anychart.core.ui.CircularLabelsFactory.Label()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "label\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.ui.circularlabelsfactory.Label {
30 | return anychart.core.ui.circularlabelsfactory.Label(jsBase: "new anychart.core.ui.circularlabelsfactory.label()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Getter for the label rotation.
40 | */
41 | public func autoRotate() {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".autoRotate();")
43 | }
44 | /**
45 | * Setter for the label rotation.
46 | Auto rotates a label around an anchor.
47 | */
48 | public func autoRotate(enabled: Bool) -> anychart.core.ui.circularlabelsfactory.Label {
49 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: "\(self.jsBase).autoRotate(\(enabled));")
50 |
51 | return self
52 | }
53 |
54 | }
55 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/utils/anychart_core_utils_A11y.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.utils {
7 | public class A11y: anychart.core.Base {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return A11y(jsBase: "new anychart.core.utils.A11y()")
16 | //super.init(jsBase: "new anychart.core.utils.A11y()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "a11y\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.utils.A11y {
30 | return anychart.core.utils.A11y(jsBase: "new anychart.core.utils.a11y()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 |
39 | }
40 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/core/utils/anychart_core_utils_DrawingPlanIterator.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.core.utils {
7 | public class DrawingPlanIterator: anychart.data.Iterator {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return DrawingPlanIterator(jsBase: "new anychart.core.utils.DrawingPlanIterator()")
16 | //super.init(jsBase: "new anychart.core.utils.DrawingPlanIterator()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "drawingPlanIterator\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.core.utils.DrawingPlanIterator {
30 | return anychart.core.utils.DrawingPlanIterator(jsBase: "new anychart.core.utils.drawingplaniterator()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 |
39 | }
40 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/data/anychart_data_DataSettings.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.data {
3 | public class DataSettings: JsObject {
4 |
5 |
6 | public init(caption: String, header: [String], rows: [String], text: String, textSettings: anychart.enums.TextParsingMode) {
7 | super.init()
8 |
9 | js.append("\(JsObject.wrapQuotes(value: caption)), \(JsObject.arrayToStringWrapQuotes(array: header)), \(JsObject.arrayToStringWrapQuotes(array: rows)), \(JsObject.wrapQuotes(value: text)), \((textSettings != nil) ? textSettings.getJsBase() : "null")")
10 | }
11 | public init(caption: String, header: [String], rows: [String], text: String, textSettings: String) {
12 | super.init()
13 |
14 | js.append("\(JsObject.wrapQuotes(value: caption)), \(JsObject.arrayToStringWrapQuotes(array: header)), \(JsObject.arrayToStringWrapQuotes(array: rows)), \(JsObject.wrapQuotes(value: text)), \(JsObject.wrapQuotes(value: textSettings))")
15 | }
16 | public init(caption: String, header: [String], rows: [String], text: String, textSettings: anychart.data.TextParsingSettings) {
17 | super.init()
18 |
19 | js.append("\(JsObject.wrapQuotes(value: caption)), \(JsObject.arrayToStringWrapQuotes(array: header)), \(JsObject.arrayToStringWrapQuotes(array: rows)), \(JsObject.wrapQuotes(value: text)), \((textSettings != nil) ? textSettings.getJsBase() : "null")")
20 | }
21 |
22 | }
23 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/data/anychart_data_Mapping.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.data {
7 | public class Mapping: anychart.data.View {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return Mapping(jsBase: "new anychart.data.Mapping()")
16 | //super.init(jsBase: "new anychart.data.Mapping()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "mapping\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.data.Mapping {
30 | return anychart.data.Mapping(jsBase: "new anychart.data.mapping()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Gets the mapping.
40 | Returns the set mapping (from the {@link anychart.data.Set#mapAs method}) or the default mapping.
41 | */
42 | public func getMapping() {
43 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".getMapping();")
44 | }
45 |
46 | }
47 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/data/anychart_data_TextParsingSettings.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.data {
3 | public class TextParsingSettings: JsObject {
4 |
5 |
6 | public init(columnsSeparator: String, cutLength: Double, ignoreFirstRow: Bool, ignoreItems: [String], ignoreTrailingSpaces: Bool, maxItems: Double, maxLength: Double, minLength: Double, mode: anychart.enums.TextParsingMode, rowsSeparator: String) {
7 | super.init()
8 |
9 | js.append("\(JsObject.wrapQuotes(value: columnsSeparator)), \(cutLength), \(ignoreFirstRow), \(JsObject.arrayToStringWrapQuotes(array: ignoreItems)), \(ignoreTrailingSpaces), \(maxItems), \(maxLength), \(minLength), \((mode != nil) ? mode.getJsBase() : "null"), \(JsObject.wrapQuotes(value: rowsSeparator))")
10 | }
11 | public init(columnsSeparator: String, cutLength: Double, ignoreFirstRow: Bool, ignoreItems: [String], ignoreTrailingSpaces: Bool, maxItems: Double, maxLength: Double, minLength: Double, mode: String, rowsSeparator: String) {
12 | super.init()
13 |
14 | js.append("\(JsObject.wrapQuotes(value: columnsSeparator)), \(cutLength), \(ignoreFirstRow), \(JsObject.arrayToStringWrapQuotes(array: ignoreItems)), \(ignoreTrailingSpaces), \(maxItems), \(maxLength), \(minLength), \(JsObject.wrapQuotes(value: mode)), \(JsObject.wrapQuotes(value: rowsSeparator))")
15 | }
16 |
17 | }
18 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/data/tablecomputer/anychart_data_tablecomputer_RowProxy.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.data.tablecomputer {
7 | public class RowProxy: anychart.data.tableselectable.RowProxy {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return RowProxy(jsBase: "new anychart.data.TableComputer.RowProxy()")
16 | //super.init(jsBase: "new anychart.data.TableComputer.RowProxy()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "rowProxy\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.data.tablecomputer.RowProxy {
30 | return anychart.data.tablecomputer.RowProxy(jsBase: "new anychart.data.tablecomputer.rowproxy()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Sets field value by field name.
40 | */
41 | public func set(name: String, value: String) {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: "\(self.jsBase).set(\(JsObject.wrapQuotes(value: name)), \(JsObject.wrapQuotes(value: value)));")
43 | }
44 | /**
45 | * Sets value by column.
46 | */
47 | public func setColumn(index: Double, value: String) {
48 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: "\(self.jsBase).setColumn(\(index), \(JsObject.wrapQuotes(value: value)));")
49 | }
50 |
51 | }
52 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/data/tree/anychart_data_tree_Dependency.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.data.tree {
3 | public class Dependency: JsObject {
4 |
5 |
6 | public init(from: String, to: String) {
7 | super.init()
8 |
9 | js.append("\(JsObject.wrapQuotes(value: from)), \(JsObject.wrapQuotes(value: to))")
10 | }
11 | public init(from: String, to: Double) {
12 | super.init()
13 |
14 | js.append("\(JsObject.wrapQuotes(value: from)), \(to)")
15 | }
16 | public init(from: Double, to: String) {
17 | super.init()
18 |
19 | js.append("\(from), \(JsObject.wrapQuotes(value: to))")
20 | }
21 | public init(from: Double, to: Double) {
22 | super.init()
23 |
24 | js.append("\(from), \(to)")
25 | }
26 |
27 | }
28 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/editor/anychart_editor_JavascriptOptions.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.editor {
3 | public class JavascriptOptions: JsObject {
4 |
5 |
6 | public init(addData: Bool, addGeoData: Bool, addMarkers: Bool, container: String, minify: Bool, wrapper: String) {
7 | super.init()
8 |
9 | js.append("\(addData), \(addGeoData), \(addMarkers), \(JsObject.wrapQuotes(value: container)), \(minify), \(JsObject.wrapQuotes(value: wrapper))")
10 | }
11 |
12 | }
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_A11yMode.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum A11yMode: String {
3 | case CHART_ELEMENTS = "chart-elements"
4 | case DATA_TABLE = "data-table"
5 |
6 | public func getJsBase() -> String {
7 | return "'\(self.rawValue)'"
8 | }
9 |
10 | }
11 |
12 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_AggregationType.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum AggregationType: String {
3 | case AVERAGE = "average"
4 | case FIRST = "first"
5 | case FIRST_VALUE = "first-value"
6 | case LAST = "last"
7 | case LAST_VALUE = "last-value"
8 | case LIST = "list"
9 | case MAX = "max"
10 | case MIN = "min"
11 | case SUM = "sum"
12 | case WEIGHTED_AVERAGE = "weighted-average"
13 |
14 | public func getJsBase() -> String {
15 | return "'\(self.rawValue)'"
16 | }
17 |
18 | }
19 |
20 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_Align.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum Align: String {
3 | case BOTTOM = "bottom"
4 | case CENTER = "center"
5 | case LEFT = "left"
6 | case RIGHT = "right"
7 | case TOP = "top"
8 |
9 | public func getJsBase() -> String {
10 | return "'\(self.rawValue)'"
11 | }
12 |
13 | }
14 |
15 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_Anchor.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum Anchor: String {
3 | case AUTO = "auto"
4 | case CENTER = "center"
5 | case CENTER_BOTTOM = "center-bottom"
6 | case CENTER_TOP = "center-top"
7 | case LEFT_BOTTOM = "left-bottom"
8 | case LEFT_CENTER = "left-center"
9 | case LEFT_TOP = "left-top"
10 | case RIGHT_BOTTOM = "right-bottom"
11 | case RIGHT_CENTER = "right-center"
12 | case RIGHT_TOP = "right-top"
13 |
14 | public func getJsBase() -> String {
15 | return "'\(self.rawValue)'"
16 | }
17 |
18 | }
19 |
20 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_AnnotationTypes.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum AnnotationTypes: String {
3 | case ANDREWS_PITCHFORK = "andrews-pitchfork"
4 | case ELLIPSE = "ellipse"
5 | case FIBONACCI_ARC = "fibonacci-arc"
6 | case FIBONACCI_FAN = "fibonacci-fan"
7 | case FIBONACCI_RETRACEMENT = "fibonacci-retracement"
8 | case FIBONACCI_TIMEZONES = "fibonacci-timezones"
9 | case HORIZONTAL_LINE = "horizontal-line"
10 | case INFINITE_LINE = "infinite-line"
11 | case LABEL = "label"
12 | case LINE = "line"
13 | case MARKER = "marker"
14 | case RAY = "ray"
15 | case RECTANGLE = "rectangle"
16 | case TREND_CHANNEL = "trend-channel"
17 | case TRIANGLE = "triangle"
18 | case VERTICAL_LINE = "vertical-line"
19 |
20 | public func getJsBase() -> String {
21 | return "'\(self.rawValue)'"
22 | }
23 |
24 | }
25 |
26 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_AvailabilityPeriod.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum AvailabilityPeriod: String {
3 | case DAY = "day"
4 | case NONE = "none"
5 | case WEEK = "week"
6 | case YEAR = "year"
7 |
8 | public func getJsBase() -> String {
9 | return "'\(self.rawValue)'"
10 | }
11 |
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_BackgroundCornersType.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum BackgroundCornersType: String {
3 | case CUT = "cut"
4 | case NONE = "none"
5 | case ROUND = "round"
6 | case ROUND_INNER = "round-inner"
7 |
8 | public func getJsBase() -> String {
9 | return "'\(self.rawValue)'"
10 | }
11 |
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_BulletMarkerType.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum BulletMarkerType: String {
3 | case BAR = "bar"
4 | case ELLIPSE = "ellipse"
5 | case LINE = "line"
6 | case X = "x"
7 |
8 | public func getJsBase() -> String {
9 | return "'\(self.rawValue)'"
10 | }
11 |
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_Cartesian3dSeriesType.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum Cartesian3dSeriesType: String {
3 | case AREA = "area"
4 | case BAR = "bar"
5 | case COLUMN = "column"
6 | case LINE = "line"
7 | case LINE_2D = "line-2d"
8 |
9 | public func getJsBase() -> String {
10 | return "'\(self.rawValue)'"
11 | }
12 |
13 | }
14 |
15 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_CartesianSeriesType.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum CartesianSeriesType: String {
3 | case AREA = "area"
4 | case BAR = "bar"
5 | case BOX = "box"
6 | case BUBBLE = "bubble"
7 | case CANDLESTICK = "candlestick"
8 | case COLUMN = "column"
9 | case HILO = "hilo"
10 | case JUMP_LINE = "jump-line"
11 | case LINE = "line"
12 | case MARKER = "marker"
13 | case OHLC = "ohlc"
14 | case RANGE_AREA = "range-area"
15 | case RANGE_BAR = "range-bar"
16 | case RANGE_COLUMN = "range-column"
17 | case RANGE_SPLINE_AREA = "range-spline-area"
18 | case RANGE_STEP_AREA = "range-step-area"
19 | case SPLINE = "spline"
20 | case SPLINE_AREA = "spline-area"
21 | case STEP_AREA = "step-area"
22 | case STEP_LINE = "step-line"
23 | case STICK = "stick"
24 |
25 | public func getJsBase() -> String {
26 | return "'\(self.rawValue)'"
27 | }
28 |
29 | }
30 |
31 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_ChartDataExportMode.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum ChartDataExportMode: String {
3 | case DEFAULT = "default"
4 | case GROUPED = "grouped"
5 | case RAW = "raw"
6 | case SELECTED = "selected"
7 |
8 | public func getJsBase() -> String {
9 | return "'\(self.rawValue)'"
10 | }
11 |
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_ChartScrollerPosition.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum ChartScrollerPosition: String {
3 | case AFTER_AXES = "after-axes"
4 | case BEFORE_AXES = "before-axes"
5 |
6 | public func getJsBase() -> String {
7 | return "'\(self.rawValue)'"
8 | }
9 |
10 | }
11 |
12 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_CircularGaugePointerType.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum CircularGaugePointerType: String {
3 | case BAR = "bar"
4 | case KNOB = "knob"
5 | case MARKER = "marker"
6 | case NEEDLE = "needle"
7 |
8 | public func getJsBase() -> String {
9 | return "'\(self.rawValue)'"
10 | }
11 |
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_ColumnFormats.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum ColumnFormats: String {
3 | case DATE_COMMON_LOG = "date-common-log"
4 | case DATE_DMY_DOTS = "date-dmy-dots"
5 | case DATE_ISO_8601 = "date-iso-8601"
6 | case DATE_US_SHORT = "date-us-short"
7 | case DIRECT_NUMBERING = "direct-numbering"
8 | case FINANCIAL = "financial"
9 | case PERCENT = "percent"
10 | case SHORT_TEXT = "short-text"
11 | case TEXT = "text"
12 |
13 | public func getJsBase() -> String {
14 | return "'\(self.rawValue)'"
15 | }
16 |
17 | }
18 |
19 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_ConnectorType.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum ConnectorType: String {
3 | case FINISH_FINISH = "finish-finish"
4 | case FINISH_START = "finish-start"
5 | case START_FINISH = "start-finish"
6 | case START_START = "start-start"
7 |
8 | public func getJsBase() -> String {
9 | return "'\(self.rawValue)'"
10 | }
11 |
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_CrosshairDisplayMode.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum CrosshairDisplayMode: String {
3 | case FLOAT = "float"
4 | case STICKY = "sticky"
5 |
6 | public func getJsBase() -> String {
7 | return "'\(self.rawValue)'"
8 | }
9 |
10 | }
11 |
12 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_Cursor.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum Cursor: String {
3 | case CROSSHAIR = "crosshair"
4 | case DEFAULT = "default"
5 | case EW_RESIZE = "ew-resize"
6 | case E_RESIZE = "e-resize"
7 | case HELP = "help"
8 | case MOVE = "move"
9 | case NESW_RESIZE = "nesw-resize"
10 | case NE_RESIZE = "ne-resize"
11 | case NS_RESIZE = "ns-resize"
12 | case NWSE_RESIZE = "nwse-resize"
13 | case NW_RESIZE = "nw-resize"
14 | case N_RESIZE = "n-resize"
15 | case POINTER = "pointer"
16 | case SE_RESIZE = "se-resize"
17 | case SW_RESIZE = "sw-resize"
18 | case S_RESIZE = "s-resize"
19 | case TEXT = "text"
20 | case WAIT = "wait"
21 | case W_RESIZE = "w-resize"
22 |
23 | public func getJsBase() -> String {
24 | return "'\(self.rawValue)'"
25 | }
26 |
27 | }
28 |
29 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_DataField.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum DataField: String {
3 | case DEPENDS_ON = "dependsOn"
4 | case DURATION = "duration"
5 | case EXPECTED = "expected"
6 | case FROM = "from"
7 | case ID = "id"
8 | case MOST_LIKELY = "mostLikely"
9 | case NAME = "name"
10 | case OPTIMISTIC = "optimistic"
11 | case PESSIMISTIC = "pessimistic"
12 | case TO = "to"
13 |
14 | public func getJsBase() -> String {
15 | return "'\(self.rawValue)'"
16 | }
17 |
18 | }
19 |
20 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_EditorSteps.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum EditorSteps: String {
3 | case APPEARANCE = "appearance"
4 | case CHART = "chart"
5 | case DATA = "data"
6 | case EXPORT = "export"
7 |
8 | public func getJsBase() -> String {
9 | return "'\(self.rawValue)'"
10 | }
11 |
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_EditorTabs.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum EditorTabs: String {
3 | case CARTESIAN_AXES = "cartesianAxes"
4 | case CIRCULAR_RANGES = "circularRanges"
5 | case COLOR_RANGE = "colorRange"
6 | case COLOR_SCALE = "colorScale"
7 | case CONTEXT_MENU = "contextMenu"
8 | case CREDITS = "credits"
9 | case DATA_LABELS = "dataLabels"
10 | case EMBED = "embed"
11 | case GAUGE_AXES = "gaugeAxes"
12 | case GRIDS = "grids"
13 | case JSON = "json"
14 | case LEGEND = "legend"
15 | case POINTERS = "pointers"
16 | case RADAR_POLAR_AXES = "radarPolarAxes"
17 | case SCALES = "scales"
18 | case SCALE_BARS = "scaleBars"
19 | case SERIES = "series"
20 | case SOURCE_CODE = "sourceCode"
21 | case SPECIFIC = "specific"
22 | case THEMING = "theming"
23 | case TITLE = "title"
24 | case TOOLTIP = "tooltip"
25 |
26 | public func getJsBase() -> String {
27 | return "'\(self.rawValue)'"
28 | }
29 |
30 | }
31 |
32 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_ErrorMode.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum ErrorMode: String {
3 | case BOTH = "both"
4 | case NONE = "none"
5 | case VALUE = "value"
6 | case X = "x"
7 |
8 | public func getJsBase() -> String {
9 | return "'\(self.rawValue)'"
10 | }
11 |
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_EventMarkerDirection.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum EventMarkerDirection: String {
3 | case AUTO = "auto"
4 | case DOWN = "down"
5 | case UP = "up"
6 |
7 | public func getJsBase() -> String {
8 | return "'\(self.rawValue)'"
9 | }
10 |
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_EventMarkerPosition.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum EventMarkerPosition: String {
3 | case AXIS = "axis"
4 | case SERIES = "series"
5 | case SERIES_NEGATIVE = "series-negative"
6 | case SERIES_POSITIVE = "series-positive"
7 | case ZERO = "zero"
8 |
9 | public func getJsBase() -> String {
10 | return "'\(self.rawValue)'"
11 | }
12 |
13 | }
14 |
15 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_EventMarkerType.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum EventMarkerType: String {
3 | case CIRCLE = "circle"
4 | case FLAG = "flag"
5 | case PIN = "pin"
6 | case RECT = "rect"
7 |
8 | public func getJsBase() -> String {
9 | return "'\(self.rawValue)'"
10 | }
11 |
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_FontStyle.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum FontStyle: String {
3 | case ITALIC = "italic"
4 | case NORMAL = "normal"
5 | case OBLIQUE = "oblique"
6 |
7 | public func getJsBase() -> String {
8 | return "'\(self.rawValue)'"
9 | }
10 |
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_FontVariant.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum FontVariant: String {
3 | case NORMAL = "normal"
4 | case SMALL_CAP = "small-caps"
5 |
6 | public func getJsBase() -> String {
7 | return "'\(self.rawValue)'"
8 | }
9 |
10 | }
11 |
12 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_GanttDataFields.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum GanttDataFields: String {
3 | case ACTUAL = "actual"
4 | case ACTUAL_END = "actualEnd"
5 | case ACTUAL_START = "actualStart"
6 | case BASELINE = "baseLine"
7 | case BASELINE_END = "baseLineEnd"
8 | case BASELINE_START = "baseLineStart"
9 | case CHILDREN = "children"
10 | case COLLAPSED = "collapsed"
11 | case CONNECTOR = "connector"
12 | case CONNECTOR_TYPE = "connectorType"
13 | case CONNECT_TO = "connectTo"
14 | case END = "end"
15 | case END_MARKER = "endMarker"
16 | case FILL = "fill"
17 | case HOVER_FILL = "hoverFill"
18 | case HOVER_STROKE = "hoverStroke"
19 | case ID = "id"
20 | case LABEL = "label"
21 | case MARKERS = "markers"
22 | case MILESTONE = "milestone"
23 | case NAME = "name"
24 | case PARENT = "parent"
25 | case PERIODS = "periods"
26 | case PROGRESS = "progress"
27 | case PROGRESS_VALUE = "progressValue"
28 | case ROW_HEIGHT = "rowHeight"
29 | case START = "start"
30 | case START_MARKER = "startMarker"
31 | case STROKE = "stroke"
32 |
33 | public func getJsBase() -> String {
34 | return "'\(self.rawValue)'"
35 | }
36 |
37 | }
38 |
39 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_GanttDateTimeMarkers.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum GanttDateTimeMarkers: String {
3 | case CURRENT = "current"
4 | case END = "end"
5 | case START = "start"
6 |
7 | public func getJsBase() -> String {
8 | return "'\(self.rawValue)'"
9 | }
10 |
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_GanttRangeAnchor.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum GanttRangeAnchor: String {
3 | case FIRST_DATE = "first-date"
4 | case FIRST_VISIBLE_DATE = "first-visible-date"
5 | case LAST_DATE = "last-date"
6 | case LAST_VISIBLE_DATE = "last-visible-date"
7 |
8 | public func getJsBase() -> String {
9 | return "'\(self.rawValue)'"
10 | }
11 |
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_GaugeScaleTypes.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum GaugeScaleTypes: String {
3 | case LINEAR = "linear"
4 | case LOG = "log"
5 |
6 | public func getJsBase() -> String {
7 | return "'\(self.rawValue)'"
8 | }
9 |
10 | }
11 |
12 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_GaugeSidePosition.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum GaugeSidePosition: String {
3 | case CENTER = "center"
4 | case INSIDE = "inside"
5 | case OUTSIDE = "outside"
6 |
7 | public func getJsBase() -> String {
8 | return "'\(self.rawValue)'"
9 | }
10 |
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_HAlign.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum HAlign: String {
3 | case CENTER = "center"
4 | case END = "end"
5 | case LEFT = "left"
6 | case RIGHT = "right"
7 | case START = "start"
8 |
9 | public func getJsBase() -> String {
10 | return "'\(self.rawValue)'"
11 | }
12 |
13 | }
14 |
15 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_HoverMode.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum HoverMode: String {
3 | case BY_SPOT = "by-spot"
4 | case BY_X = "by-x"
5 | case SINGLE = "single"
6 |
7 | public func getJsBase() -> String {
8 | return "'\(self.rawValue)'"
9 | }
10 |
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_Interval.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum Interval: String {
3 | case DAY = "day"
4 | case HOUR = "hour"
5 | case MILLISECOND = "millisecond"
6 | case MINUTE = "minute"
7 | case MONTH = "month"
8 | case QUARTER = "quarter"
9 | case SECOND = "second"
10 | case SEMESTER = "semester"
11 | case THIRD_OF_MONTH = "third-of-month"
12 | case WEEK = "week"
13 | case YEAR = "year"
14 |
15 | public func getJsBase() -> String {
16 | return "'\(self.rawValue)'"
17 | }
18 |
19 | }
20 |
21 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_LabelsDisplayMode.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum LabelsDisplayMode: String {
3 | case ALWAYS_SHOW = "always-show"
4 | case CLIP = "clip"
5 | case DROP = "drop"
6 |
7 | public func getJsBase() -> String {
8 | return "'\(self.rawValue)'"
9 | }
10 |
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_LabelsOverlapMode.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum LabelsOverlapMode: String {
3 | case ALLOW_OVERLAP = "allow-overlap"
4 | case NO_OVERLAP = "no-overlap"
5 |
6 | public func getJsBase() -> String {
7 | return "'\(self.rawValue)'"
8 | }
9 |
10 | }
11 |
12 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_Layout.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum Layout: String {
3 | case HORIZONTAL = "horizontal"
4 | case VERTICAL = "vertical"
5 |
6 | public func getJsBase() -> String {
7 | return "'\(self.rawValue)'"
8 | }
9 |
10 | }
11 |
12 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_LegendItemIconType.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum LegendItemIconType: String {
3 | case AREA = "area"
4 | case BAR = "bar"
5 | case BUBBLE = "bubble"
6 | case CANDLESTICK = "candlestick"
7 | case CIRCLE = "circle"
8 | case COLUMN = "column"
9 | case LINE = "line"
10 | case MARKER = "marker"
11 | case OHLC = "ohlc"
12 | case RANGE_AREA = "range-area"
13 | case RANGE_BAR = "range-bar"
14 | case RANGE_COLUMN = "range-column"
15 | case RANGE_SPLINE_AREA = "range-spline-area"
16 | case RANGE_STEP_AREA = "range-step-area"
17 | case SPLINE = "spline"
18 | case SPLINE_AREA = "spline-area"
19 | case SQUARE = "square"
20 | case STEP_AREA = "step-area"
21 | case STEP_LINE = "step-line"
22 |
23 | public func getJsBase() -> String {
24 | return "'\(self.rawValue)'"
25 | }
26 |
27 | }
28 |
29 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_LegendItemsSourceMode.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum LegendItemsSourceMode: String {
3 | case CATEGORIES = "categories"
4 | case DEFAULT = "default"
5 |
6 | public func getJsBase() -> String {
7 | return "'\(self.rawValue)'"
8 | }
9 |
10 | }
11 |
12 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_LegendLayout.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum LegendLayout: String {
3 | case HORIZONTAL = "horizontal"
4 | case HORIZONTAL_EXPANDABLE = "horizontal-expandable"
5 | case VERTICAL = "vertical"
6 | case VERTICAL_EXPANDABLE = "vertical-expandable"
7 |
8 | public func getJsBase() -> String {
9 | return "'\(self.rawValue)'"
10 | }
11 |
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_LegendPositionMode.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum LegendPositionMode: String {
3 | case INSIDE = "inside"
4 | case OUTSIDE = "outside"
5 |
6 | public func getJsBase() -> String {
7 | return "'\(self.rawValue)'"
8 | }
9 |
10 | }
11 |
12 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_LinearGaugePointerType.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum LinearGaugePointerType: String {
3 | case BAR = "bar"
4 | case LED = "led"
5 | case MARKER = "marker"
6 | case RANGE_BAR = "range-bar"
7 | case TANK = "tank"
8 | case THERMOMETER = "thermometer"
9 |
10 | public func getJsBase() -> String {
11 | return "'\(self.rawValue)'"
12 | }
13 |
14 | }
15 |
16 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_MapAsTableMode.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum MapAsTableMode: String {
3 | case OHLC = "ohlc"
4 | case RANGE = "range"
5 | case VALUE = "value"
6 |
7 | public func getJsBase() -> String {
8 | return "'\(self.rawValue)'"
9 | }
10 |
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_MapGridZIndex.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum MapGridZIndex: String {
3 | case OVER_MAP = "45"
4 | case UNDER_MAP = "5"
5 |
6 | public func getJsBase() -> String {
7 | return "'\(self.rawValue)'"
8 | }
9 |
10 | }
11 |
12 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_MapProjections.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum MapProjections: String {
3 | case AITOFF = "aitoff"
4 | case AUGUST = "august"
5 | case BONNE = "bonne"
6 | case ECKERT1 = "eckert1"
7 | case ECKERT3 = "eckert3"
8 | case EQUIRECTANGULAR = "equirectangular"
9 | case FAHEY = "fahey"
10 | case HAMMER = "hammer"
11 | case MERCATOR = "mercator"
12 | case ORTHOGRAPHIC = "orthographic"
13 | case ROBINSON = "robinson"
14 | case WAGNER6 = "wagner6"
15 | case WSG84 = "wsg84"
16 |
17 | public func getJsBase() -> String {
18 | return "'\(self.rawValue)'"
19 | }
20 |
21 | }
22 |
23 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_MapSeriesType.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum MapSeriesType: String {
3 | case BUBBLE = "bubble"
4 | case CHOROPLETH = "choropleth"
5 | case CONNECTOR = "connector"
6 | case MARKER = "marker"
7 |
8 | public func getJsBase() -> String {
9 | return "'\(self.rawValue)'"
10 | }
11 |
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_MapUnboundRegionsMode.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum MapUnboundRegionsMode: String {
3 | case AS_IS = "as-is"
4 | case HIDE = "hide"
5 |
6 | public func getJsBase() -> String {
7 | return "'\(self.rawValue)'"
8 | }
9 |
10 | }
11 |
12 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_MarkerType.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum MarkerType: String {
3 | case ARROWHEAD = "arrowhead"
4 | case ARROW_DOWN = "arrow-down"
5 | case ARROW_LEFT = "arrow-left"
6 | case ARROW_RIGHT = "arrow-right"
7 | case ARROW_UP = "arrow-up"
8 | case CIRCLE = "circle"
9 | case CROSS = "cross"
10 | case DIAGONAL_CROSS = "diagonal-cross"
11 | case DIAMOND = "diamond"
12 | case LINE = "line"
13 | case PENTAGON = "pentagon"
14 | case SQUARE = "square"
15 | case STAR10 = "star10"
16 | case STAR4 = "star4"
17 | case STAR5 = "star5"
18 | case STAR6 = "star6"
19 | case STAR7 = "star7"
20 | case TRAPEZIUM = "trapezium"
21 | case TRIANGLE_DOWN = "triangle-down"
22 | case TRIANGLE_LEFT = "triangle-left"
23 | case TRIANGLE_RIGHT = "triangle-right"
24 | case TRIANGLE_UP = "triangle-up"
25 |
26 | public func getJsBase() -> String {
27 | return "'\(self.rawValue)'"
28 | }
29 |
30 | }
31 |
32 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_MekkoSeriesType.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum MekkoSeriesType: String {
3 | case MEKKO = "mekko"
4 |
5 | public func getJsBase() -> String {
6 | return "'\(self.rawValue)'"
7 | }
8 |
9 | }
10 |
11 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_MilestoneShape.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum MilestoneShape: String {
3 | case CIRCLE = "circle"
4 | case RECTANGLE = "rectangle"
5 | case RHOMBUS = "rhombus"
6 |
7 | public func getJsBase() -> String {
8 | return "'\(self.rawValue)'"
9 | }
10 |
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_MovingAverageType.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum MovingAverageType: String {
3 | case EMA = "ema"
4 | case SMA = "sma"
5 |
6 | public func getJsBase() -> String {
7 | return "'\(self.rawValue)'"
8 | }
9 |
10 | }
11 |
12 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_Orientation.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum Orientation: String {
3 | case BOTTOM = "bottom"
4 | case LEFT = "left"
5 | case RIGHT = "right"
6 | case TOP = "top"
7 |
8 | public func getJsBase() -> String {
9 | return "'\(self.rawValue)'"
10 | }
11 |
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_PointState.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum PointState: String {
3 | case HOVER = "1"
4 | case NORMAL = "0"
5 | case SELECT = "2"
6 |
7 | public func getJsBase() -> String {
8 | return "'\(self.rawValue)'"
9 | }
10 |
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_PolarSeriesType.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum PolarSeriesType: String {
3 | case AREA = "area"
4 | case COLUMN = "column"
5 | case LINE = "line"
6 | case MARKER = "marker"
7 | case POLYGON = "polygon"
8 | case POLYLINE = "polyline"
9 | case RANGE_COLUMN = "range-column"
10 |
11 | public func getJsBase() -> String {
12 | return "'\(self.rawValue)'"
13 | }
14 |
15 | }
16 |
17 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_Position.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum Position: String {
3 | case AUTO = "auto"
4 | case CENTER = "center"
5 | case CENTER_BOTTOM = "center-bottom"
6 | case CENTER_TOP = "center-top"
7 | case LEFT_BOTTOM = "left-bottom"
8 | case LEFT_CENTER = "left-center"
9 | case LEFT_TOP = "left-top"
10 | case RIGHT_BOTTOM = "right-bottom"
11 | case RIGHT_CENTER = "right-center"
12 | case RIGHT_TOP = "right-top"
13 |
14 | public func getJsBase() -> String {
15 | return "'\(self.rawValue)'"
16 | }
17 |
18 | }
19 |
20 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_PriceIndicatorDataSource.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum PriceIndicatorDataSource: String {
3 | case FIRST_VISIBLE = "first-visible"
4 | case LAST_VISIBLE = "last-visible"
5 | case SERIES_END = "series-end"
6 | case SERIES_START = "series-start"
7 |
8 | public func getJsBase() -> String {
9 | return "'\(self.rawValue)'"
10 | }
11 |
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_PyramidLabelsPosition.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum PyramidLabelsPosition: String {
3 | case INSIDE = "inside"
4 | case OUTSIDE_LEFT = "outside-left"
5 | case OUTSIDE_LEFT_IN_COLUMN = "outside-left-in-column"
6 | case OUTSIDE_RIGHT = "outside-right"
7 | case OUTSIDE_RIGHT_IN_COLUMN = "outside-right-in-column"
8 |
9 | public func getJsBase() -> String {
10 | return "'\(self.rawValue)'"
11 | }
12 |
13 | }
14 |
15 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_RadarSeriesType.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum RadarSeriesType: String {
3 | case AREA = "area"
4 | case LINE = "line"
5 | case MARKER = "marker"
6 |
7 | public func getJsBase() -> String {
8 | return "'\(self.rawValue)'"
9 | }
10 |
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_ScaleCompareWithMode.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum ScaleCompareWithMode: String {
3 | case FIRST_VISIBLE = "first-visible"
4 | case SERIES_START = "series-start"
5 |
6 | public func getJsBase() -> String {
7 | return "'\(self.rawValue)'"
8 | }
9 |
10 | }
11 |
12 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_ScaleComparisonMode.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum ScaleComparisonMode: String {
3 | case NONE = "none"
4 | case PERCENT = "percent"
5 | case VALUE = "value"
6 |
7 | public func getJsBase() -> String {
8 | return "'\(self.rawValue)'"
9 | }
10 |
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_ScaleRangeMode.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum ScaleRangeMode: String {
3 | case CONSIDER = "consider"
4 | case NONE = "none"
5 |
6 | public func getJsBase() -> String {
7 | return "'\(self.rawValue)'"
8 | }
9 |
10 | }
11 |
12 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_ScaleStackDirection.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum ScaleStackDirection: String {
3 | case DIRECT = "direct"
4 | case REVERSE = "reverse"
5 |
6 | public func getJsBase() -> String {
7 | return "'\(self.rawValue)'"
8 | }
9 |
10 | }
11 |
12 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_ScaleStackMode.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum ScaleStackMode: String {
3 | case NONE = "none"
4 | case PERCENT = "percent"
5 | case VALUE = "value"
6 |
7 | public func getJsBase() -> String {
8 | return "'\(self.rawValue)'"
9 | }
10 |
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_ScaleTypes.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum ScaleTypes: String {
3 | case DATE_TIME = "date-time"
4 | case DATE_TIME_WITH_CALENDAR = "date-time-with-calendar"
5 | case GANTT = "gantt"
6 | case LINEAR = "linear"
7 | case LINEAR_COLOR = "linear-color"
8 | case LOG = "log"
9 | case ORDINAL = "ordinal"
10 | case ORDINAL_COLOR = "ordinal-color"
11 | case STOCK_ORDINAL_DATE_TIME = "stock-ordinal-date-time"
12 | case STOCK_SCATTER_DATE_TIME = "stock-scatter-date-time"
13 |
14 | public func getJsBase() -> String {
15 | return "'\(self.rawValue)'"
16 | }
17 |
18 | }
19 |
20 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_ScatterScaleTypes.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum ScatterScaleTypes: String {
3 | case DATE_TIME = "date-time"
4 | case LINEAR = "linear"
5 | case LOG = "log"
6 |
7 | public func getJsBase() -> String {
8 | return "'\(self.rawValue)'"
9 | }
10 |
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_ScatterSeriesType.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum ScatterSeriesType: String {
3 | case BUBBLE = "bubble"
4 | case LINE = "line"
5 | case MARKER = "marker"
6 |
7 | public func getJsBase() -> String {
8 | return "'\(self.rawValue)'"
9 | }
10 |
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_ScatterTicksMode.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum ScatterTicksMode: String {
3 | case LINEAR = "linear"
4 | case LOGARITHMIC = "logarithmic"
5 |
6 | public func getJsBase() -> String {
7 | return "'\(self.rawValue)'"
8 | }
9 |
10 | }
11 |
12 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_SelectionMode.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum SelectionMode: String {
3 | case DRILL_DOWN = "drill-down"
4 | case MULTI_SELECT = "multi-select"
5 | case NONE = "none"
6 | case SINGLE_SELECT = "single-select"
7 |
8 | public func getJsBase() -> String {
9 | return "'\(self.rawValue)'"
10 | }
11 |
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_ShapeType.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum ShapeType: String {
3 | case CIRCLE = "circle"
4 | case ELLIPSE = "ellipse"
5 | case PATH = "path"
6 | case RECT = "rect"
7 |
8 | public func getJsBase() -> String {
9 | return "'\(self.rawValue)'"
10 | }
11 |
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_SidePosition.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum SidePosition: String {
3 | case CENTER = "center"
4 | case INSIDE = "inside"
5 | case OUTSIDE = "outside"
6 |
7 | public func getJsBase() -> String {
8 | return "'\(self.rawValue)'"
9 | }
10 |
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_Sort.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum Sort: String {
3 | case ASC = "asc"
4 | case DESC = "desc"
5 | case NONE = "none"
6 |
7 | public func getJsBase() -> String {
8 | return "'\(self.rawValue)'"
9 | }
10 |
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_SparklineSeriesType.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum SparklineSeriesType: String {
3 | case AREA = "area"
4 | case COLUMN = "column"
5 | case LINE = "line"
6 | case WIN_LOSS = "win-loss"
7 |
8 | public func getJsBase() -> String {
9 | return "'\(self.rawValue)'"
10 | }
11 |
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_StepDirection.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum StepDirection: String {
3 | case BACKWARD = "backward"
4 | case CENTER = "center"
5 | case FORWARD = "forward"
6 |
7 | public func getJsBase() -> String {
8 | return "'\(self.rawValue)'"
9 | }
10 |
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_StockLabelsOverlapMode.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum StockLabelsOverlapMode: String {
3 | case ALLOW_MAJOR_OVERLAP = "allow-major-overlap"
4 | case ALLOW_MINOR_OVERLAP = "allow-minor-overlap"
5 | case ALLOW_OVERLAP = "allow-overlap"
6 | case NO_OVERLAP = "no-overlap"
7 |
8 | public func getJsBase() -> String {
9 | return "'\(self.rawValue)'"
10 | }
11 |
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_StockRangeAnchor.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum StockRangeAnchor: String {
3 | case FIRST_DATE = "first-date"
4 | case FIRST_VISIBLE_DATE = "first-visible-date"
5 | case LAST_DATE = "last-date"
6 | case LAST_VISIBLE_DATE = "last-visible-date"
7 |
8 | public func getJsBase() -> String {
9 | return "'\(self.rawValue)'"
10 | }
11 |
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_StockRangeType.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum StockRangeType: String {
3 | case MAX = "max"
4 | case MTD = "mtd"
5 | case POINTS = "points"
6 | case QTD = "qtd"
7 | case RANGE = "range"
8 | case UNIT = "unit"
9 | case YTD = "ytd"
10 |
11 | public func getJsBase() -> String {
12 | return "'\(self.rawValue)'"
13 | }
14 |
15 | }
16 |
17 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_StockSeriesType.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum StockSeriesType: String {
3 | case AREA = "area"
4 | case CANDLESTICK = "candlestick"
5 | case COLUMN = "column"
6 | case JUMP_LINE = "jump-line"
7 | case LINE = "line"
8 | case MARKER = "marker"
9 | case OHLC = "ohlc"
10 | case RANGE_AREA = "range-area"
11 | case RANGE_COLUMN = "range-column"
12 | case RANGE_SPLINE_AREA = "range-spline-area"
13 | case RANGE_STEP_AREA = "range-step-area"
14 | case SPLINE = "spline"
15 | case SPLINE_AREA = "spline-area"
16 | case STEP_AREA = "step-area"
17 | case STEP_LINE = "step-line"
18 | case STICK = "stick"
19 |
20 | public func getJsBase() -> String {
21 | return "'\(self.rawValue)'"
22 | }
23 |
24 | }
25 |
26 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_SunburstCalculationMode.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum SunburstCalculationMode: String {
3 | case ORDINAL_FROM_LEAVES = "ordinal-from-leaves"
4 | case ORDINAL_FROM_ROOT = "ordinal-from-root"
5 | case PARENT_DEPENDENT = "parent-dependent"
6 | case PARENT_INDEPENDENT = "parent-independent"
7 |
8 | public func getJsBase() -> String {
9 | return "'\(self.rawValue)'"
10 | }
11 |
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_TableSearchMode.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum TableSearchMode: String {
3 | case EXACT = "exact"
4 | case EXACT_OR_NEXT = "exact-or-next"
5 | case EXACT_OR_PREV = "exact-or-prev"
6 | case NEAREST = "nearest"
7 |
8 | public func getJsBase() -> String {
9 | return "'\(self.rawValue)'"
10 | }
11 |
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_TagCloudMode.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum TagCloudMode: String {
3 | case RECT = "rect"
4 | case SPIRAL = "spiral"
5 |
6 | public func getJsBase() -> String {
7 | return "'\(self.rawValue)'"
8 | }
9 |
10 | }
11 |
12 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_TextParsingMode.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum TextParsingMode: String {
3 | case BY_CHAR = "by-char"
4 | case BY_WORD = "by-word"
5 | case CSV = "csv"
6 |
7 | public func getJsBase() -> String {
8 | return "'\(self.rawValue)'"
9 | }
10 |
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_TimeTrackingMode.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum TimeTrackingMode: String {
3 | case ACTIVITY_PER_CHART = "activity-per-chart"
4 | case ACTIVITY_PER_RESOURCE = "activity-per-resource"
5 | case AVAILABILITY_PER_CHART = "availability-per-chart"
6 | case AVAILABILITY_PER_RESOURCE = "availability-per-resource"
7 |
8 | public func getJsBase() -> String {
9 | return "'\(self.rawValue)'"
10 | }
11 |
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_TokenType.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum TokenType: String {
3 | case DATE_TIME = "date-time"
4 | case NUMBER = "number"
5 | case PERCENT = "percent"
6 | case STRING = "string"
7 | case UNKNOWN = ""
8 |
9 | public func getJsBase() -> String {
10 | return "'\(self.rawValue)'"
11 | }
12 |
13 | }
14 |
15 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_TooltipDisplayMode.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum TooltipDisplayMode: String {
3 | case SEPARATED = "separated"
4 | case SINGLE = "single"
5 | case UNION = "union"
6 |
7 | public func getJsBase() -> String {
8 | return "'\(self.rawValue)'"
9 | }
10 |
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_TooltipPositionMode.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum TooltipPositionMode: String {
3 | case CHART = "chart"
4 | case FLOAT = "float"
5 | case POINT = "point"
6 |
7 | public func getJsBase() -> String {
8 | return "'\(self.rawValue)'"
9 | }
10 |
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_TreeFillingMethod.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum TreeFillingMethod: String {
3 | case AS_TABLE = "as-table"
4 | case AS_TREE = "as-tree"
5 |
6 | public func getJsBase() -> String {
7 | return "'\(self.rawValue)'"
8 | }
9 |
10 | }
11 |
12 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_VAlign.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum VAlign: String {
3 | case BOTTOM = "bottom"
4 | case MIDDLE = "middle"
5 | case TOP = "top"
6 |
7 | public func getJsBase() -> String {
8 | return "'\(self.rawValue)'"
9 | }
10 |
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_WaterfallDataMode.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum WaterfallDataMode: String {
3 | case ABSOLUTE = "absolute"
4 | case DIFF = "diff"
5 |
6 | public func getJsBase() -> String {
7 | return "'\(self.rawValue)'"
8 | }
9 |
10 | }
11 |
12 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_WordBreak.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum WordBreak: String {
3 | case BREAK_ALL = "break-all"
4 | case KEEP_ALL = "keep-all"
5 | case NORMAL = "normal"
6 |
7 | public func getJsBase() -> String {
8 | return "'\(self.rawValue)'"
9 | }
10 |
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/enums/anychart_enums_WordWrap.swift:
--------------------------------------------------------------------------------
1 | extension anychart.enums {
2 | public enum WordWrap: String {
3 | case BREAK_WORD = "break-word"
4 | case NORMAL = "normal"
5 |
6 | public func getJsBase() -> String {
7 | return "'\(self.rawValue)'"
8 | }
9 |
10 | }
11 |
12 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/format/anychart_format_Context.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.format {
7 | public class Context: JsObject {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return Context(jsBase: "new anychart.format.Context()")
16 | //super.init(jsBase: "new anychart.format.Context()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "context\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | public func instantiate() -> anychart.format.Context {
30 | return anychart.format.Context(jsBase: "new anychart.format.context()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Gets data value by the single parameter.
40 | */
41 | public func getData(fieldPath: String) {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: "\(self.jsBase).getData(\(JsObject.wrapQuotes(value: fieldPath)));")
43 | }
44 | /**
45 | * Gets meta value.
46 | */
47 | public func getMeta(name: String) {
48 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: "\(self.jsBase).getMeta(\(JsObject.wrapQuotes(value: name)));")
49 | }
50 | /**
51 | * Gets statistics value by key.
52 | */
53 | public func getStat(key: String) {
54 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: "\(self.jsBase).getStat(\(JsObject.wrapQuotes(value: key)));")
55 | }
56 |
57 | }
58 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/format/anychart_format_NumberLocale.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.format {
3 | public class NumberLocale: JsObject {
4 |
5 |
6 | public init(decimalPoint: String, decimalsCount: Double, groupsSeparator: String, scale: String, scaleSuffixSeparator: String, useBracketsForNegative: Bool, zeroFillDecimals: Bool) {
7 | super.init()
8 |
9 | js.append("\(JsObject.wrapQuotes(value: decimalPoint)), \(decimalsCount), \(JsObject.wrapQuotes(value: groupsSeparator)), \(JsObject.wrapQuotes(value: scale)), \(JsObject.wrapQuotes(value: scaleSuffixSeparator)), \(useBracketsForNegative), \(zeroFillDecimals)")
10 | }
11 | public init(decimalPoint: String, decimalsCount: Double, groupsSeparator: String, scale: Bool, scaleSuffixSeparator: String, useBracketsForNegative: Bool, zeroFillDecimals: Bool) {
12 | super.init()
13 |
14 | js.append("\(JsObject.wrapQuotes(value: decimalPoint)), \(decimalsCount), \(JsObject.wrapQuotes(value: groupsSeparator)), \(scale), \(JsObject.wrapQuotes(value: scaleSuffixSeparator)), \(useBracketsForNegative), \(zeroFillDecimals)")
15 | }
16 |
17 | }
18 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/anychart_graphics_StageType.swift:
--------------------------------------------------------------------------------
1 | extension anychart.graphics {
2 | public enum StageType: String {
3 | case SVG = "svg"
4 | case VML = "vml"
5 |
6 | public func getJsBase() -> String {
7 | return "'\(self.rawValue)'"
8 | }
9 |
10 | }
11 |
12 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/events/anychart_graphics_events_EventType.swift:
--------------------------------------------------------------------------------
1 | extension anychart.graphics.events {
2 | public enum EventType: String {
3 | case CLICK = "click"
4 | case CONTEXTMENU = "contextmenu"
5 | case DBLCLICK = "dblclick"
6 | case DRAG = "drag"
7 | case DRAG_BEFORE = "beforedrag"
8 | case DRAG_EARLY_CANCEL = "earlycancel"
9 | case DRAG_END = "end"
10 | case DRAG_START = "start"
11 | case MOUSEDOWN = "mousedown"
12 | case MOUSEMOVE = "mousemove"
13 | case MOUSEOUT = "mouseout"
14 | case MOUSEOVER = "mouseover"
15 | case MOUSEUP = "mouseup"
16 | case TAP = "tap"
17 | case TOUCHCANCEL = "touchcancel"
18 | case TOUCHEND = "touchend"
19 | case TOUCHMOVE = "touchmove"
20 | case TOUCHSTART = "touchstart"
21 |
22 | public func getJsBase() -> String {
23 | return "'\(self.rawValue)'"
24 | }
25 |
26 | }
27 |
28 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/math/anychart_graphics_math_Coordinate.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.graphics.math {
7 | public class Coordinate: JsObject {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return Coordinate(jsBase: "new anychart.graphics.math.Coordinate()")
16 | //super.init(jsBase: "new anychart.graphics.math.Coordinate()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "coordinate\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | public func instantiate() -> anychart.graphics.math.Coordinate {
30 | return anychart.graphics.math.Coordinate(jsBase: "new anychart.graphics.math.coordinate()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Getter for the X-coordinate.
40 | */
41 | public func getX() {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".getX();")
43 | }
44 | /**
45 | * Getter for the Y-coordinate.
46 | */
47 | public func getY() {
48 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".getY();")
49 | }
50 |
51 | }
52 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/anychart_graphics_vector_Anchor.swift:
--------------------------------------------------------------------------------
1 | extension anychart.graphics.vector {
2 | public enum Anchor: String {
3 | case AUTO = "auto"
4 | case CENTER = "center"
5 | case CENTER_BOTTOM = "center-bottom"
6 | case CENTER_TOP = "center-top"
7 | case LEFT_BOTTOM = "left-bottom"
8 | case LEFT_CENTER = "left-center"
9 | case LEFT_TOP = "left-top"
10 | case RIGHT_BOTTOM = "right-bottom"
11 | case RIGHT_CENTER = "right-center"
12 | case RIGHT_TOP = "right-top"
13 |
14 | public func getJsBase() -> String {
15 | return "'\(self.rawValue)'"
16 | }
17 |
18 | }
19 |
20 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/anychart_graphics_vector_AnyColor.swift:
--------------------------------------------------------------------------------
1 | //extension anychart.graphics.vector {
2 | public protocol AnyColor {
3 |
4 | func getJsBase() -> String
5 |
6 | }
7 | //}
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/anychart_graphics_vector_Circle.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.graphics.vector {
7 | public class Circle: anychart.graphics.vector.Ellipse {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return Circle(jsBase: "new anychart.graphics.vector.Circle()")
16 | //super.init(jsBase: "new anychart.graphics.vector.Circle()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "circle\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.graphics.vector.Circle {
30 | return anychart.graphics.vector.Circle(jsBase: "new anychart.graphics.vector.circle()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Getter for the current circle radius.
40 | */
41 | public func radius() {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".radius();")
43 | }
44 | /**
45 | * Setter for the circle radius.
46 | */
47 | public func radius(radius: Double) -> anychart.graphics.vector.Circle {
48 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: "\(self.jsBase).radius(\(radius));")
49 |
50 | return self
51 | }
52 |
53 | }
54 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/anychart_graphics_vector_ColoredFill.swift:
--------------------------------------------------------------------------------
1 | //extension anychart.graphics.vector {
2 | public protocol ColoredFill {
3 |
4 | func getJsBase() -> String
5 |
6 | }
7 | //}
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/anychart_graphics_vector_Cursor.swift:
--------------------------------------------------------------------------------
1 | extension anychart.graphics.vector {
2 | public enum Cursor: String {
3 | case CROSSHAIR = "crosshair"
4 | case DEFAULT = "default"
5 | case EW_RESIZE = "ew-resize"
6 | case E_RESIZE = "e-resize"
7 | case HELP = "help"
8 | case MOVE = "move"
9 | case NESW_RESIZE = "nesw-resize"
10 | case NE_RESIZE = "ne-resize"
11 | case NS_RESIZE = "ns-resize"
12 | case NWSE_RESIZE = "nwse-resize"
13 | case NW_RESIZE = "nw-resize"
14 | case N_RESIZE = "n-resize"
15 | case POINTER = "pointer"
16 | case SE_RESIZE = "se-resize"
17 | case SW_RESIZE = "sw-resize"
18 | case S_RESIZE = "s-resize"
19 | case TEXT = "text"
20 | case WAIT = "wait"
21 | case W_RESIZE = "w-resize"
22 |
23 | public func getJsBase() -> String {
24 | return "'\(self.rawValue)'"
25 | }
26 |
27 | }
28 |
29 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/anychart_graphics_vector_Fill.swift:
--------------------------------------------------------------------------------
1 | //extension anychart.graphics.vector {
2 | public protocol Fill {
3 |
4 | func getJsBase() -> String
5 |
6 | }
7 | //}
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/anychart_graphics_vector_GradientKey.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.graphics.vector {
3 | public class GradientKey: JsObject {
4 |
5 |
6 | public init(color: String, offset: Double, opacity: Double) {
7 | super.init()
8 |
9 | js.append("\(JsObject.wrapQuotes(value: color)), \(offset), \(opacity)")
10 | }
11 |
12 | }
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/anychart_graphics_vector_HatchFill.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.graphics.vector {
7 | public class HatchFill: anychart.graphics.vector.PatternFill {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return HatchFill(jsBase: "new anychart.graphics.vector.HatchFill()")
16 | //super.init(jsBase: "new anychart.graphics.vector.HatchFill()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "hatchFill\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.graphics.vector.HatchFill {
30 | return anychart.graphics.vector.HatchFill(jsBase: "new anychart.graphics.vector.hatchfill()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 |
39 | }
40 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/anychart_graphics_vector_ImageFill.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.graphics.vector {
3 | public class ImageFill: JsObject, Fill {
4 |
5 |
6 | public init(mode: anychart.graphics.vector.ImageFillMode, opacity: Double, src: String) {
7 | super.init()
8 |
9 | js.append("\((mode != nil) ? mode.getJsBase() : "null"), \(opacity), \(JsObject.wrapQuotes(value: src))")
10 | }
11 | public init(mode: String, opacity: Double, src: String) {
12 | super.init()
13 |
14 | js.append("\(JsObject.wrapQuotes(value: mode)), \(opacity), \(JsObject.wrapQuotes(value: src))")
15 | }
16 |
17 | }
18 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/anychart_graphics_vector_ImageFillMode.swift:
--------------------------------------------------------------------------------
1 | extension anychart.graphics.vector {
2 | public enum ImageFillMode: String {
3 | case FIT = "fit"
4 | case FIT_MAX = "fit-max"
5 | case STRETCH = "stretch"
6 | case TILE = "tile"
7 |
8 | public func getJsBase() -> String {
9 | return "'\(self.rawValue)'"
10 | }
11 |
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/anychart_graphics_vector_LinearGradient.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.graphics.vector {
7 | public class LinearGradient: JsObject {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return LinearGradient(jsBase: "new anychart.graphics.vector.LinearGradient()")
16 | //super.init(jsBase: "new anychart.graphics.vector.LinearGradient()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "linearGradient\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | public func instantiate() -> anychart.graphics.vector.LinearGradient {
30 | return anychart.graphics.vector.LinearGradient(jsBase: "new anychart.graphics.vector.lineargradient()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Disposes gradient completely, removes from parent layer, null internal links, removes from DOM structure.
40 | */
41 | public func dispose() {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".dispose();")
43 | }
44 |
45 | }
46 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/anychart_graphics_vector_LinearGradientFill.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.graphics.vector {
3 | public class LinearGradientFill: JsObject, ColoredFill, Fill {
4 |
5 |
6 | public init(angle: Double, keys: [GradientKey], mode: Bool, opacity: Double) {
7 | super.init()
8 |
9 | js.append("\(angle), \(JsObject.arrayToString(jsObjects: keys)), \(mode), \(opacity)")
10 | }
11 | public init(angle: Double, keys: [GradientKey], mode: anychart.graphics.vector.Rect, opacity: Double) {
12 | super.init()
13 |
14 | js.append("\(angle), \(JsObject.arrayToString(jsObjects: keys)), \((mode != nil) ? mode.getJsBase() : "null"), \(opacity)")
15 | }
16 | public init(angle: Double, keys: String, mode: Bool, opacity: Double) {
17 | super.init()
18 |
19 | js.append("\(angle), \(JsObject.wrapQuotes(value: keys)), \(mode), \(opacity)")
20 | }
21 | public init(angle: Double, keys: String, mode: anychart.graphics.vector.Rect, opacity: Double) {
22 | super.init()
23 |
24 | js.append("\(angle), \(JsObject.wrapQuotes(value: keys)), \((mode != nil) ? mode.getJsBase() : "null"), \(opacity)")
25 | }
26 |
27 | }
28 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/anychart_graphics_vector_PaperSize.swift:
--------------------------------------------------------------------------------
1 | extension anychart.graphics.vector {
2 | public enum PaperSize: String {
3 | case A0 = "a0"
4 | case A1 = "a1"
5 | case A2 = "a2"
6 | case A3 = "a3"
7 | case A4 = "a4"
8 | case A5 = "a5"
9 | case A6 = "a6"
10 | case US_LETTER = "us-letter"
11 |
12 | public func getJsBase() -> String {
13 | return "'\(self.rawValue)'"
14 | }
15 |
16 | }
17 |
18 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/anychart_graphics_vector_PatternFill.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.graphics.vector {
7 | public class PatternFill: anychart.graphics.vector.Layer {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return PatternFill(jsBase: "new anychart.graphics.vector.PatternFill()")
16 | //super.init(jsBase: "new anychart.graphics.vector.PatternFill()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "patternFill\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.graphics.vector.PatternFill {
30 | return anychart.graphics.vector.PatternFill(jsBase: "new anychart.graphics.vector.patternfill()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 |
39 | }
40 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/anychart_graphics_vector_RadialGradient.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.graphics.vector {
7 | public class RadialGradient: JsObject {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return RadialGradient(jsBase: "new anychart.graphics.vector.RadialGradient()")
16 | //super.init(jsBase: "new anychart.graphics.vector.RadialGradient()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "radialGradient\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | public func instantiate() -> anychart.graphics.vector.RadialGradient {
30 | return anychart.graphics.vector.RadialGradient(jsBase: "new anychart.graphics.vector.radialgradient()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Disposes gradient completely, removes from parent layer, null internal links, removes from DOM structure.
40 | */
41 | public func dispose() {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".dispose();")
43 | }
44 |
45 | }
46 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/anychart_graphics_vector_RadialGradientFill.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.graphics.vector {
3 | public class RadialGradientFill: JsObject, ColoredFill, Fill {
4 |
5 |
6 | public init(cx: Double, cy: Double, fx: Double, fy: Double, keys: [GradientKey], mode: anychart.graphics.math.Rect, opacity: Double) {
7 | super.init()
8 |
9 | js.append("\(cx), \(cy), \(fx), \(fy), \(JsObject.arrayToString(jsObjects: keys)), \((mode != nil) ? mode.getJsBase() : "null"), \(opacity)")
10 | }
11 | public init(cx: Double, cy: Double, fx: Double, fy: Double, keys: String, mode: anychart.graphics.math.Rect, opacity: Double) {
12 | super.init()
13 |
14 | js.append("\(cx), \(cy), \(fx), \(fy), \(JsObject.wrapQuotes(value: keys)), \((mode != nil) ? mode.getJsBase() : "null"), \(opacity)")
15 | }
16 |
17 | }
18 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/anychart_graphics_vector_RadialGradientStroke.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.graphics.vector {
3 | public class RadialGradientStroke: JsObject, Stroke {
4 |
5 |
6 | public init(cx: Double, cy: Double, dash: String, fx: Double, fy: Double, keys: [GradientKey], lineCap: String, lineJoin: String, mode: anychart.graphics.math.Rect, opacity: Double, thickness: Double) {
7 | super.init()
8 |
9 | js.append("\(cx), \(cy), \(JsObject.wrapQuotes(value: dash)), \(fx), \(fy), \(JsObject.arrayToString(jsObjects: keys)), \(JsObject.wrapQuotes(value: lineCap)), \(JsObject.wrapQuotes(value: lineJoin)), \((mode != nil) ? mode.getJsBase() : "null"), \(opacity), \(thickness)")
10 | }
11 | public init(cx: Double, cy: Double, dash: String, fx: Double, fy: Double, keys: String, lineCap: String, lineJoin: String, mode: anychart.graphics.math.Rect, opacity: Double, thickness: Double) {
12 | super.init()
13 |
14 | js.append("\(cx), \(cy), \(JsObject.wrapQuotes(value: dash)), \(fx), \(fy), \(JsObject.wrapQuotes(value: keys)), \(JsObject.wrapQuotes(value: lineCap)), \(JsObject.wrapQuotes(value: lineJoin)), \((mode != nil) ? mode.getJsBase() : "null"), \(opacity), \(thickness)")
15 | }
16 |
17 | }
18 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/anychart_graphics_vector_SolidFill.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.graphics.vector {
3 | public class SolidFill: JsObject, ColoredFill, Fill {
4 |
5 |
6 | public init(color: String, opacity: Double) {
7 | super.init()
8 |
9 | js.append("\(JsObject.wrapQuotes(value: color)), \(opacity)")
10 | }
11 |
12 | }
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/anychart_graphics_vector_SolidStroke.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.graphics.vector {
3 | public class SolidStroke: JsObject, Stroke {
4 |
5 |
6 | public init(color: String, dash: String, lineCap: String, lineJoin: String, opacity: Double, thickness: Double) {
7 | super.init()
8 |
9 | js.append("\(JsObject.wrapQuotes(value: color)), \(JsObject.wrapQuotes(value: dash)), \(JsObject.wrapQuotes(value: lineCap)), \(JsObject.wrapQuotes(value: lineJoin)), \(opacity), \(thickness)")
10 | }
11 |
12 | }
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/anychart_graphics_vector_Stroke.swift:
--------------------------------------------------------------------------------
1 | //extension anychart.graphics.vector {
2 | public protocol Stroke {
3 |
4 | func getJsBase() -> String
5 |
6 | }
7 | //}
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/anychart_graphics_vector_StrokeLineCap.swift:
--------------------------------------------------------------------------------
1 | extension anychart.graphics.vector {
2 | public enum StrokeLineCap: String {
3 | case BUTT = "butt"
4 | case ROUND = "round"
5 | case SQUARE = "square"
6 |
7 | public func getJsBase() -> String {
8 | return "'\(self.rawValue)'"
9 | }
10 |
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/anychart_graphics_vector_StrokeLineJoin.swift:
--------------------------------------------------------------------------------
1 | extension anychart.graphics.vector {
2 | public enum StrokeLineJoin: String {
3 | case BEVEL = "bevel"
4 | case MITER = "miter"
5 | case ROUND = "round"
6 |
7 | public func getJsBase() -> String {
8 | return "'\(self.rawValue)'"
9 | }
10 |
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/anychart_graphics_vector_UnmanagedLayer.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.graphics.vector {
7 | public class UnmanagedLayer: anychart.graphics.vector.Element {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return UnmanagedLayer(jsBase: "new anychart.graphics.vector.UnmanagedLayer()")
16 | //super.init(jsBase: "new anychart.graphics.vector.UnmanagedLayer()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "unmanagedLayer\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.graphics.vector.UnmanagedLayer {
30 | return anychart.graphics.vector.UnmanagedLayer(jsBase: "new anychart.graphics.vector.unmanagedlayer()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Getter for the inner content.
40 | */
41 | public func content() {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".content();")
43 | }
44 | /**
45 | * Setter for the inner content.
46 | */
47 | public func content(value: String) -> anychart.graphics.vector.UnmanagedLayer {
48 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: "\(self.jsBase).content(\(JsObject.wrapQuotes(value: value)));")
49 |
50 | return self
51 | }
52 |
53 | }
54 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/hatchfill/anychart_graphics_vector_hatchfill_HatchFillType.swift:
--------------------------------------------------------------------------------
1 | extension anychart.graphics.vector.hatchfill {
2 | public enum HatchFillType: String {
3 | case BACKWARD_DIAGONAL = "backward-diagonal"
4 | case CHECKER_BOARD = "checker-board"
5 | case CONFETTI = "confetti"
6 | case DASHED_BACKWARD_DIAGONAL = "dashed-backward-diagonal"
7 | case DASHED_FORWARD_DIAGONAL = "dashed-forward-diagonal"
8 | case DASHED_HORIZONTAL = "dashed-horizontal"
9 | case DASHED_VERTICAL = "dashed-vertical"
10 | case DIAGONAL_BRICK = "diagonal-brick"
11 | case DIAGONAL_CROSS = "diagonal-cross"
12 | case DIVOT = "divot"
13 | case FORWARD_DIAGONAL = "forward-diagonal"
14 | case GRID = "grid"
15 | case HORIZONTAL = "horizontal"
16 | case HORIZONTAL_BRICK = "horizontal-brick"
17 | case PERCENT_05 = "percent05"
18 | case PERCENT_10 = "percent10"
19 | case PERCENT_20 = "percent20"
20 | case PERCENT_25 = "percent25"
21 | case PERCENT_30 = "percent30"
22 | case PERCENT_40 = "percent40"
23 | case PERCENT_50 = "percent50"
24 | case PERCENT_60 = "percent60"
25 | case PERCENT_70 = "percent70"
26 | case PERCENT_75 = "percent75"
27 | case PERCENT_80 = "percent80"
28 | case PERCENT_90 = "percent90"
29 | case PLAID = "plaid"
30 | case SOLID_DIAMOND = "solid-diamond"
31 | case VERTICAL = "vertical"
32 | case VERTICAL_BRICK = "vertical-brick"
33 | case WEAVE = "weave"
34 | case ZIG_ZAG = "zig-zag"
35 |
36 | public func getJsBase() -> String {
37 | return "'\(self.rawValue)'"
38 | }
39 |
40 | }
41 |
42 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/image/anychart_graphics_vector_image_Align.swift:
--------------------------------------------------------------------------------
1 | extension anychart.graphics.vector.image {
2 | public enum Align: String {
3 | case NONE = "none"
4 | case X_MAX_Y_MAX = "x-max-y-max"
5 | case X_MAX_Y_MID = "x-max-y-mid"
6 | case X_MAX_Y_MIN = "x-max-y-min"
7 | case X_MID_Y_MAX = "x-mid-y-max"
8 | case X_MID_Y_MID = "x-mid-y-mid"
9 | case X_MID_Y_MIN = "x-mid-y-min"
10 | case X_MIN_Y_MAX = "x-min-y-max"
11 | case X_MIN_Y_MID = "x-min-y-mid"
12 | case X_MIN_Y_MIN = "x-min-y-min"
13 |
14 | public func getJsBase() -> String {
15 | return "'\(self.rawValue)'"
16 | }
17 |
18 | }
19 |
20 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/image/anychart_graphics_vector_image_Fitting.swift:
--------------------------------------------------------------------------------
1 | extension anychart.graphics.vector.image {
2 | public enum Fitting: String {
3 | case MEET = "meet"
4 | case SLICE = "slice"
5 |
6 | public func getJsBase() -> String {
7 | return "'\(self.rawValue)'"
8 | }
9 |
10 | }
11 |
12 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/stage/anychart_graphics_vector_stage_EventType.swift:
--------------------------------------------------------------------------------
1 | extension anychart.graphics.vector.stage {
2 | public enum EventType: String {
3 | case RENDER_FINISH = "renderfinish"
4 | case RENDER_START = "renderstart"
5 | case STAGE_RENDERED = "stagerendered"
6 | case STAGE_RESIZE = "stageresize"
7 |
8 | public func getJsBase() -> String {
9 | return "'\(self.rawValue)'"
10 | }
11 |
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/text/anychart_graphics_vector_text_Decoration.swift:
--------------------------------------------------------------------------------
1 | extension anychart.graphics.vector.text {
2 | public enum Decoration: String {
3 | case BLINK = "blink"
4 | case LINE_THROUGH = "line-through"
5 | case NONE = "none"
6 | case OVERLINE = "overline"
7 | case UNDERLINE = "underline"
8 |
9 | public func getJsBase() -> String {
10 | return "'\(self.rawValue)'"
11 | }
12 |
13 | }
14 |
15 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/text/anychart_graphics_vector_text_Direction.swift:
--------------------------------------------------------------------------------
1 | extension anychart.graphics.vector.text {
2 | public enum Direction: String {
3 | case LTR = "ltr"
4 | case RTL = "rtl"
5 |
6 | public func getJsBase() -> String {
7 | return "'\(self.rawValue)'"
8 | }
9 |
10 | }
11 |
12 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/text/anychart_graphics_vector_text_FontStyle.swift:
--------------------------------------------------------------------------------
1 | extension anychart.graphics.vector.text {
2 | public enum FontStyle: String {
3 | case ITALIC = "italic"
4 | case NORMAL = "normal"
5 | case OBLIQUE = "oblique"
6 |
7 | public func getJsBase() -> String {
8 | return "'\(self.rawValue)'"
9 | }
10 |
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/text/anychart_graphics_vector_text_FontVariant.swift:
--------------------------------------------------------------------------------
1 | extension anychart.graphics.vector.text {
2 | public enum FontVariant: String {
3 | case NORMAL = "normal"
4 | case SMALL_CAP = "small-caps"
5 |
6 | public func getJsBase() -> String {
7 | return "'\(self.rawValue)'"
8 | }
9 |
10 | }
11 |
12 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/text/anychart_graphics_vector_text_HAlign.swift:
--------------------------------------------------------------------------------
1 | extension anychart.graphics.vector.text {
2 | public enum HAlign: String {
3 | case CENTER = "center"
4 | case END = "end"
5 | case LEFT = "left"
6 | case RIGHT = "right"
7 | case START = "start"
8 |
9 | public func getJsBase() -> String {
10 | return "'\(self.rawValue)'"
11 | }
12 |
13 | }
14 |
15 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/text/anychart_graphics_vector_text_TextOverflow.swift:
--------------------------------------------------------------------------------
1 | extension anychart.graphics.vector.text {
2 | public enum TextOverflow: String {
3 | case CLIP = ""
4 | case ELLIPSIS = "..."
5 |
6 | public func getJsBase() -> String {
7 | return "'\(self.rawValue)'"
8 | }
9 |
10 | }
11 |
12 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/text/anychart_graphics_vector_text_VAlign.swift:
--------------------------------------------------------------------------------
1 | extension anychart.graphics.vector.text {
2 | public enum VAlign: String {
3 | case BOTTOM = "bottom"
4 | case MIDDLE = "middle"
5 | case TOP = "top"
6 |
7 | public func getJsBase() -> String {
8 | return "'\(self.rawValue)'"
9 | }
10 |
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/text/anychart_graphics_vector_text_WordBreak.swift:
--------------------------------------------------------------------------------
1 | extension anychart.graphics.vector.text {
2 | public enum WordBreak: String {
3 | case BREAK_ALL = "break-all"
4 | case KEEP_ALL = "keep-all"
5 | case NORMAL = "normal"
6 |
7 | public func getJsBase() -> String {
8 | return "'\(self.rawValue)'"
9 | }
10 |
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/text/anychart_graphics_vector_text_WordWrap.swift:
--------------------------------------------------------------------------------
1 | extension anychart.graphics.vector.text {
2 | public enum WordWrap: String {
3 | case BREAK_WORD = "break-word"
4 | case NORMAL = "normal"
5 |
6 | public func getJsBase() -> String {
7 | return "'\(self.rawValue)'"
8 | }
9 |
10 | }
11 |
12 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/graphics/vector/vml/anychart_graphics_vector_vml_Text.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.graphics.vector.vml {
7 | public class Text: anychart.graphics.vector.Text {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return Text(jsBase: "new anychart.graphics.vector.vml.Text()")
16 | //super.init(jsBase: "new anychart.graphics.vector.vml.Text()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "text\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.graphics.vector.vml.Text {
30 | return anychart.graphics.vector.vml.Text(jsBase: "new anychart.graphics.vector.vml.text()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 |
39 | }
40 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/adl/anychart_math_adl_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.adl {
3 | public class Context: JsObject {
4 |
5 |
6 | public init(closeQueue: anychart.math.CycledQueue, dispose: Double, highQueue: anychart.math.CycledQueue, lowQueue: anychart.math.CycledQueue, period: Double, prevResult: Double, volumeQueue: anychart.math.CycledQueue) {
7 | super.init()
8 |
9 | js.append("\((closeQueue != nil) ? closeQueue.getJsBase() : "null"), \(dispose), \((highQueue != nil) ? highQueue.getJsBase() : "null"), \((lowQueue != nil) ? lowQueue.getJsBase() : "null"), \(period), \(prevResult), \((volumeQueue != nil) ? volumeQueue.getJsBase() : "null")")
10 | }
11 |
12 | }
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/ama/anychart_math_ama_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.ama {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/anychart_math_CoordinateObject.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math {
3 | public class CoordinateObject: JsObject {
4 |
5 |
6 | public init(x: String, y: String) {
7 | super.init()
8 |
9 | js.append("\(JsObject.wrapQuotes(value: x)), \(JsObject.wrapQuotes(value: y))")
10 | }
11 | public init(x: String, y: Double) {
12 | super.init()
13 |
14 | js.append("\(JsObject.wrapQuotes(value: x)), \(y)")
15 | }
16 | public init(x: Double, y: String) {
17 | super.init()
18 |
19 | js.append("\(x), \(JsObject.wrapQuotes(value: y))")
20 | }
21 | public init(x: Double, y: Double) {
22 | super.init()
23 |
24 | js.append("\(x), \(y)")
25 | }
26 |
27 | }
28 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/anychart_math_Rect.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.math {
7 | public class Rect: JsObject {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return Rect(jsBase: "new anychart.math.Rect()")
16 | //super.init(jsBase: "new anychart.math.Rect()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "rect\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | public func instantiate() -> anychart.math.Rect {
30 | return anychart.math.Rect(jsBase: "new anychart.math.rect()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 |
39 | }
40 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/ao/anychart_math_ao_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.ao {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/aroon/anychart_math_aroon_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.aroon {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/atr/anychart_math_atr_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.atr {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/bbands/anychart_math_bbands_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.bbands {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/bbandsb/anychart_math_bbandsb_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.bbandsb {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/bbandswidth/anychart_math_bbandswidth_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.bbandswidth {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/cci/anychart_math_cci_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.cci {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/cho/anychart_math_cho_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.cho {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/cmf/anychart_math_cmf_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.cmf {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/dmi/anychart_math_dmi_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.dmi {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/ema/anychart_math_ema_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.ema {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/ha/anychart_math_ha_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.ha {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/kdj/anychart_math_kdj_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.kdj {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/keltnerchannels/anychart_math_keltnerchannels_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.keltnerchannels {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/macd/anychart_math_macd_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.macd {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/mfi/anychart_math_mfi_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.mfi {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/mma/anychart_math_mma_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.mma {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/momentum/anychart_math_momentum_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.momentum {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/obv/anychart_math_obv_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.obv {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/pricechannels/anychart_math_pricechannels_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.pricechannels {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/psar/anychart_math_psar_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.psar {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/roc/anychart_math_roc_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.roc {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/rsi/anychart_math_rsi_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.rsi {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/sma/anychart_math_sma_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.sma {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/stochastic/anychart_math_stochastic_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.stochastic {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/trix/anychart_math_trix_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.trix {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/volumema/anychart_math_volumema_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.volumema {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/math/williamsr/anychart_math_williamsr_Context.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.math.williamsr {
3 | public class Context: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/scales/anychart_scales_Logarithmic.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.scales {
7 | public class Logarithmic: anychart.scales.Linear {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return Logarithmic(jsBase: "new anychart.scales.Logarithmic()")
16 | //super.init(jsBase: "new anychart.scales.Logarithmic()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "logarithmic\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.scales.Logarithmic {
30 | return anychart.scales.Logarithmic(jsBase: "new anychart.scales.logarithmic()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Getter for the logarithmic base value.
40 | */
41 | public func logBase() {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".logBase();")
43 | }
44 | /**
45 | * Setter for the logarithmic base value.
46 | Note: Affects tick values auto calculation.
47 | */
48 | public func logBase(baseValue: Double) -> anychart.scales.Logarithmic {
49 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: "\(self.jsBase).logBase(\(baseValue));")
50 |
51 | return self
52 | }
53 |
54 | }
55 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/scales/anychart_scales_StockOrdinalDateTime.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.scales {
7 | public class StockOrdinalDateTime: anychart.scales.StockScatterDateTime {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return StockOrdinalDateTime(jsBase: "new anychart.scales.StockOrdinalDateTime()")
16 | //super.init(jsBase: "new anychart.scales.StockOrdinalDateTime()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "stockOrdinalDateTime\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.scales.StockOrdinalDateTime {
30 | return anychart.scales.StockOrdinalDateTime(jsBase: "new anychart.scales.stockordinaldatetime()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 |
39 | }
40 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/scales/calendar/anychart_scales_calendar_ScheduleItem.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.scales.calendar {
3 | public class ScheduleItem: JsObject {
4 |
5 |
6 | public init(end: Double, start: Double, workingTime: [String]) {
7 | super.init()
8 |
9 | js.append("\(end), \(start), \(JsObject.arrayToStringWrapQuotes(array: workingTime))")
10 | }
11 |
12 | }
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/scales/datetimewithcalendar/anychart_scales_datetimewithcalendar_Tick.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.scales.datetimewithcalendar {
3 | public class Tick: JsObject {
4 |
5 |
6 | public init(end: Double, holiday: Bool, start: Double) {
7 | super.init()
8 |
9 | js.append("\(end), \(holiday), \(start)")
10 | }
11 |
12 | }
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/standalones/anychart_standalones_Background.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.standalones {
7 | public class Background: anychart.core.ui.Background {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return Background(jsBase: "new anychart.standalones.Background()")
16 | //super.init(jsBase: "new anychart.standalones.Background()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "background\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.standalones.Background {
30 | return anychart.standalones.Background(jsBase: "new anychart.standalones.background()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Draw background.
40 | */
41 | public func draw() -> anychart.standalones.Background {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".draw();")
43 |
44 | return self
45 | }
46 |
47 | }
48 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/standalones/anychart_standalones_ColorRange.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.standalones {
7 | public class ColorRange: anychart.core.ui.ColorRange {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return ColorRange(jsBase: "new anychart.standalones.ColorRange()")
16 | //super.init(jsBase: "new anychart.standalones.ColorRange()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "colorRange\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.standalones.ColorRange {
30 | return anychart.standalones.ColorRange(jsBase: "new anychart.standalones.colorrange()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Draw color range.
40 | */
41 | public func draw() -> anychart.standalones.ColorRange {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".draw();")
43 |
44 | return self
45 | }
46 |
47 | }
48 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/standalones/anychart_standalones_Label.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.standalones {
7 | public class Label: anychart.core.ui.Label {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return Label(jsBase: "new anychart.standalones.Label()")
16 | //super.init(jsBase: "new anychart.standalones.Label()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "label\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.standalones.Label {
30 | return anychart.standalones.Label(jsBase: "new anychart.standalones.label()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Draws label.
40 | */
41 | public func draw() -> anychart.standalones.Label {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".draw();")
43 |
44 | return self
45 | }
46 |
47 | }
48 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/standalones/anychart_standalones_ResourceList.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.standalones {
7 | public class ResourceList: anychart.core.resource.ResourceList {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return ResourceList(jsBase: "new anychart.standalones.ResourceList()")
16 | //super.init(jsBase: "new anychart.standalones.ResourceList()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "resourceList\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.standalones.ResourceList {
30 | return anychart.standalones.ResourceList(jsBase: "new anychart.standalones.resourcelist()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Draws resource list.
40 | */
41 | public func draw() -> anychart.standalones.ResourceList {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".draw();")
43 |
44 | return self
45 | }
46 |
47 | }
48 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/standalones/anychart_standalones_Table.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.standalones {
7 | public class Table: anychart.core.ui.Table {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return Table(jsBase: "new anychart.standalones.Table()")
16 | //super.init(jsBase: "new anychart.standalones.Table()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "table\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.standalones.Table {
30 | return anychart.standalones.Table(jsBase: "new anychart.standalones.table()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Saves table data as an Excel document.
40 | */
41 | public func saveAsXlsx(filename: String) {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: "\(self.jsBase).saveAsXlsx(\(JsObject.wrapQuotes(value: filename)));")
43 | }
44 |
45 | }
46 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/standalones/anychart_standalones_Title.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.standalones {
7 | public class Title: anychart.core.ui.Title {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return Title(jsBase: "new anychart.standalones.Title()")
16 | //super.init(jsBase: "new anychart.standalones.Title()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "title\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.standalones.Title {
30 | return anychart.standalones.Title(jsBase: "new anychart.standalones.title()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Draws title.
40 | */
41 | public func draw() -> anychart.standalones.Title {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".draw();")
43 |
44 | return self
45 | }
46 |
47 | }
48 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/standalones/axismarkers/anychart_standalones_axismarkers_Line.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.standalones.axismarkers {
7 | public class Line: anychart.core.axismarkers.Line {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return Line(jsBase: "new anychart.standalones.axisMarkers.Line()")
16 | //super.init(jsBase: "new anychart.standalones.axisMarkers.Line()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "line\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.standalones.axismarkers.Line {
30 | return anychart.standalones.axismarkers.Line(jsBase: "new anychart.standalones.axismarkers.line()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Drawing of the line marker.
40 | */
41 | public func draw() -> anychart.standalones.axismarkers.Line {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".draw();")
43 |
44 | return self
45 | }
46 |
47 | }
48 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/standalones/axismarkers/anychart_standalones_axismarkers_Range.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.standalones.axismarkers {
7 | public class Range: anychart.core.axismarkers.Range {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return Range(jsBase: "new anychart.standalones.axisMarkers.Range()")
16 | //super.init(jsBase: "new anychart.standalones.axisMarkers.Range()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "range\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.standalones.axismarkers.Range {
30 | return anychart.standalones.axismarkers.Range(jsBase: "new anychart.standalones.axismarkers.range()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Drawing of the range marker.
40 | */
41 | public func draw() -> anychart.standalones.axismarkers.Range {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".draw();")
43 |
44 | return self
45 | }
46 |
47 | }
48 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/standalones/axismarkers/anychart_standalones_axismarkers_Text.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.standalones.axismarkers {
7 | public class Text: anychart.core.axismarkers.Text {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return Text(jsBase: "new anychart.standalones.axisMarkers.Text()")
16 | //super.init(jsBase: "new anychart.standalones.axisMarkers.Text()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "text\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.standalones.axismarkers.Text {
30 | return anychart.standalones.axismarkers.Text(jsBase: "new anychart.standalones.axismarkers.text()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Drawing of the text marker.
40 | */
41 | public func draw() -> anychart.standalones.axismarkers.Text {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".draw();")
43 |
44 | return self
45 | }
46 |
47 | }
48 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/standalones/markersfactory/anychart_standalones_markersfactory_Marker.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.standalones.markersfactory {
7 | public class Marker: anychart.core.ui.markersfactory.Marker {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return Marker(jsBase: "new anychart.standalones.MarkersFactory.Marker()")
16 | //super.init(jsBase: "new anychart.standalones.MarkersFactory.Marker()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "marker\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | override public func instantiate() -> anychart.standalones.markersfactory.Marker {
30 | return anychart.standalones.markersfactory.Marker(jsBase: "new anychart.standalones.markersfactory.marker()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Resets marker to the initial state, but leaves DOM elements intact, but without the parent.
40 | */
41 | public func clear() {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".clear();")
43 | }
44 | /**
45 | * Marker drawing.
46 | */
47 | public func draw() -> anychart.standalones.markersfactory.Marker {
48 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".draw();")
49 |
50 | return self
51 | }
52 |
53 | }
54 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/ui/anychart_ui_Preloader.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.ui {
7 | public class Preloader: JsObject {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return Preloader(jsBase: "new anychart.ui.Preloader()")
16 | //super.init(jsBase: "new anychart.ui.Preloader()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "preloader\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | public func instantiate() -> anychart.ui.Preloader {
30 | return anychart.ui.Preloader(jsBase: "new anychart.ui.preloader()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Getter for the visibility of the preloader.
40 | */
41 | public func visible() {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".visible();")
43 | }
44 | /**
45 | * Setter for the visibility of the preloader.
46 | */
47 | public func visible(enabled: Bool) -> anychart.ui.Preloader {
48 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: "\(self.jsBase).visible(\(enabled));")
49 |
50 | return self
51 | }
52 |
53 | }
54 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/ui/anychart_ui_Zoom.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.ui {
7 | public class Zoom: JsObject {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return Zoom(jsBase: "new anychart.ui.Zoom()")
16 | //super.init(jsBase: "new anychart.ui.Zoom()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "zoom\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | public func instantiate() -> anychart.ui.Zoom {
30 | return anychart.ui.Zoom(jsBase: "new anychart.ui.zoom()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | * Disposes zoom controller.
40 | Removes it from parent layer, nulls links, removes from DOM.
41 | */
42 | public func dispose() {
43 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".dispose();")
44 | }
45 | /**
46 | * Renders the zoom controller.
47 | */
48 | public func render(parentElement: anychart.charts.Map) {
49 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: "\(self.jsBase).render(\((parentElement != nil) ? parentElement.getJsBase() : "null"));")
50 | }
51 | /**
52 | * Set Map chart for zoom controller.
53 | */
54 | public func target(chart: anychart.charts.Map) {
55 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: "\(self.jsBase).target(\((chart != nil) ? chart.getJsBase() : "null"));")
56 | }
57 |
58 | }
59 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/ui/contextmenu/anychart_ui_contextmenu_ActionContext.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.ui.contextmenu {
3 | public class ActionContext: JsObject {
4 |
5 |
6 | public init(chart: anychart.core.Chart, event: String, item: anychart.ui.contextmenu.Item, selectedPoints: [anychart.core.Point], target: anychart.core.VisualBase, type: String) {
7 | super.init()
8 |
9 | js.append("\((chart != nil) ? chart.getJsBase() : "null"), \(JsObject.wrapQuotes(value: event)), \((item != nil) ? item.getJsBase() : "null"), \(JsObject.arrayToString(jsObjects: selectedPoints)), \((target != nil) ? target.getJsBase() : "null"), \(JsObject.wrapQuotes(value: type))")
10 | }
11 |
12 | }
13 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/ui/contextmenu/anychart_ui_contextmenu_Item.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.ui.contextmenu {
3 | public class Item: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/ui/contextmenu/anychart_ui_contextmenu_PrepareItemsContext.swift:
--------------------------------------------------------------------------------
1 | // typedef
2 | extension anychart.ui.contextmenu {
3 | public class PrepareItemsContext: JsObject {
4 |
5 |
6 |
7 | }
8 | }
--------------------------------------------------------------------------------
/AnyChart-iOS/ui/toolbar/anychart_ui_toolbar_Toolbar.swift:
--------------------------------------------------------------------------------
1 |
2 | // class
3 | /**
4 | *
5 | */
6 | extension anychart.ui.toolbar {
7 | public class Toolbar: JsObject {
8 |
9 | //override init() {
10 | // super.init()
11 | //}
12 |
13 | public override init() {
14 | super.init()
15 | //return Toolbar(jsBase: "new anychart.ui.toolbar.Toolbar()")
16 | //super.init(jsBase: "new anychart.ui.toolbar.Toolbar()")
17 | }
18 |
19 |
20 |
21 | public override init(jsBase: String) {
22 | super.init()
23 |
24 | JsObject.variableIndex += 1
25 | self.jsBase = "toolbar\(JsObject.variableIndex)"
26 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + " = " + jsBase + ";")
27 | }
28 |
29 | public func instantiate() -> anychart.ui.toolbar.Toolbar {
30 | return anychart.ui.toolbar.Toolbar(jsBase: "new anychart.ui.toolbar.toolbar()")
31 | }
32 |
33 | override public func getJsBase() -> String {
34 | return jsBase;
35 | }
36 |
37 |
38 | /**
39 | *
40 | */
41 | public func draw() -> anychart.ui.toolbar.Toolbar {
42 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: self.jsBase + ".draw();")
43 |
44 | return self
45 | }
46 | /**
47 | *
48 | */
49 | public func target(value: anychart.core.Chart) -> anychart.ui.toolbar.Toolbar {
50 | APIlib.sharedInstance.jsDelegate?.jsAddLine(jsLine: "\(self.jsBase).target(\((value != nil) ? value.getJsBase() : "null"));")
51 |
52 | return self
53 | }
54 |
55 | }
56 | }
--------------------------------------------------------------------------------
/AnyChart-iOSTests/AnyChart_iOSTests.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AnyChart_iOSTests.swift
3 | // AnyChart-iOSTests
4 | //
5 | // Created by NoName on 10/16/18.
6 | // Copyright © 2018 AnyChart. All rights reserved.
7 | //
8 |
9 | import XCTest
10 | @testable import AnyChart_iOS
11 |
12 | class AnyChart_iOSTests: XCTestCase {
13 |
14 | override func setUp() {
15 | // Put setup code here. This method is called before the invocation of each test method in the class.
16 | }
17 |
18 | override func tearDown() {
19 | // Put teardown code here. This method is called after the invocation of each test method in the class.
20 | }
21 |
22 | func testExample() {
23 | // This is an example of a functional test case.
24 | // Use XCTAssert and related functions to verify your tests produce the correct results.
25 | }
26 |
27 | func testPerformanceExample() {
28 | // This is an example of a performance test case.
29 | self.measure {
30 | // Put the code you want to measure the time of here.
31 | }
32 | }
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/AnyChart-iOSTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleVersion
20 | 1
21 |
22 |
23 |
--------------------------------------------------------------------------------
/AnyChartiOS.podspec:
--------------------------------------------------------------------------------
1 | Pod::Spec.new do |s|
2 |
3 | s.platform = :ios, "9.0"
4 | s.ios.deployment_target = '9.0'
5 |
6 | s.name = "AnyChartiOS"
7 | s.version = "1.0.4"
8 | s.summary = "AnyChart iOS is an data visualization library for creating interactive charts."
9 |
10 | s.homepage = "https://github.com/AnyChart/AnyChart-iOS"
11 |
12 | s.license = { :type => "AnyChart", :file => "LICENSE" }
13 |
14 | s.author = { "AnyChart" => "support@anychart.com" }
15 |
16 | s.source = { :git => "https://github.com/AnyChart/AnyChart-iOS.git", :tag => "#{s.version}" }
17 |
18 | s.source_files = "AnyChart-iOS/**/*.{swift}"
19 |
20 | s.preserve_paths = "AnyChart-iOS/bundle/**"
21 | s.resource = "AnyChart-iOS/*.{xib}", "AnyChart-iOS/bundle/*"
22 |
23 | s.swift_version = "4.2"
24 |
25 | end
26 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | ********************************************************************************
2 | This is repository for AnyChart iOS Charting Framework.
3 |
4 | AnyChart libraries are available under different licenses depending on whether
5 | they are used for commercial, government, personal, or non-profit projects.
6 |
7 | Read more about licensing at: http://www.anychart.com/buy/
8 | Contact us at: sales@anychart.com
9 | ********************************************************************************
10 |
--------------------------------------------------------------------------------
/Podfile:
--------------------------------------------------------------------------------
1 | platform :ios, '8.0'
2 |
3 | target 'AnyChart-iOS' do
4 | use_frameworks!
5 |
6 | end
7 |
--------------------------------------------------------------------------------
/Podfile.lock:
--------------------------------------------------------------------------------
1 | PODFILE CHECKSUM: 50c8a02acb80401b31eac01f7dce2895c787eb03
2 |
3 | COCOAPODS: 1.6.1
4 |
--------------------------------------------------------------------------------
/img/create_project_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AnyChart/AnyChart-iOS/c15ae4a892ac7ec0a02eb253349069e32a819c86/img/create_project_1.png
--------------------------------------------------------------------------------
/img/create_project_10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AnyChart/AnyChart-iOS/c15ae4a892ac7ec0a02eb253349069e32a819c86/img/create_project_10.png
--------------------------------------------------------------------------------
/img/create_project_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AnyChart/AnyChart-iOS/c15ae4a892ac7ec0a02eb253349069e32a819c86/img/create_project_2.png
--------------------------------------------------------------------------------
/img/create_project_3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AnyChart/AnyChart-iOS/c15ae4a892ac7ec0a02eb253349069e32a819c86/img/create_project_3.png
--------------------------------------------------------------------------------
/img/create_project_4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AnyChart/AnyChart-iOS/c15ae4a892ac7ec0a02eb253349069e32a819c86/img/create_project_4.png
--------------------------------------------------------------------------------
/img/create_project_5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AnyChart/AnyChart-iOS/c15ae4a892ac7ec0a02eb253349069e32a819c86/img/create_project_5.png
--------------------------------------------------------------------------------
/img/create_project_6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AnyChart/AnyChart-iOS/c15ae4a892ac7ec0a02eb253349069e32a819c86/img/create_project_6.png
--------------------------------------------------------------------------------
/img/create_project_7.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AnyChart/AnyChart-iOS/c15ae4a892ac7ec0a02eb253349069e32a819c86/img/create_project_7.gif
--------------------------------------------------------------------------------
/img/create_project_8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AnyChart/AnyChart-iOS/c15ae4a892ac7ec0a02eb253349069e32a819c86/img/create_project_8.png
--------------------------------------------------------------------------------
/img/create_project_9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AnyChart/AnyChart-iOS/c15ae4a892ac7ec0a02eb253349069e32a819c86/img/create_project_9.png
--------------------------------------------------------------------------------