├── .gitignore ├── LICENSE ├── README.md ├── composer.json ├── demo ├── dynamic.php ├── line.php ├── map.php └── simple.php └── src ├── Config.php ├── Countries.php ├── Doc ├── AutoGenerate.php └── IDE │ ├── AngleAxis.php │ ├── AngleAxis │ ├── AxisLabel.php │ ├── AxisLabel │ │ └── Rich.php │ ├── AxisLine.php │ ├── AxisLine │ │ └── LineStyle.php │ ├── AxisPointer.php │ ├── AxisPointer │ │ ├── Handle.php │ │ ├── Label.php │ │ ├── LineStyle.php │ │ └── ShadowStyle.php │ ├── AxisTick.php │ ├── AxisTick │ │ └── LineStyle.php │ ├── MinorSplitLine.php │ ├── MinorSplitLine │ │ └── LineStyle.php │ ├── MinorTick.php │ ├── MinorTick │ │ └── LineStyle.php │ ├── SplitArea.php │ ├── SplitArea │ │ └── AreaStyle.php │ ├── SplitLine.php │ └── SplitLine │ │ └── LineStyle.php │ ├── Aria.php │ ├── Aria │ ├── Decal.php │ ├── Decal │ │ └── Decals.php │ ├── Label.php │ └── Label │ │ ├── Data.php │ │ ├── Data │ │ └── Separator.php │ │ ├── General.php │ │ ├── Series.php │ │ └── Series │ │ ├── Multiple.php │ │ ├── Multiple │ │ └── Separator.php │ │ └── Single.php │ ├── AxisPointer.php │ ├── AxisPointer │ ├── Handle.php │ ├── Label.php │ ├── LineStyle.php │ └── ShadowStyle.php │ ├── Brush.php │ ├── Calendar.php │ ├── Calendar │ ├── DayLabel.php │ ├── DayLabel │ │ └── Rich.php │ ├── ItemStyle.php │ ├── MonthLabel.php │ ├── MonthLabel │ │ └── Rich.php │ ├── SplitLine.php │ ├── SplitLine │ │ └── LineStyle.php │ ├── YearLabel.php │ └── YearLabel │ │ └── Rich.php │ ├── DataZoom.php │ ├── DataZoom │ ├── BrushStyle.php │ ├── DataBackground.php │ ├── DataBackground │ │ ├── AreaStyle.php │ │ └── LineStyle.php │ ├── Emphasis.php │ ├── Emphasis │ │ ├── HandleStyle.php │ │ └── MoveHandleStyle.php │ ├── HandleStyle.php │ ├── MoveHandleStyle.php │ ├── SelectedDataBackground.php │ ├── SelectedDataBackground │ │ ├── AreaStyle.php │ │ └── LineStyle.php │ └── TextStyle.php │ ├── Dataset.php │ ├── Dataset │ └── Transform.php │ ├── Geo.php │ ├── Geo │ ├── Blur.php │ ├── Blur │ │ ├── ItemStyle.php │ │ ├── Label.php │ │ └── Label │ │ │ └── Rich.php │ ├── Emphasis.php │ ├── Emphasis │ │ ├── ItemStyle.php │ │ ├── Label.php │ │ └── Label │ │ │ └── Rich.php │ ├── ItemStyle.php │ ├── Label.php │ ├── Label │ │ └── Rich.php │ ├── Projection.php │ ├── ScaleLimit.php │ ├── Select.php │ ├── Select │ │ ├── ItemStyle.php │ │ ├── Label.php │ │ └── Label │ │ │ └── Rich.php │ ├── Tooltip.php │ └── Tooltip │ │ └── TextStyle.php │ ├── Graphic.php │ ├── Graphic │ ├── Elements.php │ └── Elements │ │ ├── EnterAnimation.php │ │ ├── KeyframeAnimation.php │ │ ├── LeaveAnimation.php │ │ ├── Shape.php │ │ ├── Style.php │ │ ├── TextConfig.php │ │ └── UpdateAnimation.php │ ├── Grid.php │ ├── Grid │ ├── Tooltip.php │ └── Tooltip │ │ ├── AxisPointer.php │ │ ├── AxisPointer │ │ ├── CrossStyle.php │ │ ├── Label.php │ │ ├── LineStyle.php │ │ └── ShadowStyle.php │ │ └── TextStyle.php │ ├── Legend.php │ ├── Legend │ ├── Emphasis.php │ ├── Emphasis │ │ ├── SelectorLabel.php │ │ └── SelectorLabel │ │ │ └── Rich.php │ ├── ItemStyle.php │ ├── ItemStyle │ │ └── Decal.php │ ├── LineStyle.php │ ├── PageIcons.php │ ├── PageTextStyle.php │ ├── SelectorLabel.php │ ├── SelectorLabel │ │ └── Rich.php │ ├── TextStyle.php │ └── TextStyle │ │ └── Rich.php │ ├── Parallel.php │ ├── Parallel │ ├── ParallelAxisDefault.php │ └── ParallelAxisDefault │ │ ├── AxisLabel.php │ │ ├── AxisLabel │ │ └── Rich.php │ │ ├── AxisLine.php │ │ ├── AxisLine │ │ └── LineStyle.php │ │ ├── AxisTick.php │ │ ├── AxisTick │ │ └── LineStyle.php │ │ ├── MinorTick.php │ │ ├── MinorTick │ │ └── LineStyle.php │ │ ├── NameTextStyle.php │ │ └── NameTextStyle │ │ └── Rich.php │ ├── ParallelAxis.php │ ├── ParallelAxis │ ├── AreaSelectStyle.php │ ├── AxisLabel.php │ ├── AxisLabel │ │ └── Rich.php │ ├── AxisLine.php │ ├── AxisLine │ │ └── LineStyle.php │ ├── AxisTick.php │ ├── AxisTick │ │ └── LineStyle.php │ ├── MinorTick.php │ ├── MinorTick │ │ └── LineStyle.php │ ├── NameTextStyle.php │ └── NameTextStyle │ │ └── Rich.php │ ├── Polar.php │ ├── Polar │ ├── Tooltip.php │ └── Tooltip │ │ ├── AxisPointer.php │ │ ├── AxisPointer │ │ ├── CrossStyle.php │ │ ├── Label.php │ │ ├── LineStyle.php │ │ └── ShadowStyle.php │ │ └── TextStyle.php │ ├── Radar.php │ ├── Radar │ ├── AxisLabel.php │ ├── AxisLabel │ │ └── Rich.php │ ├── AxisLine.php │ ├── AxisLine │ │ └── LineStyle.php │ ├── AxisName.php │ ├── AxisName │ │ └── Rich.php │ ├── AxisTick.php │ ├── AxisTick │ │ └── LineStyle.php │ ├── SplitArea.php │ ├── SplitArea │ │ └── AreaStyle.php │ ├── SplitLine.php │ └── SplitLine │ │ └── LineStyle.php │ ├── RadiusAxis.php │ ├── RadiusAxis │ ├── AxisLabel.php │ ├── AxisLabel │ │ └── Rich.php │ ├── AxisLine.php │ ├── AxisLine │ │ └── LineStyle.php │ ├── AxisPointer.php │ ├── AxisPointer │ │ ├── Handle.php │ │ ├── Label.php │ │ ├── LineStyle.php │ │ └── ShadowStyle.php │ ├── AxisTick.php │ ├── AxisTick │ │ └── LineStyle.php │ ├── MinorSplitLine.php │ ├── MinorSplitLine │ │ └── LineStyle.php │ ├── MinorTick.php │ ├── MinorTick │ │ └── LineStyle.php │ ├── NameTextStyle.php │ ├── NameTextStyle │ │ └── Rich.php │ ├── SplitArea.php │ ├── SplitArea │ │ └── AreaStyle.php │ ├── SplitLine.php │ └── SplitLine │ │ └── LineStyle.php │ ├── Series.php │ ├── Series │ ├── Anchor.php │ ├── Anchor │ │ └── ItemStyle.php │ ├── AreaStyle.php │ ├── AxisLabel.php │ ├── AxisLabel │ │ └── Rich.php │ ├── AxisLine.php │ ├── AxisLine │ │ └── LineStyle.php │ ├── AxisTick.php │ ├── AxisTick │ │ └── LineStyle.php │ ├── BackgroundStyle.php │ ├── Blur.php │ ├── Blur │ │ ├── AreaStyle.php │ │ ├── EdgeLabel.php │ │ ├── EdgeLabel │ │ │ └── Rich.php │ │ ├── EndLabel.php │ │ ├── EndLabel │ │ │ └── Rich.php │ │ ├── ItemStyle.php │ │ ├── Label.php │ │ ├── Label │ │ │ └── Rich.php │ │ ├── LabelLine.php │ │ ├── LabelLine │ │ │ └── LineStyle.php │ │ ├── LineStyle.php │ │ ├── UpperLabel.php │ │ └── UpperLabel │ │ │ └── Rich.php │ ├── Breadcrumb.php │ ├── Breadcrumb │ │ ├── Emphasis.php │ │ ├── Emphasis │ │ │ ├── ItemStyle.php │ │ │ └── ItemStyle │ │ │ │ ├── TextStyle.php │ │ │ │ └── TextStyle │ │ │ │ └── Rich.php │ │ ├── ItemStyle.php │ │ └── ItemStyle │ │ │ ├── TextStyle.php │ │ │ └── TextStyle │ │ │ └── Rich.php │ ├── Circular.php │ ├── Data.php │ ├── Data │ │ ├── Blur.php │ │ ├── Blur │ │ │ ├── ItemStyle.php │ │ │ ├── Label.php │ │ │ ├── Label │ │ │ │ └── Rich.php │ │ │ └── LineStyle.php │ │ ├── Emphasis.php │ │ ├── Emphasis │ │ │ ├── ItemStyle.php │ │ │ ├── Label.php │ │ │ ├── Label │ │ │ │ └── Rich.php │ │ │ └── LineStyle.php │ │ ├── ItemStyle.php │ │ ├── Label.php │ │ ├── Label │ │ │ └── Rich.php │ │ ├── LineStyle.php │ │ ├── Select.php │ │ ├── Select │ │ │ ├── ItemStyle.php │ │ │ ├── Label.php │ │ │ ├── Label │ │ │ │ └── Rich.php │ │ │ └── LineStyle.php │ │ ├── Tooltip.php │ │ └── Tooltip │ │ │ └── TextStyle.php │ ├── Detail.php │ ├── Detail │ │ └── Rich.php │ ├── EdgeLabel.php │ ├── EdgeLabel │ │ └── Rich.php │ ├── Effect.php │ ├── Emphasis.php │ ├── Emphasis │ │ ├── AreaStyle.php │ │ ├── EdgeLabel.php │ │ ├── EdgeLabel │ │ │ └── Rich.php │ │ ├── EndLabel.php │ │ ├── EndLabel │ │ │ └── Rich.php │ │ ├── ItemStyle.php │ │ ├── Label.php │ │ ├── Label │ │ │ └── Rich.php │ │ ├── LabelLine.php │ │ ├── LabelLine │ │ │ └── LineStyle.php │ │ ├── LineStyle.php │ │ ├── UpperLabel.php │ │ └── UpperLabel │ │ │ └── Rich.php │ ├── EmptyCircleStyle.php │ ├── EndLabel.php │ ├── EndLabel │ │ └── Rich.php │ ├── Force.php │ ├── HoverAnimation.php │ ├── ItemStyle.php │ ├── ItemStyle │ │ └── Decal.php │ ├── Label.php │ ├── Label │ │ └── Rich.php │ ├── LabelLayout.php │ ├── LabelLine.php │ ├── LabelLine │ │ └── LineStyle.php │ ├── Leaves.php │ ├── Leaves │ │ ├── Blur.php │ │ ├── Blur │ │ │ ├── ItemStyle.php │ │ │ ├── Label.php │ │ │ ├── Label │ │ │ │ └── Rich.php │ │ │ └── LineStyle.php │ │ ├── Emphasis.php │ │ ├── Emphasis │ │ │ ├── ItemStyle.php │ │ │ ├── Label.php │ │ │ ├── Label │ │ │ │ └── Rich.php │ │ │ └── LineStyle.php │ │ ├── ItemStyle.php │ │ ├── Label.php │ │ ├── Label │ │ │ └── Rich.php │ │ ├── Select.php │ │ └── Select │ │ │ ├── ItemStyle.php │ │ │ ├── Label.php │ │ │ ├── Label │ │ │ └── Rich.php │ │ │ └── LineStyle.php │ ├── LineStyle.php │ ├── MarkArea.php │ ├── MarkArea │ │ ├── Blur.php │ │ ├── Blur │ │ │ ├── ItemStyle.php │ │ │ ├── Label.php │ │ │ └── Label │ │ │ │ └── Rich.php │ │ ├── Data.php │ │ ├── Emphasis.php │ │ ├── Emphasis │ │ │ ├── ItemStyle.php │ │ │ ├── Label.php │ │ │ └── Label │ │ │ │ └── Rich.php │ │ ├── ItemStyle.php │ │ ├── Label.php │ │ └── Label │ │ │ └── Rich.php │ ├── MarkLine.php │ ├── MarkLine │ │ ├── Blur.php │ │ ├── Blur │ │ │ ├── Label.php │ │ │ ├── Label │ │ │ │ └── Rich.php │ │ │ └── LineStyle.php │ │ ├── Data.php │ │ ├── Emphasis.php │ │ ├── Emphasis │ │ │ ├── Label.php │ │ │ ├── Label │ │ │ │ └── Rich.php │ │ │ └── LineStyle.php │ │ ├── Label.php │ │ ├── Label │ │ │ └── Rich.php │ │ └── LineStyle.php │ ├── MarkPoint.php │ ├── MarkPoint │ │ ├── Blur.php │ │ ├── Blur │ │ │ ├── ItemStyle.php │ │ │ ├── Label.php │ │ │ └── Label │ │ │ │ └── Rich.php │ │ ├── Emphasis.php │ │ ├── Emphasis │ │ │ ├── ItemStyle.php │ │ │ ├── Label.php │ │ │ └── Label │ │ │ │ └── Rich.php │ │ ├── ItemStyle.php │ │ ├── Label.php │ │ └── Label │ │ │ └── Rich.php │ ├── Pointer.php │ ├── Pointer │ │ └── ItemStyle.php │ ├── Progress.php │ ├── Progress │ │ └── ItemStyle.php │ ├── Projection.php │ ├── RenderItem.php │ ├── RenderItem │ │ ├── Arguments.php │ │ └── Arguments │ │ │ └── Api.php │ ├── RippleEffect.php │ ├── ScaleLimit.php │ ├── Select.php │ ├── Select │ │ ├── AreaStyle.php │ │ ├── EdgeLabel.php │ │ ├── EdgeLabel │ │ │ └── Rich.php │ │ ├── EndLabel.php │ │ ├── EndLabel │ │ │ └── Rich.php │ │ ├── ItemStyle.php │ │ ├── Label.php │ │ ├── Label │ │ │ └── Rich.php │ │ ├── LabelLine.php │ │ ├── LabelLine │ │ │ └── LineStyle.php │ │ ├── LineStyle.php │ │ ├── UpperLabel.php │ │ └── UpperLabel │ │ │ └── Rich.php │ ├── SelectedMode.php │ ├── SelectedMode │ │ ├── ItemStyle.php │ │ ├── Label.php │ │ ├── Label │ │ │ └── Rich.php │ │ ├── LabelLine.php │ │ └── LabelLine │ │ │ └── LineStyle.php │ ├── SplitLine.php │ ├── SplitLine │ │ └── LineStyle.php │ ├── Title.php │ ├── Title │ │ └── Rich.php │ ├── Tooltip.php │ ├── Tooltip │ │ └── TextStyle.php │ ├── UniversalTransition.php │ ├── UpperLabel.php │ └── UpperLabel │ │ └── Rich.php │ ├── SingleAxis.php │ ├── SingleAxis │ ├── AxisLabel.php │ ├── AxisLabel │ │ └── Rich.php │ ├── AxisLine.php │ ├── AxisLine │ │ └── LineStyle.php │ ├── AxisPointer.php │ ├── AxisPointer │ │ ├── Handle.php │ │ ├── Label.php │ │ ├── LineStyle.php │ │ └── ShadowStyle.php │ ├── AxisTick.php │ ├── AxisTick │ │ └── LineStyle.php │ ├── MinorSplitLine.php │ ├── MinorSplitLine │ │ └── LineStyle.php │ ├── MinorTick.php │ ├── MinorTick │ │ └── LineStyle.php │ ├── NameTextStyle.php │ ├── NameTextStyle │ │ └── Rich.php │ ├── SplitArea.php │ ├── SplitArea │ │ └── AreaStyle.php │ ├── SplitLine.php │ ├── SplitLine │ │ └── LineStyle.php │ ├── Tooltip.php │ └── Tooltip │ │ ├── AxisPointer.php │ │ ├── AxisPointer │ │ ├── CrossStyle.php │ │ ├── Label.php │ │ ├── LineStyle.php │ │ └── ShadowStyle.php │ │ └── TextStyle.php │ ├── StateAnimation.php │ ├── TextStyle.php │ ├── Timeline.php │ ├── Timeline │ ├── CheckpointStyle.php │ ├── ControlStyle.php │ ├── Emphasis.php │ ├── Emphasis │ │ ├── ItemStyle.php │ │ ├── Label.php │ │ └── Label │ │ │ └── Rich.php │ ├── ItemStyle.php │ ├── Label.php │ ├── Label │ │ └── Rich.php │ ├── LineStyle.php │ ├── Progress.php │ └── Progress │ │ ├── ItemStyle.php │ │ ├── Label.php │ │ ├── Label │ │ └── Rich.php │ │ └── LineStyle.php │ ├── Title.php │ ├── Title │ ├── SubtextStyle.php │ ├── SubtextStyle │ │ └── Rich.php │ ├── TextStyle.php │ └── TextStyle │ │ └── Rich.php │ ├── Toolbox.php │ ├── Toolbox │ ├── Emphasis.php │ ├── Emphasis │ │ └── IconStyle.php │ ├── Feature.php │ ├── Feature │ │ ├── Brush.php │ │ ├── Brush │ │ │ ├── Icon.php │ │ │ └── Title.php │ │ ├── DataView.php │ │ ├── DataView │ │ │ ├── Emphasis.php │ │ │ ├── Emphasis │ │ │ │ └── IconStyle.php │ │ │ └── IconStyle.php │ │ ├── DataZoom.php │ │ ├── DataZoom │ │ │ ├── BrushStyle.php │ │ │ ├── Emphasis.php │ │ │ ├── Emphasis │ │ │ │ └── IconStyle.php │ │ │ ├── Icon.php │ │ │ ├── IconStyle.php │ │ │ └── Title.php │ │ ├── MagicType.php │ │ ├── MagicType │ │ │ ├── Emphasis.php │ │ │ ├── Emphasis │ │ │ │ └── IconStyle.php │ │ │ ├── Icon.php │ │ │ ├── IconStyle.php │ │ │ ├── Option.php │ │ │ ├── SeriesIndex.php │ │ │ └── Title.php │ │ ├── Restore.php │ │ ├── Restore │ │ │ ├── Emphasis.php │ │ │ ├── Emphasis │ │ │ │ └── IconStyle.php │ │ │ └── IconStyle.php │ │ ├── SaveAsImage.php │ │ └── SaveAsImage │ │ │ ├── Emphasis.php │ │ │ ├── Emphasis │ │ │ └── IconStyle.php │ │ │ └── IconStyle.php │ └── IconStyle.php │ ├── Tooltip.php │ ├── Tooltip │ ├── AxisPointer.php │ ├── AxisPointer │ │ ├── CrossStyle.php │ │ ├── Label.php │ │ ├── LineStyle.php │ │ └── ShadowStyle.php │ └── TextStyle.php │ ├── VisualMap.php │ ├── VisualMap │ ├── Controller.php │ ├── HandleStyle.php │ ├── IndicatorStyle.php │ └── TextStyle.php │ ├── XAxis.php │ ├── XAxis │ ├── AxisLabel.php │ ├── AxisLabel │ │ └── Rich.php │ ├── AxisLine.php │ ├── AxisLine │ │ └── LineStyle.php │ ├── AxisPointer.php │ ├── AxisPointer │ │ ├── Handle.php │ │ ├── Label.php │ │ ├── LineStyle.php │ │ └── ShadowStyle.php │ ├── AxisTick.php │ ├── AxisTick │ │ └── LineStyle.php │ ├── MinorSplitLine.php │ ├── MinorSplitLine │ │ └── LineStyle.php │ ├── MinorTick.php │ ├── MinorTick │ │ └── LineStyle.php │ ├── NameTextStyle.php │ ├── NameTextStyle │ │ └── Rich.php │ ├── SplitArea.php │ ├── SplitArea │ │ └── AreaStyle.php │ ├── SplitLine.php │ └── SplitLine │ │ └── LineStyle.php │ ├── YAxis.php │ └── YAxis │ ├── AxisLabel.php │ ├── AxisLabel │ └── Rich.php │ ├── AxisLine.php │ ├── AxisLine │ └── LineStyle.php │ ├── AxisPointer.php │ ├── AxisPointer │ ├── Handle.php │ ├── Label.php │ ├── LineStyle.php │ └── ShadowStyle.php │ ├── AxisTick.php │ ├── AxisTick │ └── LineStyle.php │ ├── MinorSplitLine.php │ ├── MinorSplitLine │ └── LineStyle.php │ ├── MinorTick.php │ ├── MinorTick │ └── LineStyle.php │ ├── NameTextStyle.php │ ├── NameTextStyle │ └── Rich.php │ ├── SplitArea.php │ ├── SplitArea │ └── AreaStyle.php │ ├── SplitLine.php │ └── SplitLine │ └── LineStyle.php ├── ECharts.php └── Property.php /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | .git/ 3 | vendor/ 4 | *.lock -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2016 Hisune.com 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hisune/echarts-php", 3 | "type": "library", 4 | "description": "A php wrapper for echarts javascript libraries", 5 | "keywords": ["echarts", "php", "charts", "javascript"], 6 | "homepage": "http://hisune.com", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Hisune", 11 | "email": "hi@hisune.com", 12 | "homepage": "http://hisune.com", 13 | "role": "Developer" 14 | } 15 | ], 16 | "support": { 17 | "email": "hi@hisune.com", 18 | "issues": "https://github.com/hisune/Echarts-PHP/issues", 19 | "source": "https://github.com/hisune/Echarts-PHP" 20 | }, 21 | "require": { 22 | "php": ">=5.4.0", 23 | "ext-json": "*" 24 | }, 25 | "autoload": { 26 | "psr-4": { 27 | "Hisune\\EchartsPHP\\": "src/" 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /demo/dynamic.php: -------------------------------------------------------------------------------- 1 | rand(0,100), 'data' => uniqid()]); 17 | else: 18 | // Your data 19 | $data = []; 20 | $xAxisData = []; 21 | for($i = 0; $i < 50; $i++){ 22 | $data[] = rand(30,70); 23 | $xAxisData[] = uniqid(); 24 | } 25 | 26 | $chart = new ECharts(); 27 | $chart->xAxis = [ 28 | 'type' => 'category', 29 | 'data' => $xAxisData, 30 | ]; 31 | $chart->yAxis[] = [ 32 | 'type' => 'value', 33 | ]; 34 | $chart->series[] = [ 35 | 'type' => 'line', 36 | 'data' => $data 37 | ]; 38 | Config::addExtraScript('jquery.min.js', '//cdn.bootcss.com/jquery/3.3.1'); 39 | echo $chart->render('test-id'); 40 | ?> 41 | 66 | title->text = $title; 22 | $chart->color = $color; 23 | $chart->tooltip->trigger = 'axis'; 24 | $chart->toolbox->show = true; 25 | $chart->toolbox->feature->dataZoom->yAxisIndex = 'none'; 26 | $chart->toolbox->feature->dataView->readOnly = false; 27 | $chart->toolbox->feature->magicType->type = ['line', 'bar']; 28 | $chart->toolbox->feature->saveAsImage = []; 29 | 30 | $xAxis->type = 'category'; 31 | $xAxis->boundaryGap = false; 32 | $xAxis->data = $xAxisData; 33 | 34 | foreach($seriesData as $ser){ 35 | $chart->legend->data[] = $ser['name']; 36 | $series = new \Hisune\EchartsPHP\Doc\IDE\Series(); 37 | $series->name = $ser['name']; 38 | $series->type = isset($ser['type']) ?: 'line'; 39 | $series->data = $ser['data']; 40 | $chart->addSeries($series); 41 | } 42 | 43 | $chart->addXAxis($xAxis); 44 | $chart->addYAxis($yAxis); 45 | 46 | return $chart->render(uniqid()); 47 | } 48 | 49 | echo chartLine( 50 | ['2018-01-01','2018-01-02','2018-01-03','2018-01-04','2018-01-05','2018-01-06','2018-01-07','2018-01-08','2018-01-09','2018-01-10'], 51 | [ 52 | ['name' => '数据1', 'data' => [99,102,20,235,112,675,76,24,657,32]], 53 | ['name' => '数据2', 'data' => [199,202,30,335,212,575,176,124,457,132]], 54 | ], 55 | '测试数据' 56 | ); -------------------------------------------------------------------------------- /demo/map.php: -------------------------------------------------------------------------------- 1 | 5 | * Date: 2017/3/29 6 | * Time: 14:47 7 | * 8 | * example for php 5.4+ 9 | */ 10 | header('Content-Type: text/html; charset=utf-8'); 11 | require('../vendor/autoload.php'); 12 | 13 | use \Hisune\EchartsPHP\ECharts; 14 | use \Hisune\EchartsPHP\Config; 15 | use \Hisune\EchartsPHP\Doc\IDE\Series; 16 | 17 | $chart = new ECharts(); 18 | $chart->visualMap->min = 0; 19 | $chart->visualMap->max = 100; 20 | $chart->visualMap->text = ['High', 'Low']; 21 | $chart->visualMap->calculable = true; 22 | $chart->visualMap->inRange->color = ['#C843C8', '#441744']; 23 | $chart->tooltip->trigger = 'item'; 24 | $chart->tooltip->formatter = '{a}
{b} {c}'; 25 | 26 | $series = new Series(); 27 | $series->name = 'Times'; 28 | $series->type = 'map'; 29 | $series->map = 'world'; 30 | // echart默认是用不规范的英文国家名做映射关系,这里转为标准的ISO3166-1国家短码 31 | $series->nameMap = \Hisune\EchartsPHP\Countries::nameMap(); 32 | // 在data中使用ISO3166-1国家短码 33 | $series->data = [ 34 | [ 35 | 'name' => 'CN', 36 | 'value' => 100, 37 | ], 38 | [ 39 | 'name' => 'US', 40 | 'value' => 50, 41 | ], 42 | [ 43 | 'name' => 'RU', 44 | 'value' => 80, 45 | ], 46 | [ 47 | 'name' => 'IN', 48 | 'value' => 20, 49 | ], 50 | [ 51 | 'name' => 'CA', 52 | 'value' => 80, 53 | ], 54 | [ 55 | 'name' => 'AU', 56 | 'value' => 30, 57 | ] 58 | ]; 59 | $series->label->emphasis->show = false; 60 | $series->label->emphasis->textStyle->color = '#fff'; 61 | $series->roam = true; 62 | $series->scaleLimit->min = 1; 63 | $series->scaleLimit->max = 5; 64 | $series->itemStyle->normal->borderColor = '#bbb'; 65 | $series->itemStyle->normal->areaColor = '#F5F6FA'; 66 | $series->itemStyle->emphasis->areaColor = '#441744'; 67 | $chart->addSeries($series); 68 | 69 | Config::addExtraScript('world.js', 'https://cdn.rawgit.com/hisune/images/7b31b0a0/echarts'); 70 | echo $chart->render('map', ['style' => 'height: 500px;']); -------------------------------------------------------------------------------- /demo/simple.php: -------------------------------------------------------------------------------- 1 | tooltip->show = true; 15 | $chart->legend->data[] = '销量'; 16 | $chart->xAxis[] = array( 17 | 'type' => 'category', 18 | 'data' => array("衬衫","羊毛衫","雪纺衫","裤子","高跟鞋","袜子") 19 | ); 20 | 21 | $yAxis = new YAxis(); 22 | $yAxis->type = 'value'; 23 | $chart->addYAxis($yAxis); 24 | 25 | $chart->series[] = array( 26 | 'name' => '销量', 27 | 'type' => 'bar', 28 | 'data' => array(5, 20, 40, 10, 10, 20) 29 | ); 30 | echo $chart->render('simple-custom-id'); -------------------------------------------------------------------------------- /src/Doc/IDE/AngleAxis/AxisLabel/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\AngleAxis\AxisLabel; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/AngleAxis/AxisLine.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\AngleAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * 14 | * 15 | * Set this to false to prevent the axis line from showing. 16 | * 17 | * @property string|array $symbol Default: 'none' 18 | * 19 | * 20 | * Symbol of the two ends of the axis. It could be a string, representing the same symbol for two ends; or an array with two string elements, representing the two ends separately. Its set to be none by default, meaning no arrow for either end. If it is set to be arrow, there shall be two arrows. If there should only one arrow at the end, it should set to be [none, arrow]. 21 | * 22 | * @property array $symbolSize Default: '[10, 15]' 23 | * 24 | * 25 | * Size of the arrows at two ends. The first is the width perpendicular to the axis, the next is the width parallel to the axis. 26 | * 27 | * @property array|int $symbolOffset Default: '[0, 0]' 28 | * 29 | * 30 | * Arrow offset of axis. If is array, the first number is the offset of the arrow at the beginning, and the second number is the offset of the arrow at the end. If is number, it means the arrows have the same offset. 31 | * 32 | * @property AxisLine\LineStyle $lineStyle 33 | * 34 | * 35 | * {_more_} 36 | */ 37 | class AxisLine extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/AngleAxis/AxisPointer/ShadowStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\AngleAxis\AxisPointer; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $color Default: 'rgba(150,150,150,0.3)' 13 | * 14 | * 15 | * Fill color. 16 | * 17 | * Supports setting as solid color using rgb(255,255,255), rgba(255,255,255,1), #fff, etc. Also supports setting as gradient color and pattern fill, see option.color for details 18 | * 19 | * @property int $shadowBlur 20 | * 21 | * 22 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 23 | * For example: 24 | * { 25 | * shadowColor: rgba(0, 0, 0, 0.5), 26 | * shadowBlur: 10 27 | * } 28 | * 29 | * @property string $shadowColor 30 | * 31 | * 32 | * Shadow color. Support same format as color. 33 | * 34 | * @property int $shadowOffsetX Default: 0 35 | * 36 | * 37 | * Offset distance on the horizontal direction of shadow. 38 | * 39 | * @property int $shadowOffsetY Default: 0 40 | * 41 | * 42 | * Offset distance on the vertical direction of shadow. 43 | * 44 | * @property int $opacity 45 | * 46 | * 47 | * Opacity of the component. Supports value from 0 to 1, and the component will not be drawn when set to 0. 48 | * 49 | * {_more_} 50 | */ 51 | class ShadowStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/AngleAxis/AxisTick.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\AngleAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * 14 | * 15 | * Set this to false to prevent the axis tick from showing. 16 | * 17 | * @property boolean $alignWithLabel Default: false 18 | * 19 | * 20 | * Align axis tick with label, which is available only when boundaryGap is set to be true in category axis. See the following picture: 21 | * 22 | * @property int|callable $interval Default: 'auto' 23 | * 24 | * 25 | * 26 | * 27 | * Interval of axisTick, which is available in category axis. is set to be the same as axisLabel.interval by default. 28 | * It uses a strategy that labels do not overlap by default. 29 | * You may set it to be 0 to display all labels compulsively. 30 | * If it is set to be 1, it means that labels are shown once after one label. And if it is set to be 2, it means labels are shown once after two labels, and so on. 31 | * On the other hand, you can control by callback function, whose format is shown below: 32 | * (index:number, value: string) => boolean 33 | * 34 | * The first parameter is index of category, and the second parameter is the name of category. The return values decides whether to display label. 35 | * 36 | * @property boolean $inside Default: false 37 | * 38 | * 39 | * Set this to true so the axis labels face the inside direction. 40 | * 41 | * @property int $length Default: 5 42 | * 43 | * 44 | * The length of the axis tick. 45 | * 46 | * @property AxisTick\LineStyle $lineStyle 47 | * Line style of axis ticks. 48 | * 49 | * {_more_} 50 | */ 51 | class AxisTick extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/AngleAxis/MinorSplitLine.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\AngleAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: false 13 | * 14 | * 15 | * If show minor split lines. 16 | * 17 | * @property MinorSplitLine\LineStyle $lineStyle 18 | * 19 | * 20 | * {_more_} 21 | */ 22 | class MinorSplitLine extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/AngleAxis/MinorTick.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\AngleAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: false 13 | * 14 | * 15 | * If show minor ticks. 16 | * 17 | * @property int $splitNumber Default: 5 18 | * 19 | * 20 | * Number of interval splited by minor ticks. 21 | * 22 | * @property int $length Default: 3 23 | * 24 | * 25 | * Length of minor ticks lines。 26 | * 27 | * @property MinorTick\LineStyle $lineStyle 28 | * 29 | * 30 | * {_more_} 31 | */ 32 | class MinorTick extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/AngleAxis/SplitArea.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\AngleAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property int|callable $interval Default: 'auto' 13 | * 14 | * 15 | * 16 | * 17 | * Interval of Axis splitArea, which is available in category axis. is set to be the same as axisLabel.interval by default. 18 | * It uses a strategy that labels do not overlap by default. 19 | * You may set it to be 0 to display all labels compulsively. 20 | * If it is set to be 1, it means that labels are shown once after one label. And if it is set to be 2, it means labels are shown once after two labels, and so on. 21 | * On the other hand, you can control by callback function, whose format is shown below: 22 | * (index:number, value: string) => boolean 23 | * 24 | * The first parameter is index of category, and the second parameter is the name of category. The return values decides whether to display label. 25 | * 26 | * @property boolean $show Default: false 27 | * 28 | * 29 | * Set this to true to show the splitArea. 30 | * 31 | * @property SplitArea\AreaStyle $areaStyle 32 | * Split area style. 33 | * 34 | * {_more_} 35 | */ 36 | class SplitArea extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/AngleAxis/SplitArea/AreaStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\AngleAxis\SplitArea; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property array $color Default: '[\'rgba(250,250,250,0.3)\',\'rgba(200,200,200,0.3)\']' 13 | * Color of split area. 14 | * SplitArea color could also be set in color array, which the split lines would take as their colors in turns. Dark and light colors in turns are used by default. 15 | * 16 | * @property int $shadowBlur 17 | * 18 | * 19 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 20 | * For example: 21 | * { 22 | * shadowColor: rgba(0, 0, 0, 0.5), 23 | * shadowBlur: 10 24 | * } 25 | * 26 | * @property string $shadowColor 27 | * 28 | * 29 | * Shadow color. Support same format as color. 30 | * 31 | * @property int $shadowOffsetX Default: 0 32 | * 33 | * 34 | * Offset distance on the horizontal direction of shadow. 35 | * 36 | * @property int $shadowOffsetY Default: 0 37 | * 38 | * 39 | * Offset distance on the vertical direction of shadow. 40 | * 41 | * @property int $opacity 42 | * 43 | * 44 | * Opacity of the component. Supports value from 0 to 1, and the component will not be drawn when set to 0. 45 | * 46 | * {_more_} 47 | */ 48 | class AreaStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/AngleAxis/SplitLine.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\AngleAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * 14 | * 15 | * Set this to false to prevent the splitLine from showing. 16 | * value type axes are shown by default, while category type axes are hidden. 17 | * 18 | * @property int|callable $interval Default: 'auto' 19 | * 20 | * 21 | * 22 | * 23 | * Interval of Axis splitLine, which is available in category axis. is set to be the same as axisLabel.interval by default. 24 | * It uses a strategy that labels do not overlap by default. 25 | * You may set it to be 0 to display all labels compulsively. 26 | * If it is set to be 1, it means that labels are shown once after one label. And if it is set to be 2, it means labels are shown once after two labels, and so on. 27 | * On the other hand, you can control by callback function, whose format is shown below: 28 | * (index:number, value: string) => boolean 29 | * 30 | * The first parameter is index of category, and the second parameter is the name of category. The return values decides whether to display label. 31 | * 32 | * @property SplitLine\LineStyle $lineStyle 33 | * 34 | * 35 | * {_more_} 36 | */ 37 | class SplitLine extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Aria/Decal.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Aria; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: false 13 | * Whether or not to display the decal pattern is not shown by default. If you want to display the applique, you need to make sure aria.enabled and aria.decal.show are both true. 14 | * 15 | * @property Decal\Decals $decals 16 | * The style of the decal pattern. If it is an Object type, it means all data will have the same style, if it is an array, then each item in the array will have one style and the data will be looped through the array in order. 17 | * 18 | * {_more_} 19 | */ 20 | class Decal extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Aria/Label.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Aria; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $enabled Default: true 13 | * Whether or not to enable label generation for accessibility. When enabled, the attribute aria-label will be generated. 14 | * 15 | * @property string $description 16 | * By default, an algorithm is used to automatically generate a chart description, but if you want to fully customize it, you can set this value to a description. If it is set to This is a chart showing price changes, then the value of the aria-label attribute of the chart DOM is this string. 17 | * This configuration item is often used to display text that specifies a general description of the chart, when displaying individual data does not show the contents of the chart. For example, if the chart is a map with a large number of scattered points, the default algorithm can only show the locations of the data points and cannot convey the authors intent as a whole. In this case, you can specify description as what the author wants to say. 18 | * 19 | * @property Label\General $general 20 | * For the overall description of the chart. 21 | * 22 | * @property Label\Series $series 23 | * series-related configuration items. 24 | * 25 | * @property Label\Data $data 26 | * Data-related configuration items. 27 | * 28 | * {_more_} 29 | */ 30 | class Label extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Aria/Label/Data.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Aria\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property int $maxCount Default: 10 13 | * The maximum number of data occurrences per series in the description. 14 | * 15 | * @property string $allData Default: 'whose data is --' 16 | * Description to be used when all data is displayed. This item doesnt make all the data displayed. It can be achieved by setting aria.data.maxCount to Number.MAX_VALUE. 17 | * 18 | * @property string $partialData Default: 'where the first {displayCnt} term is --' 19 | * Descriptions used when only partial data is displayed. This includes template variables. 20 | * 21 | * {displayCnt}: the number of data that will be replaced with the number of displays. 22 | * 23 | * @property string $withName Default: 'The data for {name} is {value}' 24 | * This description is used if the data has the name attribute. This includes the template variable. 25 | * 26 | * {name}: name that will be replaced with the data. 27 | * {value}: the value that will be replaced with the data. 28 | * 29 | * @property string $withoutName Default: '{value}' 30 | * This description is used if the data does not have the name attribute. This includes the template variable. 31 | * 32 | * {value}: the value that will be replaced with the data. 33 | * 34 | * @property Data\Separator $separator 35 | * The separator between data and data description. 36 | * 37 | * {_more_} 38 | */ 39 | class Data extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Aria/Label/Data/Separator.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Aria\Label\Data; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $middle Default: ',' 13 | * The delimiter of the data except the last one. 14 | * 15 | * @property string $end Default: '' 16 | * The delimiter after the last data. 17 | * Note that usually the last series is followed by the series separator.end, so data.separator.end is an empty string in most cases. 18 | * 19 | * {_more_} 20 | */ 21 | class Separator extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Aria/Label/General.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Aria\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $withTitle Default: 'This is a chart about "{title}".' 13 | * If the chart exists title.text, then withTitle is used. This includes the template variable. 14 | * 15 | * {title}: will be replaced with title.text of the chart. 16 | * 17 | * @property string $withoutTitle Default: 'This is a chart,' 18 | * If the chart does not have title.text, then withoutTitle is used. 19 | * 20 | * {_more_} 21 | */ 22 | class General extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Aria/Label/Series.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Aria\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property int $maxCount Default: 10 13 | * The maximum number of series in the description. 14 | * 15 | * @property Series\Single $single 16 | * The description used when the chart contains only one series. 17 | * 18 | * @property Series\Multiple $multiple 19 | * Description to use when the chart contains only multiple series. 20 | * 21 | * {_more_} 22 | */ 23 | class Series extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Aria/Label/Series/Multiple.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Aria\Label\Series; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $prefix Default: '. It consists of {seriesCount} series count.' 13 | * A holistic description for all series is displayed before each series description. This includes the template variable. 14 | * 15 | * {seriesCount}: will be replaced with the number of series. 16 | * 17 | * @property string $withName Default: ' The {seriesId} series is a {seriesType} representing {seriesName}.' 18 | * This description is used if the series has the name attribute. This includes the template variable. 19 | * 20 | * {seriesName}: will be replaced with name of the series. 21 | * {seriesType}: the name of the type that will be replaced with the series, e.g. Bar chart, Line chart, etc. 22 | * 23 | * @property string $withoutName Default: ' The {seriesId} series is a {seriesType}.' 24 | * This description is used if the series has no name attribute. This includes the template variable. 25 | * 26 | * {seriesType}: the name of the type that will be replaced with the name of the series, e.g. Bar chart, Line chart, etc. 27 | * 28 | * @property Multiple\Separator $separator 29 | * The separator between the series and the description of the series. 30 | * 31 | * {_more_} 32 | */ 33 | class Multiple extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Aria/Label/Series/Multiple/Separator.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Aria\Label\Series\Multiple; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $middle Default: ';' 13 | * Except for the separator after the last series. 14 | * 15 | * @property string $end Default: '.' 16 | * Delimiter after the last series. 17 | * 18 | * {_more_} 19 | */ 20 | class Separator extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Aria/Label/Series/Single.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Aria\Label\Series; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $prefix Default: '' 13 | * Holistic descriptions for all series are shown before each series description. This includes template variables. 14 | * 15 | * {seriesCount}: will be replaced with the number of series, where it is always 1. 16 | * 17 | * @property string $withName Default: ' with type {seriesType} named {seriesName}.' 18 | * This description is used if the series has the name attribute. This includes the template variable. 19 | * 20 | * {seriesName}: will be replaced with name of the series. 21 | * {seriesType}: the name of the type that will be replaced with the series, e.g. Bar chart, Line chart, etc. 22 | * 23 | * @property string $withoutName Default: ' with type {seriesType}.' 24 | * This description is used if the series has no name attribute. This includes the template variable. 25 | * 26 | * {seriesType}: the name of the type that will be replaced with the series, e.g. Bar chart, Line chart, etc. 27 | * 28 | * {_more_} 29 | */ 30 | class Single extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/AxisPointer/ShadowStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\AxisPointer; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $color Default: 'rgba(150,150,150,0.3)' 13 | * 14 | * 15 | * Fill color. 16 | * 17 | * Supports setting as solid color using rgb(255,255,255), rgba(255,255,255,1), #fff, etc. Also supports setting as gradient color and pattern fill, see option.color for details 18 | * 19 | * @property int $shadowBlur 20 | * 21 | * 22 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 23 | * For example: 24 | * { 25 | * shadowColor: rgba(0, 0, 0, 0.5), 26 | * shadowBlur: 10 27 | * } 28 | * 29 | * @property string $shadowColor 30 | * 31 | * 32 | * Shadow color. Support same format as color. 33 | * 34 | * @property int $shadowOffsetX Default: 0 35 | * 36 | * 37 | * Offset distance on the horizontal direction of shadow. 38 | * 39 | * @property int $shadowOffsetY Default: 0 40 | * 41 | * 42 | * Offset distance on the vertical direction of shadow. 43 | * 44 | * @property int $opacity 45 | * 46 | * 47 | * Opacity of the component. Supports value from 0 to 1, and the component will not be drawn when set to 0. 48 | * 49 | * {_more_} 50 | */ 51 | class ShadowStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Calendar/DayLabel/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Calendar\DayLabel; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Calendar/MonthLabel/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Calendar\MonthLabel; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Calendar/SplitLine.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Calendar; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * 14 | * 15 | * Set this to false to prevent the splitLine from showing 16 | * 17 | * @property SplitLine\LineStyle $lineStyle 18 | * 19 | * 20 | * {_more_} 21 | */ 22 | class SplitLine extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Calendar/YearLabel/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Calendar\YearLabel; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/DataZoom/DataBackground.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\DataZoom; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property DataBackground\LineStyle $lineStyle 13 | * Line style of data shadow 14 | * 15 | * @property DataBackground\AreaStyle $areaStyle 16 | * Area style of data shadow 17 | * 18 | * {_more_} 19 | */ 20 | class DataBackground extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/DataZoom/DataBackground/AreaStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\DataZoom\DataBackground; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $color Default: 'd2dbee' 13 | * 14 | * 15 | * Fill color. 16 | * 17 | * Supports setting as solid color using rgb(255,255,255), rgba(255,255,255,1), #fff, etc. Also supports setting as gradient color and pattern fill, see option.color for details 18 | * 19 | * @property int $shadowBlur 20 | * 21 | * 22 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 23 | * For example: 24 | * { 25 | * shadowColor: rgba(0, 0, 0, 0.5), 26 | * shadowBlur: 10 27 | * } 28 | * 29 | * @property string $shadowColor 30 | * 31 | * 32 | * Shadow color. Support same format as color. 33 | * 34 | * @property int $shadowOffsetX Default: 0 35 | * 36 | * 37 | * Offset distance on the horizontal direction of shadow. 38 | * 39 | * @property int $shadowOffsetY Default: 0 40 | * 41 | * 42 | * Offset distance on the vertical direction of shadow. 43 | * 44 | * @property int $opacity Default: 0.2 45 | * 46 | * 47 | * Opacity of the component. Supports value from 0 to 1, and the component will not be drawn when set to 0. 48 | * 49 | * {_more_} 50 | */ 51 | class AreaStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/DataZoom/Emphasis.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\DataZoom; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Emphasis\HandleStyle $handleStyle 13 | * 14 | * 15 | * @property Emphasis\MoveHandleStyle $moveHandleStyle 16 | * 17 | * 18 | * {_more_} 19 | */ 20 | class Emphasis extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/DataZoom/SelectedDataBackground.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\DataZoom; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property SelectedDataBackground\LineStyle $lineStyle 13 | * Line style of selected data shadow. 14 | * 15 | * @property SelectedDataBackground\AreaStyle $areaStyle 16 | * Area style of selected data shadow. 17 | * 18 | * {_more_} 19 | */ 20 | class SelectedDataBackground extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/DataZoom/SelectedDataBackground/AreaStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\DataZoom\SelectedDataBackground; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $color Default: '#8fb0f7' 13 | * 14 | * 15 | * Fill color. 16 | * 17 | * Supports setting as solid color using rgb(255,255,255), rgba(255,255,255,1), #fff, etc. Also supports setting as gradient color and pattern fill, see option.color for details 18 | * 19 | * @property int $shadowBlur 20 | * 21 | * 22 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 23 | * For example: 24 | * { 25 | * shadowColor: rgba(0, 0, 0, 0.5), 26 | * shadowBlur: 10 27 | * } 28 | * 29 | * @property string $shadowColor 30 | * 31 | * 32 | * Shadow color. Support same format as color. 33 | * 34 | * @property int $shadowOffsetX Default: 0 35 | * 36 | * 37 | * Offset distance on the horizontal direction of shadow. 38 | * 39 | * @property int $shadowOffsetY Default: 0 40 | * 41 | * 42 | * Offset distance on the vertical direction of shadow. 43 | * 44 | * @property int $opacity Default: 0.2 45 | * 46 | * 47 | * Opacity of the component. Supports value from 0 to 1, and the component will not be drawn when set to 0. 48 | * 49 | * {_more_} 50 | */ 51 | class AreaStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Dataset/Transform.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Dataset; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $type Default: 'filter' 13 | * 14 | * 15 | * @property * $config 16 | * The condition of transform filter. 17 | * See the tutorial of data transform. 18 | * 19 | * @property boolean $print Default: false 20 | * When using data transform, we might run into the trouble that the final chart do not display correctly but we do not know where the config is wrong. There is a property transform.print might help in such case. (transform.print is only available in dev environment). 21 | * option = { 22 | * dataset: [{ 23 | * source: [ ... ] 24 | * }, { 25 | * transform: { 26 | * type: filter, 27 | * config: { ... } 28 | * // The result of this transform will be printed 29 | * // in dev tool via `console.log`. 30 | * print: true 31 | * } 32 | * }], 33 | * ... 34 | * } 35 | * 36 | * {_more_} 37 | */ 38 | class Transform extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Geo/Blur.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Geo; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Blur\Label $label 13 | * 14 | * 15 | * @property Blur\ItemStyle $itemStyle 16 | * 17 | * 18 | * {_more_} 19 | */ 20 | class Blur extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Geo/Blur/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Geo\Blur\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Geo/Emphasis.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Geo; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $disabled 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * Since v5.3.0 19 | * 20 | * Whether to disable the emphasis state. 21 | * When emphasis state is disabled. There will be no highlight effect when the mouse hovered the element, tooltip is triggered, or the legend is hovered. It can be used to improve interaction fluency when there are massive graphic elements. 22 | * 23 | * @property string $focus Default: 'none' 24 | * 25 | * Since v5.1.0 26 | * 27 | * When the data is highlighted, whether to fade out of other data to focus the highlighted. The following configurations are supported: 28 | * 29 | * none Do not fade out other data, its by default. 30 | * self Only focus (not fade out) the element of the currently highlighted data. 31 | * 32 | * Example: 33 | * emphasis: { 34 | * focus: self 35 | * } 36 | * 37 | * @property Emphasis\Label $label 38 | * 39 | * 40 | * @property Emphasis\ItemStyle $itemStyle 41 | * 42 | * 43 | * {_more_} 44 | */ 45 | class Emphasis extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Geo/Emphasis/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Geo\Emphasis\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Geo/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Geo\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Geo/Projection.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Geo; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property callable $project 13 | * (coord: [number, number]) => [number, number] 14 | * 15 | * Projection of latitude and longitude coordinates to other coordinates. 16 | * 17 | * @property callable $unproject 18 | * (point: [number, number]) => [number, number] 19 | * 20 | * Calculate the raw latitude and longitude coordinates from the projected coordinates 21 | * 22 | * @property callable $stream 23 | * This property is mainly used to adapt the stream interface used in d3-geo. After introducing stream, you can introduce both the Antimeridian Clipping and Adaptive Sampling algorithms implemented in d3-geo. 24 | * const projection = d3.geoProjection((x, y) => ([x, y / 0.75])) 25 | * .rotate([-115, 0]); 26 | * // ... 27 | * series: { 28 | * type: map, 29 | * projection: { 30 | * // We still need project and unproject when stream is provided. 31 | * project: (point) => projection(point), 32 | * unproject: (point) => projection.invert(point), 33 | * // We can directly use the stream method in d3 projection. 34 | * stream: projection.stream 35 | * } 36 | * } 37 | * 38 | * Note: stream is not required in the projection. 39 | * 40 | * {_more_} 41 | */ 42 | class Projection extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Geo/ScaleLimit.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Geo; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property int $min 13 | * Minimum scaling 14 | * 15 | * @property int $max 16 | * Maximum scaling 17 | * 18 | * {_more_} 19 | */ 20 | class ScaleLimit extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Geo/Select.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Geo; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $disabled 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * Since v5.3.0 19 | * 20 | * If data can be selected. Available when selectedMode is used. Can be used to disable selection for part of the data. 21 | * 22 | * @property Select\Label $label 23 | * 24 | * 25 | * @property Select\ItemStyle $itemStyle 26 | * 27 | * 28 | * {_more_} 29 | */ 30 | class Select extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Geo/Select/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Geo\Select\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Graphic.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $id 13 | * Component ID, not specified by default. If specified, it can be used to refer the component in option or API. 14 | * 15 | * @property array $elements 16 | * A list of all graphic elements. 17 | * Note, the standard configuration of graphic component is: 18 | * { 19 | * graphic: { 20 | * elements: [ 21 | * {type: rect, ...}, {type: circle, ...}, ... 22 | * ] 23 | * } 24 | * } 25 | * 26 | * But we always use short patterns for convenience: 27 | * { 28 | * graphic: { // Declare only one graphic element. 29 | * type: rect, 30 | * ... 31 | * } 32 | * } 33 | * 34 | * Or: 35 | * { 36 | * graphic: [ // Declare multiple graphic elements. 37 | * {type: rect, ...}, {type: circle, ...}, ... 38 | * ] 39 | * } 40 | * 41 | * {_more_} 42 | */ 43 | class Graphic extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Grid/Tooltip/AxisPointer/ShadowStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Grid\Tooltip\AxisPointer; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $color Default: 'rgba(150,150,150,0.3)' 13 | * 14 | * 15 | * Fill color. 16 | * 17 | * Supports setting as solid color using rgb(255,255,255), rgba(255,255,255,1), #fff, etc. Also supports setting as gradient color and pattern fill, see option.color for details 18 | * 19 | * @property int $shadowBlur 20 | * 21 | * 22 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 23 | * For example: 24 | * { 25 | * shadowColor: rgba(0, 0, 0, 0.5), 26 | * shadowBlur: 10 27 | * } 28 | * 29 | * @property string $shadowColor 30 | * 31 | * 32 | * Shadow color. Support same format as color. 33 | * 34 | * @property int $shadowOffsetX Default: 0 35 | * 36 | * 37 | * Offset distance on the horizontal direction of shadow. 38 | * 39 | * @property int $shadowOffsetY Default: 0 40 | * 41 | * 42 | * Offset distance on the vertical direction of shadow. 43 | * 44 | * @property int $opacity 45 | * 46 | * 47 | * Opacity of the component. Supports value from 0 to 1, and the component will not be drawn when set to 0. 48 | * 49 | * {_more_} 50 | */ 51 | class ShadowStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Legend/Emphasis.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Legend; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Emphasis\SelectorLabel $selectorLabel 13 | * 14 | * Since v4.4.0 15 | * 16 | * {_more_} 17 | */ 18 | class Emphasis extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Legend/Emphasis/SelectorLabel/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Legend\Emphasis\SelectorLabel; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Legend/SelectorLabel/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Legend\SelectorLabel; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Legend/TextStyle/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Legend\TextStyle; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Parallel/ParallelAxisDefault/AxisLabel/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Parallel\ParallelAxisDefault\AxisLabel; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Parallel/ParallelAxisDefault/AxisLine.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Parallel\ParallelAxisDefault; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * 14 | * 15 | * Set this to false to prevent the axis line from showing. 16 | * 17 | * @property string|array $symbol Default: 'none' 18 | * 19 | * 20 | * Symbol of the two ends of the axis. It could be a string, representing the same symbol for two ends; or an array with two string elements, representing the two ends separately. Its set to be none by default, meaning no arrow for either end. If it is set to be arrow, there shall be two arrows. If there should only one arrow at the end, it should set to be [none, arrow]. 21 | * 22 | * @property array $symbolSize Default: '[10, 15]' 23 | * 24 | * 25 | * Size of the arrows at two ends. The first is the width perpendicular to the axis, the next is the width parallel to the axis. 26 | * 27 | * @property array|int $symbolOffset Default: '[0, 0]' 28 | * 29 | * 30 | * Arrow offset of axis. If is array, the first number is the offset of the arrow at the beginning, and the second number is the offset of the arrow at the end. If is number, it means the arrows have the same offset. 31 | * 32 | * @property AxisLine\LineStyle $lineStyle 33 | * 34 | * 35 | * {_more_} 36 | */ 37 | class AxisLine extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Parallel/ParallelAxisDefault/AxisTick.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Parallel\ParallelAxisDefault; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * 14 | * 15 | * Set this to false to prevent the axis tick from showing. 16 | * 17 | * @property boolean $alignWithLabel Default: false 18 | * 19 | * 20 | * Align axis tick with label, which is available only when boundaryGap is set to be true in category axis. See the following picture: 21 | * 22 | * @property int|callable $interval Default: 'auto' 23 | * 24 | * 25 | * 26 | * 27 | * Interval of axisTick, which is available in category axis. is set to be the same as axisLabel.interval by default. 28 | * It uses a strategy that labels do not overlap by default. 29 | * You may set it to be 0 to display all labels compulsively. 30 | * If it is set to be 1, it means that labels are shown once after one label. And if it is set to be 2, it means labels are shown once after two labels, and so on. 31 | * On the other hand, you can control by callback function, whose format is shown below: 32 | * (index:number, value: string) => boolean 33 | * 34 | * The first parameter is index of category, and the second parameter is the name of category. The return values decides whether to display label. 35 | * 36 | * @property boolean $inside Default: false 37 | * 38 | * 39 | * Set this to true so the axis labels face the inside direction. 40 | * 41 | * @property int $length Default: 5 42 | * 43 | * 44 | * The length of the axis tick. 45 | * 46 | * @property AxisTick\LineStyle $lineStyle 47 | * Line style of axis ticks. 48 | * 49 | * {_more_} 50 | */ 51 | class AxisTick extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Parallel/ParallelAxisDefault/MinorTick.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Parallel\ParallelAxisDefault; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: false 13 | * 14 | * 15 | * If show minor ticks. 16 | * 17 | * @property int $splitNumber Default: 5 18 | * 19 | * 20 | * Number of interval splited by minor ticks. 21 | * 22 | * @property int $length Default: 3 23 | * 24 | * 25 | * Length of minor ticks lines。 26 | * 27 | * @property MinorTick\LineStyle $lineStyle 28 | * 29 | * 30 | * {_more_} 31 | */ 32 | class MinorTick extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Parallel/ParallelAxisDefault/NameTextStyle/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Parallel\ParallelAxisDefault\NameTextStyle; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/ParallelAxis/AreaSelectStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\ParallelAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property int $width Default: 20 13 | * 14 | * 15 | * Width of selecting box. 16 | * 17 | * @property int $borderWidth Default: 1 18 | * 19 | * 20 | * Border width of the select box. 21 | * 22 | * @property string $borderColor Default: 'rgba(160,197,232)' 23 | * 24 | * 25 | * Border color of the select box. 26 | * 27 | * @property string $color Default: 'rgba(160,197,232)' 28 | * 29 | * 30 | * Border fill color of the select box. 31 | * 32 | * @property int $opacity Default: 0.3 33 | * 34 | * 35 | * Opacity of the select box. 36 | * 37 | * {_more_} 38 | */ 39 | class AreaSelectStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/ParallelAxis/AxisLabel/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\ParallelAxis\AxisLabel; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/ParallelAxis/AxisLine.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\ParallelAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * 14 | * 15 | * Set this to false to prevent the axis line from showing. 16 | * 17 | * @property string|array $symbol Default: 'none' 18 | * 19 | * 20 | * Symbol of the two ends of the axis. It could be a string, representing the same symbol for two ends; or an array with two string elements, representing the two ends separately. Its set to be none by default, meaning no arrow for either end. If it is set to be arrow, there shall be two arrows. If there should only one arrow at the end, it should set to be [none, arrow]. 21 | * 22 | * @property array $symbolSize Default: '[10, 15]' 23 | * 24 | * 25 | * Size of the arrows at two ends. The first is the width perpendicular to the axis, the next is the width parallel to the axis. 26 | * 27 | * @property array|int $symbolOffset Default: '[0, 0]' 28 | * 29 | * 30 | * Arrow offset of axis. If is array, the first number is the offset of the arrow at the beginning, and the second number is the offset of the arrow at the end. If is number, it means the arrows have the same offset. 31 | * 32 | * @property AxisLine\LineStyle $lineStyle 33 | * 34 | * 35 | * {_more_} 36 | */ 37 | class AxisLine extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/ParallelAxis/AxisTick.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\ParallelAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * 14 | * 15 | * Set this to false to prevent the axis tick from showing. 16 | * 17 | * @property boolean $alignWithLabel Default: false 18 | * 19 | * 20 | * Align axis tick with label, which is available only when boundaryGap is set to be true in category axis. See the following picture: 21 | * 22 | * @property int|callable $interval Default: 'auto' 23 | * 24 | * 25 | * 26 | * 27 | * Interval of axisTick, which is available in category axis. is set to be the same as axisLabel.interval by default. 28 | * It uses a strategy that labels do not overlap by default. 29 | * You may set it to be 0 to display all labels compulsively. 30 | * If it is set to be 1, it means that labels are shown once after one label. And if it is set to be 2, it means labels are shown once after two labels, and so on. 31 | * On the other hand, you can control by callback function, whose format is shown below: 32 | * (index:number, value: string) => boolean 33 | * 34 | * The first parameter is index of category, and the second parameter is the name of category. The return values decides whether to display label. 35 | * 36 | * @property boolean $inside Default: false 37 | * 38 | * 39 | * Set this to true so the axis labels face the inside direction. 40 | * 41 | * @property int $length Default: 5 42 | * 43 | * 44 | * The length of the axis tick. 45 | * 46 | * @property AxisTick\LineStyle $lineStyle 47 | * Line style of axis ticks. 48 | * 49 | * {_more_} 50 | */ 51 | class AxisTick extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/ParallelAxis/MinorTick.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\ParallelAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: false 13 | * 14 | * 15 | * If show minor ticks. 16 | * 17 | * @property int $splitNumber Default: 5 18 | * 19 | * 20 | * Number of interval splited by minor ticks. 21 | * 22 | * @property int $length Default: 3 23 | * 24 | * 25 | * Length of minor ticks lines。 26 | * 27 | * @property MinorTick\LineStyle $lineStyle 28 | * 29 | * 30 | * {_more_} 31 | */ 32 | class MinorTick extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/ParallelAxis/NameTextStyle/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\ParallelAxis\NameTextStyle; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Polar/Tooltip/AxisPointer/ShadowStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Polar\Tooltip\AxisPointer; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $color Default: 'rgba(150,150,150,0.3)' 13 | * 14 | * 15 | * Fill color. 16 | * 17 | * Supports setting as solid color using rgb(255,255,255), rgba(255,255,255,1), #fff, etc. Also supports setting as gradient color and pattern fill, see option.color for details 18 | * 19 | * @property int $shadowBlur 20 | * 21 | * 22 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 23 | * For example: 24 | * { 25 | * shadowColor: rgba(0, 0, 0, 0.5), 26 | * shadowBlur: 10 27 | * } 28 | * 29 | * @property string $shadowColor 30 | * 31 | * 32 | * Shadow color. Support same format as color. 33 | * 34 | * @property int $shadowOffsetX Default: 0 35 | * 36 | * 37 | * Offset distance on the horizontal direction of shadow. 38 | * 39 | * @property int $shadowOffsetY Default: 0 40 | * 41 | * 42 | * Offset distance on the vertical direction of shadow. 43 | * 44 | * @property int $opacity 45 | * 46 | * 47 | * Opacity of the component. Supports value from 0 to 1, and the component will not be drawn when set to 0. 48 | * 49 | * {_more_} 50 | */ 51 | class ShadowStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Radar/AxisLabel/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Radar\AxisLabel; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Radar/AxisLine.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Radar; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * 14 | * 15 | * Set this to false to prevent the axis line from showing. 16 | * 17 | * @property string|array $symbol Default: 'none' 18 | * 19 | * 20 | * Symbol of the two ends of the axis. It could be a string, representing the same symbol for two ends; or an array with two string elements, representing the two ends separately. Its set to be none by default, meaning no arrow for either end. If it is set to be arrow, there shall be two arrows. If there should only one arrow at the end, it should set to be [none, arrow]. 21 | * 22 | * @property array $symbolSize Default: '[10, 15]' 23 | * 24 | * 25 | * Size of the arrows at two ends. The first is the width perpendicular to the axis, the next is the width parallel to the axis. 26 | * 27 | * @property array|int $symbolOffset Default: '[0, 0]' 28 | * 29 | * 30 | * Arrow offset of axis. If is array, the first number is the offset of the arrow at the beginning, and the second number is the offset of the arrow at the end. If is number, it means the arrows have the same offset. 31 | * 32 | * @property AxisLine\LineStyle $lineStyle 33 | * 34 | * 35 | * {_more_} 36 | */ 37 | class AxisLine extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Radar/AxisName/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Radar\AxisName; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Radar/AxisTick.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Radar; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * 14 | * 15 | * Set this to false to prevent the axis tick from showing. 16 | * 17 | * @property int $length Default: 5 18 | * 19 | * 20 | * The length of the axis tick. 21 | * 22 | * @property AxisTick\LineStyle $lineStyle 23 | * Line style of axis ticks. 24 | * 25 | * {_more_} 26 | */ 27 | class AxisTick extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Radar/SplitArea.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Radar; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * 14 | * 15 | * Set this to true to show the splitArea. 16 | * 17 | * @property SplitArea\AreaStyle $areaStyle 18 | * Split area style. 19 | * 20 | * {_more_} 21 | */ 22 | class SplitArea extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Radar/SplitArea/AreaStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Radar\SplitArea; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property array $color Default: '[\'rgba(250,250,250,0.3)\',\'rgba(200,200,200,0.3)\']' 13 | * Color of split area. 14 | * SplitArea color could also be set in color array, which the split lines would take as their colors in turns. Dark and light colors in turns are used by default. 15 | * 16 | * @property int $shadowBlur 17 | * 18 | * 19 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 20 | * For example: 21 | * { 22 | * shadowColor: rgba(0, 0, 0, 0.5), 23 | * shadowBlur: 10 24 | * } 25 | * 26 | * @property string $shadowColor 27 | * 28 | * 29 | * Shadow color. Support same format as color. 30 | * 31 | * @property int $shadowOffsetX Default: 0 32 | * 33 | * 34 | * Offset distance on the horizontal direction of shadow. 35 | * 36 | * @property int $shadowOffsetY Default: 0 37 | * 38 | * 39 | * Offset distance on the vertical direction of shadow. 40 | * 41 | * @property int $opacity 42 | * 43 | * 44 | * Opacity of the component. Supports value from 0 to 1, and the component will not be drawn when set to 0. 45 | * 46 | * {_more_} 47 | */ 48 | class AreaStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Radar/SplitLine.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Radar; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * 14 | * 15 | * Set this to false to prevent the splitLine from showing. 16 | * value type axes are shown by default, while category type axes are hidden. 17 | * 18 | * @property SplitLine\LineStyle $lineStyle 19 | * 20 | * 21 | * {_more_} 22 | */ 23 | class SplitLine extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/RadiusAxis/AxisLabel/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\RadiusAxis\AxisLabel; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/RadiusAxis/AxisLine.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\RadiusAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * 14 | * 15 | * Set this to false to prevent the axis line from showing. 16 | * 17 | * @property string|array $symbol Default: 'none' 18 | * 19 | * 20 | * Symbol of the two ends of the axis. It could be a string, representing the same symbol for two ends; or an array with two string elements, representing the two ends separately. Its set to be none by default, meaning no arrow for either end. If it is set to be arrow, there shall be two arrows. If there should only one arrow at the end, it should set to be [none, arrow]. 21 | * 22 | * @property array $symbolSize Default: '[10, 15]' 23 | * 24 | * 25 | * Size of the arrows at two ends. The first is the width perpendicular to the axis, the next is the width parallel to the axis. 26 | * 27 | * @property array|int $symbolOffset Default: '[0, 0]' 28 | * 29 | * 30 | * Arrow offset of axis. If is array, the first number is the offset of the arrow at the beginning, and the second number is the offset of the arrow at the end. If is number, it means the arrows have the same offset. 31 | * 32 | * @property AxisLine\LineStyle $lineStyle 33 | * 34 | * 35 | * {_more_} 36 | */ 37 | class AxisLine extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/RadiusAxis/AxisPointer/ShadowStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\RadiusAxis\AxisPointer; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $color Default: 'rgba(150,150,150,0.3)' 13 | * 14 | * 15 | * Fill color. 16 | * 17 | * Supports setting as solid color using rgb(255,255,255), rgba(255,255,255,1), #fff, etc. Also supports setting as gradient color and pattern fill, see option.color for details 18 | * 19 | * @property int $shadowBlur 20 | * 21 | * 22 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 23 | * For example: 24 | * { 25 | * shadowColor: rgba(0, 0, 0, 0.5), 26 | * shadowBlur: 10 27 | * } 28 | * 29 | * @property string $shadowColor 30 | * 31 | * 32 | * Shadow color. Support same format as color. 33 | * 34 | * @property int $shadowOffsetX Default: 0 35 | * 36 | * 37 | * Offset distance on the horizontal direction of shadow. 38 | * 39 | * @property int $shadowOffsetY Default: 0 40 | * 41 | * 42 | * Offset distance on the vertical direction of shadow. 43 | * 44 | * @property int $opacity 45 | * 46 | * 47 | * Opacity of the component. Supports value from 0 to 1, and the component will not be drawn when set to 0. 48 | * 49 | * {_more_} 50 | */ 51 | class ShadowStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/RadiusAxis/AxisTick.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\RadiusAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * 14 | * 15 | * Set this to false to prevent the axis tick from showing. 16 | * 17 | * @property boolean $alignWithLabel Default: false 18 | * 19 | * 20 | * Align axis tick with label, which is available only when boundaryGap is set to be true in category axis. See the following picture: 21 | * 22 | * @property int|callable $interval Default: 'auto' 23 | * 24 | * 25 | * 26 | * 27 | * Interval of axisTick, which is available in category axis. is set to be the same as axisLabel.interval by default. 28 | * It uses a strategy that labels do not overlap by default. 29 | * You may set it to be 0 to display all labels compulsively. 30 | * If it is set to be 1, it means that labels are shown once after one label. And if it is set to be 2, it means labels are shown once after two labels, and so on. 31 | * On the other hand, you can control by callback function, whose format is shown below: 32 | * (index:number, value: string) => boolean 33 | * 34 | * The first parameter is index of category, and the second parameter is the name of category. The return values decides whether to display label. 35 | * 36 | * @property boolean $inside Default: false 37 | * 38 | * 39 | * Set this to true so the axis labels face the inside direction. 40 | * 41 | * @property int $length Default: 5 42 | * 43 | * 44 | * The length of the axis tick. 45 | * 46 | * @property AxisTick\LineStyle $lineStyle 47 | * Line style of axis ticks. 48 | * 49 | * {_more_} 50 | */ 51 | class AxisTick extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/RadiusAxis/MinorSplitLine.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\RadiusAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: false 13 | * 14 | * 15 | * If show minor split lines. 16 | * 17 | * @property MinorSplitLine\LineStyle $lineStyle 18 | * 19 | * 20 | * {_more_} 21 | */ 22 | class MinorSplitLine extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/RadiusAxis/MinorTick.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\RadiusAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: false 13 | * 14 | * 15 | * If show minor ticks. 16 | * 17 | * @property int $splitNumber Default: 5 18 | * 19 | * 20 | * Number of interval splited by minor ticks. 21 | * 22 | * @property int $length Default: 3 23 | * 24 | * 25 | * Length of minor ticks lines。 26 | * 27 | * @property MinorTick\LineStyle $lineStyle 28 | * 29 | * 30 | * {_more_} 31 | */ 32 | class MinorTick extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/RadiusAxis/NameTextStyle/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\RadiusAxis\NameTextStyle; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/RadiusAxis/SplitArea.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\RadiusAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property int|callable $interval Default: 'auto' 13 | * 14 | * 15 | * 16 | * 17 | * Interval of Axis splitArea, which is available in category axis. is set to be the same as axisLabel.interval by default. 18 | * It uses a strategy that labels do not overlap by default. 19 | * You may set it to be 0 to display all labels compulsively. 20 | * If it is set to be 1, it means that labels are shown once after one label. And if it is set to be 2, it means labels are shown once after two labels, and so on. 21 | * On the other hand, you can control by callback function, whose format is shown below: 22 | * (index:number, value: string) => boolean 23 | * 24 | * The first parameter is index of category, and the second parameter is the name of category. The return values decides whether to display label. 25 | * 26 | * @property boolean $show Default: false 27 | * 28 | * 29 | * Set this to true to show the splitArea. 30 | * 31 | * @property SplitArea\AreaStyle $areaStyle 32 | * Split area style. 33 | * 34 | * {_more_} 35 | */ 36 | class SplitArea extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/RadiusAxis/SplitArea/AreaStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\RadiusAxis\SplitArea; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property array $color Default: '[\'rgba(250,250,250,0.3)\',\'rgba(200,200,200,0.3)\']' 13 | * Color of split area. 14 | * SplitArea color could also be set in color array, which the split lines would take as their colors in turns. Dark and light colors in turns are used by default. 15 | * 16 | * @property int $shadowBlur 17 | * 18 | * 19 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 20 | * For example: 21 | * { 22 | * shadowColor: rgba(0, 0, 0, 0.5), 23 | * shadowBlur: 10 24 | * } 25 | * 26 | * @property string $shadowColor 27 | * 28 | * 29 | * Shadow color. Support same format as color. 30 | * 31 | * @property int $shadowOffsetX Default: 0 32 | * 33 | * 34 | * Offset distance on the horizontal direction of shadow. 35 | * 36 | * @property int $shadowOffsetY Default: 0 37 | * 38 | * 39 | * Offset distance on the vertical direction of shadow. 40 | * 41 | * @property int $opacity 42 | * 43 | * 44 | * Opacity of the component. Supports value from 0 to 1, and the component will not be drawn when set to 0. 45 | * 46 | * {_more_} 47 | */ 48 | class AreaStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/RadiusAxis/SplitLine.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\RadiusAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * 14 | * 15 | * Set this to false to prevent the splitLine from showing. 16 | * value type axes are shown by default, while category type axes are hidden. 17 | * 18 | * @property int|callable $interval Default: 'auto' 19 | * 20 | * 21 | * 22 | * 23 | * Interval of Axis splitLine, which is available in category axis. is set to be the same as axisLabel.interval by default. 24 | * It uses a strategy that labels do not overlap by default. 25 | * You may set it to be 0 to display all labels compulsively. 26 | * If it is set to be 1, it means that labels are shown once after one label. And if it is set to be 2, it means labels are shown once after two labels, and so on. 27 | * On the other hand, you can control by callback function, whose format is shown below: 28 | * (index:number, value: string) => boolean 29 | * 30 | * The first parameter is index of category, and the second parameter is the name of category. The return values decides whether to display label. 31 | * 32 | * @property SplitLine\LineStyle $lineStyle 33 | * 34 | * 35 | * {_more_} 36 | */ 37 | class SplitLine extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/AxisLabel/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\AxisLabel; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/AxisLine.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * 14 | * 15 | * Whether to show the axis line of gauge chart. 16 | * 17 | * @property boolean $roundCap Default: false 18 | * 19 | * Since v5.0.0 20 | * 21 | * Whether to add round caps at the end. 22 | * 23 | * @property AxisLine\LineStyle $lineStyle 24 | * The style of the axis line of gauge chart. 25 | * 26 | * {_more_} 27 | */ 28 | class AxisLine extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/AxisLine/LineStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\AxisLine; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property array $color 13 | * The axis line of gauge chart can be divided to several segments in different colors. The end position and color of each segment can be expressed by an array. 14 | * Default value: 15 | * [[1, #E6EBF8]] 16 | * 17 | * Note: The value of color[i][0] means the percentage of the axis line of the gauge charts segments, which should be between 0 and 1, and color[i][1] is the corresponding color. 18 | * color: [ 19 | * [0.1, red], // 0~10% is red 20 | * [0.2, green], // 10~20% is green 21 | * [0.3, blue], // 20~30% is blue 22 | * // ... 23 | * ] 24 | * 25 | * @property int $width Default: 10 26 | * The width of axis line. 27 | * 28 | * @property int $shadowBlur 29 | * 30 | * 31 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 32 | * For example: 33 | * { 34 | * shadowColor: rgba(0, 0, 0, 0.5), 35 | * shadowBlur: 10 36 | * } 37 | * 38 | * @property string $shadowColor 39 | * 40 | * 41 | * Shadow color. Support same format as color. 42 | * 43 | * @property int $shadowOffsetX Default: 0 44 | * 45 | * 46 | * Offset distance on the horizontal direction of shadow. 47 | * 48 | * @property int $shadowOffsetY Default: 0 49 | * 50 | * 51 | * Offset distance on the vertical direction of shadow. 52 | * 53 | * @property int $opacity 54 | * 55 | * 56 | * Opacity of the component. Supports value from 0 to 1, and the component will not be drawn when set to 0. 57 | * 58 | * {_more_} 59 | */ 60 | class LineStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/AxisTick.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * 14 | * 15 | * Whether to show the scale. 16 | * 17 | * @property int $splitNumber Default: 5 18 | * 19 | * 20 | * The split scale number between split line. 21 | * 22 | * @property int|string $length Default: 6 23 | * 24 | * 25 | * The length of tick line, can be a pecentage value relative to radius. 26 | * 27 | * @property int $distance Default: 10 28 | * 29 | * Since v5.0 30 | * 31 | * 32 | * 33 | * The distance between the tick line and axis line. 34 | * 35 | * @property AxisTick\LineStyle $lineStyle 36 | * 37 | * 38 | * {_more_} 39 | */ 40 | class AxisTick extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Blur/AreaStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Blur; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $color Default: '"#000"' 13 | * 14 | * 15 | * Fill color. 16 | * 17 | * Supports setting as solid color using rgb(255,255,255), rgba(255,255,255,1), #fff, etc. Also supports setting as gradient color and pattern fill, see option.color for details 18 | * 19 | * @property int $shadowBlur 20 | * 21 | * 22 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 23 | * For example: 24 | * { 25 | * shadowColor: rgba(0, 0, 0, 0.5), 26 | * shadowBlur: 10 27 | * } 28 | * 29 | * @property string $shadowColor 30 | * 31 | * 32 | * Shadow color. Support same format as color. 33 | * 34 | * @property int $shadowOffsetX Default: 0 35 | * 36 | * 37 | * Offset distance on the horizontal direction of shadow. 38 | * 39 | * @property int $shadowOffsetY Default: 0 40 | * 41 | * 42 | * Offset distance on the vertical direction of shadow. 43 | * 44 | * @property int $opacity 45 | * 46 | * 47 | * Opacity of the component. Supports value from 0 to 1, and the component will not be drawn when set to 0. 48 | * 49 | * * @property int $shadowBlur 50 | * 51 | * 52 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 53 | * For example: 54 | * { 55 | * shadowColor: rgba(0, 0, 0, 0.5), 56 | * shadowBlur: 10 57 | * } 58 | * 59 | * @property string $shadowColor 60 | * 61 | * 62 | * Shadow color. Support same format as color. 63 | * 64 | * @property int $opacity 65 | * 66 | * 67 | * Opacity of the component. Supports value from 0 to 1, and the component will not be drawn when set to 0. 68 | * 69 | * {_more_} 70 | */ 71 | class AreaStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Blur/EdgeLabel/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Blur\EdgeLabel; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Blur/EndLabel/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Blur\EndLabel; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Blur/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Blur\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * * @property Rich\ $ 16 | * 17 | * 18 | * * @property Rich\ $ 19 | * 20 | * 21 | * * @property Rich\ $ 22 | * 23 | * 24 | * * @property Rich\ $ 25 | * 26 | * 27 | * * @property Rich\ $ 28 | * 29 | * 30 | * * @property Rich\ $ 31 | * 32 | * 33 | * * @property Rich\ $ 34 | * 35 | * 36 | * * @property Rich\ $ 37 | * 38 | * 39 | * * @property Rich\ $ 40 | * 41 | * 42 | * * @property Rich\ $ 43 | * 44 | * 45 | * * @property Rich\ $ 46 | * 47 | * 48 | * * @property Rich\ $ 49 | * 50 | * 51 | * * @property Rich\ $ 52 | * 53 | * 54 | * * @property Rich\ $ 55 | * 56 | * 57 | * * @property Rich\ $ 58 | * 59 | * 60 | * {_more_} 61 | */ 62 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Blur/LabelLine.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Blur; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show 13 | * 14 | * 15 | * Whether to show the label guide line. 16 | * 17 | * @property LabelLine\LineStyle $lineStyle 18 | * 19 | * 20 | * * @property boolean $show 21 | * 22 | * 23 | * Whether to show the label guide line. 24 | * 25 | * @property LabelLine\LineStyle $lineStyle 26 | * 27 | * 28 | * * @property boolean $show 29 | * 30 | * 31 | * Whether to show the label guide line. 32 | * 33 | * @property LabelLine\LineStyle $lineStyle 34 | * 35 | * 36 | * * @property boolean $show 37 | * 38 | * 39 | * Whether to show the label guide line. 40 | * 41 | * @property LabelLine\LineStyle $lineStyle 42 | * 43 | * 44 | * * @property boolean $show 45 | * 46 | * 47 | * Whether to show the label guide line. 48 | * 49 | * @property LabelLine\LineStyle $lineStyle 50 | * 51 | * 52 | * * @property boolean $show 53 | * 54 | * 55 | * Whether to show the label guide line. 56 | * 57 | * @property LabelLine\LineStyle $lineStyle 58 | * 59 | * 60 | * * @property boolean $show 61 | * 62 | * 63 | * Whether to show the label guide line. 64 | * 65 | * @property LabelLine\LineStyle $lineStyle 66 | * 67 | * 68 | * * @property boolean $show 69 | * Whether to show visual guide line. 70 | * 71 | * @property LabelLine\LineStyle $lineStyle 72 | * 73 | * 74 | * * @property boolean $show 75 | * 76 | * 77 | * Whether to show the label guide line. 78 | * 79 | * @property LabelLine\LineStyle $lineStyle 80 | * 81 | * 82 | * * @property boolean $show 83 | * 84 | * 85 | * Whether to show the label guide line. 86 | * 87 | * @property LabelLine\LineStyle $lineStyle 88 | * 89 | * 90 | * {_more_} 91 | */ 92 | class LabelLine extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Blur/UpperLabel/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Blur\UpperLabel; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Breadcrumb/Emphasis.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Breadcrumb; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Emphasis\ItemStyle $itemStyle 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Emphasis extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Breadcrumb/Emphasis/ItemStyle/TextStyle/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Breadcrumb\Emphasis\ItemStyle\TextStyle; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Breadcrumb/ItemStyle/TextStyle/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Breadcrumb\ItemStyle\TextStyle; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Circular.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $rotateLabel Default: false 13 | * 14 | * 15 | * Whether to rotate the label automatically. 16 | * 17 | * {_more_} 18 | */ 19 | class Circular extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Data/Blur.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Data; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Blur\ItemStyle $itemStyle 13 | * 该节点的样式。 14 | * 15 | * @property Blur\LineStyle $lineStyle 16 | * Defines the style of the tree edge. 17 | * 18 | * @property Blur\Label $label 19 | * 20 | * 21 | * {_more_} 22 | */ 23 | class Blur extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Data/Blur/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Data\Blur\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Data/Blur/LineStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Data\Blur; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $color Default: '#ccc' 13 | * 14 | * 15 | * The color of the tree edge. 16 | * 17 | * @property int $width Default: 1.5 18 | * 19 | * 20 | * The width of the tree edge. 21 | * 22 | * @property int $curveness Default: 0.5 23 | * 24 | * 25 | * The curvature of the tree edge. 26 | * 27 | * @property int $shadowBlur 28 | * 29 | * 30 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 31 | * For example: 32 | * { 33 | * shadowColor: rgba(0, 0, 0, 0.5), 34 | * shadowBlur: 10 35 | * } 36 | * 37 | * @property string $shadowColor 38 | * 39 | * 40 | * Shadow color. Support same format as color. 41 | * 42 | * @property int $shadowOffsetX Default: 0 43 | * 44 | * 45 | * Offset distance on the horizontal direction of shadow. 46 | * 47 | * @property int $shadowOffsetY Default: 0 48 | * 49 | * 50 | * Offset distance on the vertical direction of shadow. 51 | * 52 | * {_more_} 53 | */ 54 | class LineStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Data/Emphasis.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Data; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $disabled 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * Since v5.3.0 19 | * 20 | * Whether to disable the emphasis state. 21 | * When emphasis state is disabled. There will be no highlight effect when the mouse hovered the element, tooltip is triggered, or the legend is hovered. It can be used to improve interaction fluency when there are massive graphic elements. 22 | * 23 | * @property Emphasis\ItemStyle $itemStyle 24 | * 该节点的样式。 25 | * 26 | * @property Emphasis\LineStyle $lineStyle 27 | * Defines the style of the tree edge. 28 | * 29 | * @property Emphasis\Label $label 30 | * 31 | * 32 | * {_more_} 33 | */ 34 | class Emphasis extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Data/Emphasis/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Data\Emphasis\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Data/Emphasis/LineStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Data\Emphasis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $color Default: '#ccc' 13 | * 14 | * 15 | * The color of the tree edge. 16 | * 17 | * @property int $width Default: 1.5 18 | * 19 | * 20 | * The width of the tree edge. 21 | * 22 | * @property int $curveness Default: 0.5 23 | * 24 | * 25 | * The curvature of the tree edge. 26 | * 27 | * @property int $shadowBlur 28 | * 29 | * 30 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 31 | * For example: 32 | * { 33 | * shadowColor: rgba(0, 0, 0, 0.5), 34 | * shadowBlur: 10 35 | * } 36 | * 37 | * @property string $shadowColor 38 | * 39 | * 40 | * Shadow color. Support same format as color. 41 | * 42 | * @property int $shadowOffsetX Default: 0 43 | * 44 | * 45 | * Offset distance on the horizontal direction of shadow. 46 | * 47 | * @property int $shadowOffsetY Default: 0 48 | * 49 | * 50 | * Offset distance on the vertical direction of shadow. 51 | * 52 | * {_more_} 53 | */ 54 | class LineStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Data/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Data\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Data/LineStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Data; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $color Default: '#ccc' 13 | * 14 | * 15 | * The color of the tree edge. 16 | * 17 | * @property int $width Default: 1.5 18 | * 19 | * 20 | * The width of the tree edge. 21 | * 22 | * @property int $curveness Default: 0.5 23 | * 24 | * 25 | * The curvature of the tree edge. 26 | * 27 | * @property int $shadowBlur 28 | * 29 | * 30 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 31 | * For example: 32 | * { 33 | * shadowColor: rgba(0, 0, 0, 0.5), 34 | * shadowBlur: 10 35 | * } 36 | * 37 | * @property string $shadowColor 38 | * 39 | * 40 | * Shadow color. Support same format as color. 41 | * 42 | * @property int $shadowOffsetX Default: 0 43 | * 44 | * 45 | * Offset distance on the horizontal direction of shadow. 46 | * 47 | * @property int $shadowOffsetY Default: 0 48 | * 49 | * 50 | * Offset distance on the vertical direction of shadow. 51 | * 52 | * {_more_} 53 | */ 54 | class LineStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Data/Select.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Data; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $disabled 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * Since v5.3.0 19 | * 20 | * If data can be selected. Available when selectedMode is used. Can be used to disable selection for part of the data. 21 | * 22 | * @property Select\ItemStyle $itemStyle 23 | * 该节点的样式。 24 | * 25 | * @property Select\LineStyle $lineStyle 26 | * Defines the style of the tree edge. 27 | * 28 | * @property Select\Label $label 29 | * 30 | * 31 | * {_more_} 32 | */ 33 | class Select extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Data/Select/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Data\Select\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Data/Select/LineStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Data\Select; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $color Default: '#ccc' 13 | * 14 | * 15 | * The color of the tree edge. 16 | * 17 | * @property int $width Default: 1.5 18 | * 19 | * 20 | * The width of the tree edge. 21 | * 22 | * @property int $curveness Default: 0.5 23 | * 24 | * 25 | * The curvature of the tree edge. 26 | * 27 | * @property int $shadowBlur 28 | * 29 | * 30 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 31 | * For example: 32 | * { 33 | * shadowColor: rgba(0, 0, 0, 0.5), 34 | * shadowBlur: 10 35 | * } 36 | * 37 | * @property string $shadowColor 38 | * 39 | * 40 | * Shadow color. Support same format as color. 41 | * 42 | * @property int $shadowOffsetX Default: 0 43 | * 44 | * 45 | * Offset distance on the horizontal direction of shadow. 46 | * 47 | * @property int $shadowOffsetY Default: 0 48 | * 49 | * 50 | * Offset distance on the vertical direction of shadow. 51 | * 52 | * {_more_} 53 | */ 54 | class LineStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Detail/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Detail; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/EdgeLabel/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\EdgeLabel; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Emphasis/EdgeLabel/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Emphasis\EdgeLabel; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Emphasis/EndLabel/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Emphasis\EndLabel; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Emphasis/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Emphasis\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * * @property Rich\ $ 16 | * 17 | * 18 | * * @property Rich\ $ 19 | * 20 | * 21 | * * @property Rich\ $ 22 | * 23 | * 24 | * * @property Rich\ $ 25 | * 26 | * 27 | * * @property Rich\ $ 28 | * 29 | * 30 | * * @property Rich\ $ 31 | * 32 | * 33 | * * @property Rich\ $ 34 | * 35 | * 36 | * * @property Rich\ $ 37 | * 38 | * 39 | * * @property Rich\ $ 40 | * 41 | * 42 | * * @property Rich\ $ 43 | * 44 | * 45 | * * @property Rich\ $ 46 | * 47 | * 48 | * * @property Rich\ $ 49 | * 50 | * 51 | * * @property Rich\ $ 52 | * 53 | * 54 | * * @property Rich\ $ 55 | * 56 | * 57 | * * @property Rich\ $ 58 | * 59 | * 60 | * * @property Rich\ $ 61 | * 62 | * 63 | * {_more_} 64 | */ 65 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Emphasis/LabelLine.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Emphasis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show 13 | * 14 | * 15 | * Whether to show the label guide line. 16 | * 17 | * @property LabelLine\LineStyle $lineStyle 18 | * 19 | * 20 | * * @property boolean $show 21 | * 22 | * 23 | * Whether to show the label guide line. 24 | * 25 | * @property LabelLine\LineStyle $lineStyle 26 | * 27 | * 28 | * * @property boolean $show 29 | * 30 | * 31 | * Whether to show the label guide line. 32 | * 33 | * @property LabelLine\LineStyle $lineStyle 34 | * 35 | * 36 | * * @property boolean $show 37 | * 38 | * 39 | * Whether to show the label guide line. 40 | * 41 | * @property LabelLine\LineStyle $lineStyle 42 | * 43 | * 44 | * * @property boolean $show 45 | * 46 | * 47 | * Whether to show the label guide line. 48 | * 49 | * @property LabelLine\LineStyle $lineStyle 50 | * 51 | * 52 | * * @property boolean $show 53 | * 54 | * 55 | * Whether to show the label guide line. 56 | * 57 | * @property LabelLine\LineStyle $lineStyle 58 | * 59 | * 60 | * * @property boolean $show 61 | * 62 | * 63 | * Whether to show the label guide line. 64 | * 65 | * @property LabelLine\LineStyle $lineStyle 66 | * 67 | * 68 | * * @property boolean $show 69 | * Whether to show visual guide line. 70 | * 71 | * @property LabelLine\LineStyle $lineStyle 72 | * 73 | * 74 | * * @property boolean $show 75 | * 76 | * 77 | * Whether to show the label guide line. 78 | * 79 | * @property LabelLine\LineStyle $lineStyle 80 | * 81 | * 82 | * * @property boolean $show 83 | * 84 | * 85 | * Whether to show the label guide line. 86 | * 87 | * @property LabelLine\LineStyle $lineStyle 88 | * 89 | * 90 | * {_more_} 91 | */ 92 | class LabelLine extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Emphasis/UpperLabel/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Emphasis\UpperLabel; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/EndLabel/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\EndLabel; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * * @property Rich\ $ 16 | * 17 | * 18 | * * @property Rich\ $ 19 | * 20 | * 21 | * * @property Rich\ $ 22 | * 23 | * 24 | * * @property Rich\ $ 25 | * 26 | * 27 | * * @property Rich\ $ 28 | * 29 | * 30 | * * @property Rich\ $ 31 | * 32 | * 33 | * * @property Rich\ $ 34 | * 35 | * 36 | * * @property Rich\ $ 37 | * 38 | * 39 | * * @property Rich\ $ 40 | * 41 | * 42 | * * @property Rich\ $ 43 | * 44 | * 45 | * * @property Rich\ $ 46 | * 47 | * 48 | * * @property Rich\ $ 49 | * 50 | * 51 | * * @property Rich\ $ 52 | * 53 | * 54 | * * @property Rich\ $ 55 | * 56 | * 57 | * * @property Rich\ $ 58 | * 59 | * 60 | * * @property Rich\ $ 61 | * 62 | * 63 | * {_more_} 64 | */ 65 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Leaves.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Leaves\Label $label 13 | * Describes the style of the text label corresponding to the leaf node. 14 | * 15 | * @property Leaves\ItemStyle $itemStyle 16 | * The style of the leaf node in the tree. 17 | * 18 | * @property Leaves\Emphasis $emphasis 19 | * Emphasis state of leaves nodes. 20 | * 21 | * @property Leaves\Blur $blur 22 | * 23 | * Since v5.0.0 24 | * 25 | * Blur state of leaves nodes. 26 | * 27 | * @property Leaves\Select $select 28 | * 29 | * Since v5.0.0 30 | * 31 | * Select state of leaves nodes. 32 | * 33 | * {_more_} 34 | */ 35 | class Leaves extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Leaves/Blur.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Leaves; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Blur\ItemStyle $itemStyle 13 | * 该节点的样式。 14 | * 15 | * @property Blur\LineStyle $lineStyle 16 | * Defines the style of the tree edge. 17 | * 18 | * @property Blur\Label $label 19 | * 20 | * 21 | * {_more_} 22 | */ 23 | class Blur extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Leaves/Blur/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Leaves\Blur\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Leaves/Blur/LineStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Leaves\Blur; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $color Default: '#ccc' 13 | * 14 | * 15 | * The color of the tree edge. 16 | * 17 | * @property int $width Default: 1.5 18 | * 19 | * 20 | * The width of the tree edge. 21 | * 22 | * @property int $curveness Default: 0.5 23 | * 24 | * 25 | * The curvature of the tree edge. 26 | * 27 | * @property int $shadowBlur 28 | * 29 | * 30 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 31 | * For example: 32 | * { 33 | * shadowColor: rgba(0, 0, 0, 0.5), 34 | * shadowBlur: 10 35 | * } 36 | * 37 | * @property string $shadowColor 38 | * 39 | * 40 | * Shadow color. Support same format as color. 41 | * 42 | * @property int $shadowOffsetX Default: 0 43 | * 44 | * 45 | * Offset distance on the horizontal direction of shadow. 46 | * 47 | * @property int $shadowOffsetY Default: 0 48 | * 49 | * 50 | * Offset distance on the vertical direction of shadow. 51 | * 52 | * {_more_} 53 | */ 54 | class LineStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Leaves/Emphasis.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Leaves; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $disabled 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * Since v5.3.0 19 | * 20 | * Whether to disable the emphasis state. 21 | * When emphasis state is disabled. There will be no highlight effect when the mouse hovered the element, tooltip is triggered, or the legend is hovered. It can be used to improve interaction fluency when there are massive graphic elements. 22 | * 23 | * @property Emphasis\ItemStyle $itemStyle 24 | * 该节点的样式。 25 | * 26 | * @property Emphasis\LineStyle $lineStyle 27 | * Defines the style of the tree edge. 28 | * 29 | * @property Emphasis\Label $label 30 | * 31 | * 32 | * {_more_} 33 | */ 34 | class Emphasis extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Leaves/Emphasis/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Leaves\Emphasis\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Leaves/Emphasis/LineStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Leaves\Emphasis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $color Default: '#ccc' 13 | * 14 | * 15 | * The color of the tree edge. 16 | * 17 | * @property int $width Default: 1.5 18 | * 19 | * 20 | * The width of the tree edge. 21 | * 22 | * @property int $curveness Default: 0.5 23 | * 24 | * 25 | * The curvature of the tree edge. 26 | * 27 | * @property int $shadowBlur 28 | * 29 | * 30 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 31 | * For example: 32 | * { 33 | * shadowColor: rgba(0, 0, 0, 0.5), 34 | * shadowBlur: 10 35 | * } 36 | * 37 | * @property string $shadowColor 38 | * 39 | * 40 | * Shadow color. Support same format as color. 41 | * 42 | * @property int $shadowOffsetX Default: 0 43 | * 44 | * 45 | * Offset distance on the horizontal direction of shadow. 46 | * 47 | * @property int $shadowOffsetY Default: 0 48 | * 49 | * 50 | * Offset distance on the vertical direction of shadow. 51 | * 52 | * {_more_} 53 | */ 54 | class LineStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Leaves/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Leaves\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Leaves/Select.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Leaves; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $disabled 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * Since v5.3.0 19 | * 20 | * If data can be selected. Available when selectedMode is used. Can be used to disable selection for part of the data. 21 | * 22 | * @property Select\ItemStyle $itemStyle 23 | * 该节点的样式。 24 | * 25 | * @property Select\LineStyle $lineStyle 26 | * Defines the style of the tree edge. 27 | * 28 | * @property Select\Label $label 29 | * 30 | * 31 | * {_more_} 32 | */ 33 | class Select extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Leaves/Select/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Leaves\Select\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Leaves/Select/LineStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Leaves\Select; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $color Default: '#ccc' 13 | * 14 | * 15 | * The color of the tree edge. 16 | * 17 | * @property int $width Default: 1.5 18 | * 19 | * 20 | * The width of the tree edge. 21 | * 22 | * @property int $curveness Default: 0.5 23 | * 24 | * 25 | * The curvature of the tree edge. 26 | * 27 | * @property int $shadowBlur 28 | * 29 | * 30 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 31 | * For example: 32 | * { 33 | * shadowColor: rgba(0, 0, 0, 0.5), 34 | * shadowBlur: 10 35 | * } 36 | * 37 | * @property string $shadowColor 38 | * 39 | * 40 | * Shadow color. Support same format as color. 41 | * 42 | * @property int $shadowOffsetX Default: 0 43 | * 44 | * 45 | * Offset distance on the horizontal direction of shadow. 46 | * 47 | * @property int $shadowOffsetY Default: 0 48 | * 49 | * 50 | * Offset distance on the vertical direction of shadow. 51 | * 52 | * {_more_} 53 | */ 54 | class LineStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/MarkArea/Blur.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\MarkArea; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Blur\Label $label 13 | * 14 | * 15 | * @property Blur\ItemStyle $itemStyle 16 | * 17 | * 18 | * * @property Blur\Label $label 19 | * 20 | * 21 | * @property Blur\ItemStyle $itemStyle 22 | * 23 | * 24 | * * @property Blur\Label $label 25 | * 26 | * 27 | * @property Blur\ItemStyle $itemStyle 28 | * 29 | * 30 | * * @property Blur\Label $label 31 | * 32 | * 33 | * @property Blur\ItemStyle $itemStyle 34 | * 35 | * 36 | * * @property Blur\Label $label 37 | * 38 | * 39 | * @property Blur\ItemStyle $itemStyle 40 | * 41 | * 42 | * * @property Blur\Label $label 43 | * 44 | * 45 | * @property Blur\ItemStyle $itemStyle 46 | * 47 | * 48 | * * @property Blur\Label $label 49 | * 50 | * 51 | * @property Blur\ItemStyle $itemStyle 52 | * 53 | * 54 | * * @property Blur\Label $label 55 | * 56 | * 57 | * @property Blur\ItemStyle $itemStyle 58 | * 59 | * 60 | * * @property Blur\Label $label 61 | * 62 | * 63 | * @property Blur\ItemStyle $itemStyle 64 | * 65 | * 66 | * * @property Blur\Label $label 67 | * 68 | * 69 | * @property Blur\ItemStyle $itemStyle 70 | * 71 | * 72 | * * @property Blur\Label $label 73 | * 74 | * 75 | * @property Blur\ItemStyle $itemStyle 76 | * 77 | * 78 | * * @property Blur\Label $label 79 | * 80 | * 81 | * @property Blur\ItemStyle $itemStyle 82 | * 83 | * 84 | * * @property Blur\Label $label 85 | * 86 | * 87 | * @property Blur\ItemStyle $itemStyle 88 | * 89 | * 90 | * {_more_} 91 | */ 92 | class Blur extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/MarkArea/Blur/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\MarkArea\Blur\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * * @property Rich\ $ 16 | * 17 | * 18 | * * @property Rich\ $ 19 | * 20 | * 21 | * * @property Rich\ $ 22 | * 23 | * 24 | * * @property Rich\ $ 25 | * 26 | * 27 | * * @property Rich\ $ 28 | * 29 | * 30 | * * @property Rich\ $ 31 | * 32 | * 33 | * * @property Rich\ $ 34 | * 35 | * 36 | * * @property Rich\ $ 37 | * 38 | * 39 | * * @property Rich\ $ 40 | * 41 | * 42 | * * @property Rich\ $ 43 | * 44 | * 45 | * * @property Rich\ $ 46 | * 47 | * 48 | * * @property Rich\ $ 49 | * 50 | * 51 | * {_more_} 52 | */ 53 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/MarkArea/Emphasis/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\MarkArea\Emphasis\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * * @property Rich\ $ 16 | * 17 | * 18 | * * @property Rich\ $ 19 | * 20 | * 21 | * * @property Rich\ $ 22 | * 23 | * 24 | * * @property Rich\ $ 25 | * 26 | * 27 | * * @property Rich\ $ 28 | * 29 | * 30 | * * @property Rich\ $ 31 | * 32 | * 33 | * * @property Rich\ $ 34 | * 35 | * 36 | * * @property Rich\ $ 37 | * 38 | * 39 | * * @property Rich\ $ 40 | * 41 | * 42 | * * @property Rich\ $ 43 | * 44 | * 45 | * * @property Rich\ $ 46 | * 47 | * 48 | * * @property Rich\ $ 49 | * 50 | * 51 | * {_more_} 52 | */ 53 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/MarkArea/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\MarkArea\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * * @property Rich\ $ 16 | * 17 | * 18 | * * @property Rich\ $ 19 | * 20 | * 21 | * * @property Rich\ $ 22 | * 23 | * 24 | * * @property Rich\ $ 25 | * 26 | * 27 | * * @property Rich\ $ 28 | * 29 | * 30 | * * @property Rich\ $ 31 | * 32 | * 33 | * * @property Rich\ $ 34 | * 35 | * 36 | * * @property Rich\ $ 37 | * 38 | * 39 | * * @property Rich\ $ 40 | * 41 | * 42 | * * @property Rich\ $ 43 | * 44 | * 45 | * * @property Rich\ $ 46 | * 47 | * 48 | * * @property Rich\ $ 49 | * 50 | * 51 | * {_more_} 52 | */ 53 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/MarkLine/Blur.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\MarkLine; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Blur\Label $label 13 | * 14 | * 15 | * @property Blur\LineStyle $lineStyle 16 | * 17 | * 18 | * * @property Blur\Label $label 19 | * 20 | * 21 | * @property Blur\LineStyle $lineStyle 22 | * 23 | * 24 | * * @property Blur\Label $label 25 | * 26 | * 27 | * @property Blur\LineStyle $lineStyle 28 | * 29 | * 30 | * * @property Blur\Label $label 31 | * 32 | * 33 | * @property Blur\LineStyle $lineStyle 34 | * 35 | * 36 | * * @property Blur\Label $label 37 | * 38 | * 39 | * @property Blur\LineStyle $lineStyle 40 | * 41 | * 42 | * * @property Blur\Label $label 43 | * 44 | * 45 | * @property Blur\LineStyle $lineStyle 46 | * 47 | * 48 | * * @property Blur\Label $label 49 | * 50 | * 51 | * @property Blur\LineStyle $lineStyle 52 | * 53 | * 54 | * * @property Blur\Label $label 55 | * 56 | * 57 | * @property Blur\LineStyle $lineStyle 58 | * 59 | * 60 | * * @property Blur\Label $label 61 | * 62 | * 63 | * @property Blur\LineStyle $lineStyle 64 | * 65 | * 66 | * * @property Blur\Label $label 67 | * 68 | * 69 | * @property Blur\LineStyle $lineStyle 70 | * 71 | * 72 | * * @property Blur\Label $label 73 | * 74 | * 75 | * @property Blur\LineStyle $lineStyle 76 | * 77 | * 78 | * * @property Blur\Label $label 79 | * 80 | * 81 | * @property Blur\LineStyle $lineStyle 82 | * 83 | * 84 | * * @property Blur\Label $label 85 | * 86 | * 87 | * @property Blur\LineStyle $lineStyle 88 | * 89 | * 90 | * {_more_} 91 | */ 92 | class Blur extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/MarkLine/Blur/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\MarkLine\Blur\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * * @property Rich\ $ 16 | * 17 | * 18 | * * @property Rich\ $ 19 | * 20 | * 21 | * * @property Rich\ $ 22 | * 23 | * 24 | * * @property Rich\ $ 25 | * 26 | * 27 | * * @property Rich\ $ 28 | * 29 | * 30 | * * @property Rich\ $ 31 | * 32 | * 33 | * * @property Rich\ $ 34 | * 35 | * 36 | * * @property Rich\ $ 37 | * 38 | * 39 | * * @property Rich\ $ 40 | * 41 | * 42 | * * @property Rich\ $ 43 | * 44 | * 45 | * * @property Rich\ $ 46 | * 47 | * 48 | * * @property Rich\ $ 49 | * 50 | * 51 | * {_more_} 52 | */ 53 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/MarkLine/Emphasis/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\MarkLine\Emphasis\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * * @property Rich\ $ 16 | * 17 | * 18 | * * @property Rich\ $ 19 | * 20 | * 21 | * * @property Rich\ $ 22 | * 23 | * 24 | * * @property Rich\ $ 25 | * 26 | * 27 | * * @property Rich\ $ 28 | * 29 | * 30 | * * @property Rich\ $ 31 | * 32 | * 33 | * * @property Rich\ $ 34 | * 35 | * 36 | * * @property Rich\ $ 37 | * 38 | * 39 | * * @property Rich\ $ 40 | * 41 | * 42 | * * @property Rich\ $ 43 | * 44 | * 45 | * * @property Rich\ $ 46 | * 47 | * 48 | * * @property Rich\ $ 49 | * 50 | * 51 | * {_more_} 52 | */ 53 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/MarkLine/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\MarkLine\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * * @property Rich\ $ 16 | * 17 | * 18 | * * @property Rich\ $ 19 | * 20 | * 21 | * * @property Rich\ $ 22 | * 23 | * 24 | * * @property Rich\ $ 25 | * 26 | * 27 | * * @property Rich\ $ 28 | * 29 | * 30 | * * @property Rich\ $ 31 | * 32 | * 33 | * * @property Rich\ $ 34 | * 35 | * 36 | * * @property Rich\ $ 37 | * 38 | * 39 | * * @property Rich\ $ 40 | * 41 | * 42 | * * @property Rich\ $ 43 | * 44 | * 45 | * * @property Rich\ $ 46 | * 47 | * 48 | * * @property Rich\ $ 49 | * 50 | * 51 | * {_more_} 52 | */ 53 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/MarkPoint/Blur.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\MarkPoint; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Blur\Label $label 13 | * 14 | * 15 | * @property Blur\ItemStyle $itemStyle 16 | * 17 | * 18 | * * @property Blur\Label $label 19 | * 20 | * 21 | * @property Blur\ItemStyle $itemStyle 22 | * 23 | * 24 | * * @property Blur\Label $label 25 | * 26 | * 27 | * @property Blur\ItemStyle $itemStyle 28 | * 29 | * 30 | * * @property Blur\Label $label 31 | * 32 | * 33 | * @property Blur\ItemStyle $itemStyle 34 | * 35 | * 36 | * * @property Blur\Label $label 37 | * 38 | * 39 | * @property Blur\ItemStyle $itemStyle 40 | * 41 | * 42 | * * @property Blur\Label $label 43 | * 44 | * 45 | * @property Blur\ItemStyle $itemStyle 46 | * 47 | * 48 | * * @property Blur\Label $label 49 | * 50 | * 51 | * @property Blur\ItemStyle $itemStyle 52 | * 53 | * 54 | * * @property Blur\Label $label 55 | * 56 | * 57 | * @property Blur\ItemStyle $itemStyle 58 | * 59 | * 60 | * * @property Blur\Label $label 61 | * 62 | * 63 | * @property Blur\ItemStyle $itemStyle 64 | * 65 | * 66 | * * @property Blur\Label $label 67 | * 68 | * 69 | * @property Blur\ItemStyle $itemStyle 70 | * 71 | * 72 | * * @property Blur\Label $label 73 | * 74 | * 75 | * @property Blur\ItemStyle $itemStyle 76 | * 77 | * 78 | * * @property Blur\Label $label 79 | * 80 | * 81 | * @property Blur\ItemStyle $itemStyle 82 | * 83 | * 84 | * * @property Blur\Label $label 85 | * 86 | * 87 | * @property Blur\ItemStyle $itemStyle 88 | * 89 | * 90 | * {_more_} 91 | */ 92 | class Blur extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/MarkPoint/Blur/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\MarkPoint\Blur\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * * @property Rich\ $ 16 | * 17 | * 18 | * * @property Rich\ $ 19 | * 20 | * 21 | * * @property Rich\ $ 22 | * 23 | * 24 | * * @property Rich\ $ 25 | * 26 | * 27 | * * @property Rich\ $ 28 | * 29 | * 30 | * * @property Rich\ $ 31 | * 32 | * 33 | * * @property Rich\ $ 34 | * 35 | * 36 | * * @property Rich\ $ 37 | * 38 | * 39 | * * @property Rich\ $ 40 | * 41 | * 42 | * * @property Rich\ $ 43 | * 44 | * 45 | * * @property Rich\ $ 46 | * 47 | * 48 | * * @property Rich\ $ 49 | * 50 | * 51 | * {_more_} 52 | */ 53 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/MarkPoint/Emphasis/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\MarkPoint\Emphasis\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * * @property Rich\ $ 16 | * 17 | * 18 | * * @property Rich\ $ 19 | * 20 | * 21 | * * @property Rich\ $ 22 | * 23 | * 24 | * * @property Rich\ $ 25 | * 26 | * 27 | * * @property Rich\ $ 28 | * 29 | * 30 | * * @property Rich\ $ 31 | * 32 | * 33 | * * @property Rich\ $ 34 | * 35 | * 36 | * * @property Rich\ $ 37 | * 38 | * 39 | * * @property Rich\ $ 40 | * 41 | * 42 | * * @property Rich\ $ 43 | * 44 | * 45 | * * @property Rich\ $ 46 | * 47 | * 48 | * * @property Rich\ $ 49 | * 50 | * 51 | * {_more_} 52 | */ 53 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/MarkPoint/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\MarkPoint\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * * @property Rich\ $ 16 | * 17 | * 18 | * * @property Rich\ $ 19 | * 20 | * 21 | * * @property Rich\ $ 22 | * 23 | * 24 | * * @property Rich\ $ 25 | * 26 | * 27 | * * @property Rich\ $ 28 | * 29 | * 30 | * * @property Rich\ $ 31 | * 32 | * 33 | * * @property Rich\ $ 34 | * 35 | * 36 | * * @property Rich\ $ 37 | * 38 | * 39 | * * @property Rich\ $ 40 | * 41 | * 42 | * * @property Rich\ $ 43 | * 44 | * 45 | * * @property Rich\ $ 46 | * 47 | * 48 | * * @property Rich\ $ 49 | * 50 | * 51 | * {_more_} 52 | */ 53 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Progress.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: false 13 | * 14 | * 15 | * Whether to show the progress of gauge chart. 16 | * 17 | * @property boolean $overlap Default: true 18 | * 19 | * 20 | * Whether the progress overlaps when there are multiple groups of data. 21 | * 22 | * @property int $width Default: 10 23 | * 24 | * 25 | * The width of progress. 26 | * 27 | * @property boolean $roundCap Default: false 28 | * Whether to add round caps at the end 29 | * 30 | * @property boolean $clip Default: false 31 | * Whether to clip overflow. 32 | * 33 | * @property Progress\ItemStyle $itemStyle 34 | * The style of progress. 35 | * 36 | * {_more_} 37 | */ 38 | class Progress extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Projection.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property callable $project 13 | * (coord: [number, number]) => [number, number] 14 | * 15 | * Projection of latitude and longitude coordinates to other coordinates. 16 | * 17 | * @property callable $unproject 18 | * (point: [number, number]) => [number, number] 19 | * 20 | * Calculate the raw latitude and longitude coordinates from the projected coordinates 21 | * 22 | * @property callable $stream 23 | * This property is mainly used to adapt the stream interface used in d3-geo. After introducing stream, you can introduce both the Antimeridian Clipping and Adaptive Sampling algorithms implemented in d3-geo. 24 | * const projection = d3.geoProjection((x, y) => ([x, y / 0.75])) 25 | * .rotate([-115, 0]); 26 | * // ... 27 | * series: { 28 | * type: map, 29 | * projection: { 30 | * // We still need project and unproject when stream is provided. 31 | * project: (point) => projection(point), 32 | * unproject: (point) => projection.invert(point), 33 | * // We can directly use the stream method in d3 projection. 34 | * stream: projection.stream 35 | * } 36 | * } 37 | * 38 | * Note: stream is not required in the projection. 39 | * 40 | * {_more_} 41 | */ 42 | class Projection extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/RippleEffect.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $color 13 | * 14 | * Since v4.4.0 15 | * 16 | * 17 | * 18 | * Color of the ripple rings. The default value is the color of scatter. 19 | * 20 | * @property int $number Default: 3 21 | * 22 | * Since v5.2.0 23 | * 24 | * 25 | * 26 | * The number of ripples. 27 | * 28 | * @property int $period Default: 4 29 | * 30 | * 31 | * The period duration of animation, in seconds. 32 | * 33 | * @property int $scale Default: 2.5 34 | * 35 | * 36 | * The maximum zooming scale of ripples in animation. 37 | * 38 | * @property string $brushType Default: 'fill' 39 | * 40 | * 41 | * The brush type for ripples. options: stroke and fill. 42 | * 43 | * {_more_} 44 | */ 45 | class RippleEffect extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/ScaleLimit.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property int $min 13 | * Minimum scaling 14 | * 15 | * @property int $max 16 | * Maximum scaling 17 | * 18 | * {_more_} 19 | */ 20 | class ScaleLimit extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Select/AreaStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Select; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $color Default: '"#000"' 13 | * 14 | * 15 | * Fill color. 16 | * 17 | * Supports setting as solid color using rgb(255,255,255), rgba(255,255,255,1), #fff, etc. Also supports setting as gradient color and pattern fill, see option.color for details 18 | * 19 | * @property int $shadowBlur 20 | * 21 | * 22 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 23 | * For example: 24 | * { 25 | * shadowColor: rgba(0, 0, 0, 0.5), 26 | * shadowBlur: 10 27 | * } 28 | * 29 | * @property string $shadowColor 30 | * 31 | * 32 | * Shadow color. Support same format as color. 33 | * 34 | * @property int $shadowOffsetX Default: 0 35 | * 36 | * 37 | * Offset distance on the horizontal direction of shadow. 38 | * 39 | * @property int $shadowOffsetY Default: 0 40 | * 41 | * 42 | * Offset distance on the vertical direction of shadow. 43 | * 44 | * @property int $opacity 45 | * 46 | * 47 | * Opacity of the component. Supports value from 0 to 1, and the component will not be drawn when set to 0. 48 | * 49 | * * @property int $shadowBlur 50 | * 51 | * 52 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 53 | * For example: 54 | * { 55 | * shadowColor: rgba(0, 0, 0, 0.5), 56 | * shadowBlur: 10 57 | * } 58 | * 59 | * @property string $shadowColor 60 | * 61 | * 62 | * Shadow color. Support same format as color. 63 | * 64 | * @property int $opacity 65 | * 66 | * 67 | * Opacity of the component. Supports value from 0 to 1, and the component will not be drawn when set to 0. 68 | * 69 | * {_more_} 70 | */ 71 | class AreaStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Select/EdgeLabel/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Select\EdgeLabel; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Select/EndLabel/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Select\EndLabel; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Select/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Select\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * * @property Rich\ $ 16 | * 17 | * 18 | * * @property Rich\ $ 19 | * 20 | * 21 | * * @property Rich\ $ 22 | * 23 | * 24 | * * @property Rich\ $ 25 | * 26 | * 27 | * * @property Rich\ $ 28 | * 29 | * 30 | * * @property Rich\ $ 31 | * 32 | * 33 | * * @property Rich\ $ 34 | * 35 | * 36 | * * @property Rich\ $ 37 | * 38 | * 39 | * * @property Rich\ $ 40 | * 41 | * 42 | * * @property Rich\ $ 43 | * 44 | * 45 | * * @property Rich\ $ 46 | * 47 | * 48 | * * @property Rich\ $ 49 | * 50 | * 51 | * * @property Rich\ $ 52 | * 53 | * 54 | * * @property Rich\ $ 55 | * 56 | * 57 | * * @property Rich\ $ 58 | * 59 | * 60 | * {_more_} 61 | */ 62 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Select/LabelLine.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Select; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show 13 | * 14 | * 15 | * Whether to show the label guide line. 16 | * 17 | * @property LabelLine\LineStyle $lineStyle 18 | * 19 | * 20 | * * @property boolean $show 21 | * 22 | * 23 | * Whether to show the label guide line. 24 | * 25 | * @property LabelLine\LineStyle $lineStyle 26 | * 27 | * 28 | * * @property boolean $show 29 | * 30 | * 31 | * Whether to show the label guide line. 32 | * 33 | * @property LabelLine\LineStyle $lineStyle 34 | * 35 | * 36 | * * @property boolean $show 37 | * 38 | * 39 | * Whether to show the label guide line. 40 | * 41 | * @property LabelLine\LineStyle $lineStyle 42 | * 43 | * 44 | * * @property boolean $show 45 | * 46 | * 47 | * Whether to show the label guide line. 48 | * 49 | * @property LabelLine\LineStyle $lineStyle 50 | * 51 | * 52 | * * @property boolean $show 53 | * 54 | * 55 | * Whether to show the label guide line. 56 | * 57 | * @property LabelLine\LineStyle $lineStyle 58 | * 59 | * 60 | * * @property boolean $show 61 | * 62 | * 63 | * Whether to show the label guide line. 64 | * 65 | * @property LabelLine\LineStyle $lineStyle 66 | * 67 | * 68 | * * @property boolean $show 69 | * Whether to show visual guide line. 70 | * 71 | * @property LabelLine\LineStyle $lineStyle 72 | * 73 | * 74 | * * @property boolean $show 75 | * 76 | * 77 | * Whether to show the label guide line. 78 | * 79 | * @property LabelLine\LineStyle $lineStyle 80 | * 81 | * 82 | * {_more_} 83 | */ 84 | class LabelLine extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Select/UpperLabel/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Select\UpperLabel; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/SelectedMode.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property SelectedMode\Label $label 13 | * 14 | * 15 | * @property SelectedMode\LabelLine $labelLine 16 | * Configuration of label guide line. 17 | * 18 | * @property SelectedMode\ItemStyle $itemStyle 19 | * 20 | * 21 | * {_more_} 22 | */ 23 | class SelectedMode extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/SelectedMode/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\SelectedMode\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/SelectedMode/LabelLine.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\SelectedMode; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show 13 | * 14 | * 15 | * Whether to show the label guide line. 16 | * 17 | * @property LabelLine\LineStyle $lineStyle 18 | * 19 | * 20 | * {_more_} 21 | */ 22 | class LabelLine extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/SplitLine.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * 14 | * 15 | * Whether to show the split line. 16 | * 17 | * @property int|string $length Default: 10 18 | * 19 | * 20 | * The length of split line, can be a pecentage value relative to radius. 21 | * 22 | * @property int $distance Default: 10 23 | * 24 | * Since v5.0 25 | * 26 | * 27 | * 28 | * The distance between the split line and axis line. 29 | * 30 | * @property SplitLine\LineStyle $lineStyle 31 | * 32 | * 33 | * {_more_} 34 | */ 35 | class SplitLine extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/Title/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\Title; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Series/UpperLabel/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Series\UpperLabel; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/SingleAxis/AxisLabel/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\SingleAxis\AxisLabel; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/SingleAxis/AxisLine.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\SingleAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * 14 | * 15 | * Set this to false to prevent the axis line from showing. 16 | * 17 | * @property string|array $symbol Default: 'none' 18 | * 19 | * 20 | * Symbol of the two ends of the axis. It could be a string, representing the same symbol for two ends; or an array with two string elements, representing the two ends separately. Its set to be none by default, meaning no arrow for either end. If it is set to be arrow, there shall be two arrows. If there should only one arrow at the end, it should set to be [none, arrow]. 21 | * 22 | * @property array $symbolSize Default: '[10, 15]' 23 | * 24 | * 25 | * Size of the arrows at two ends. The first is the width perpendicular to the axis, the next is the width parallel to the axis. 26 | * 27 | * @property array|int $symbolOffset Default: '[0, 0]' 28 | * 29 | * 30 | * Arrow offset of axis. If is array, the first number is the offset of the arrow at the beginning, and the second number is the offset of the arrow at the end. If is number, it means the arrows have the same offset. 31 | * 32 | * @property AxisLine\LineStyle $lineStyle 33 | * 34 | * 35 | * {_more_} 36 | */ 37 | class AxisLine extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/SingleAxis/AxisPointer/ShadowStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\SingleAxis\AxisPointer; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $color Default: 'rgba(150,150,150,0.3)' 13 | * 14 | * 15 | * Fill color. 16 | * 17 | * Supports setting as solid color using rgb(255,255,255), rgba(255,255,255,1), #fff, etc. Also supports setting as gradient color and pattern fill, see option.color for details 18 | * 19 | * @property int $shadowBlur 20 | * 21 | * 22 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 23 | * For example: 24 | * { 25 | * shadowColor: rgba(0, 0, 0, 0.5), 26 | * shadowBlur: 10 27 | * } 28 | * 29 | * @property string $shadowColor 30 | * 31 | * 32 | * Shadow color. Support same format as color. 33 | * 34 | * @property int $shadowOffsetX Default: 0 35 | * 36 | * 37 | * Offset distance on the horizontal direction of shadow. 38 | * 39 | * @property int $shadowOffsetY Default: 0 40 | * 41 | * 42 | * Offset distance on the vertical direction of shadow. 43 | * 44 | * @property int $opacity 45 | * 46 | * 47 | * Opacity of the component. Supports value from 0 to 1, and the component will not be drawn when set to 0. 48 | * 49 | * {_more_} 50 | */ 51 | class ShadowStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/SingleAxis/AxisTick.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\SingleAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * 14 | * 15 | * Set this to false to prevent the axis tick from showing. 16 | * 17 | * @property boolean $alignWithLabel Default: false 18 | * 19 | * 20 | * Align axis tick with label, which is available only when boundaryGap is set to be true in category axis. See the following picture: 21 | * 22 | * @property int|callable $interval Default: 'auto' 23 | * 24 | * 25 | * 26 | * 27 | * Interval of axisTick, which is available in category axis. is set to be the same as axisLabel.interval by default. 28 | * It uses a strategy that labels do not overlap by default. 29 | * You may set it to be 0 to display all labels compulsively. 30 | * If it is set to be 1, it means that labels are shown once after one label. And if it is set to be 2, it means labels are shown once after two labels, and so on. 31 | * On the other hand, you can control by callback function, whose format is shown below: 32 | * (index:number, value: string) => boolean 33 | * 34 | * The first parameter is index of category, and the second parameter is the name of category. The return values decides whether to display label. 35 | * 36 | * @property boolean $inside Default: false 37 | * 38 | * 39 | * Set this to true so the axis labels face the inside direction. 40 | * 41 | * @property int $length Default: 5 42 | * 43 | * 44 | * The length of the axis tick. 45 | * 46 | * @property AxisTick\LineStyle $lineStyle 47 | * Line style of axis ticks. 48 | * 49 | * {_more_} 50 | */ 51 | class AxisTick extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/SingleAxis/MinorSplitLine.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\SingleAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: false 13 | * 14 | * 15 | * If show minor split lines. 16 | * 17 | * @property MinorSplitLine\LineStyle $lineStyle 18 | * 19 | * 20 | * {_more_} 21 | */ 22 | class MinorSplitLine extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/SingleAxis/MinorTick.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\SingleAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: false 13 | * 14 | * 15 | * If show minor ticks. 16 | * 17 | * @property int $splitNumber Default: 5 18 | * 19 | * 20 | * Number of interval splited by minor ticks. 21 | * 22 | * @property int $length Default: 3 23 | * 24 | * 25 | * Length of minor ticks lines。 26 | * 27 | * @property MinorTick\LineStyle $lineStyle 28 | * 29 | * 30 | * {_more_} 31 | */ 32 | class MinorTick extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/SingleAxis/NameTextStyle/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\SingleAxis\NameTextStyle; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/SingleAxis/SplitArea.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\SingleAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property int|callable $interval Default: 'auto' 13 | * 14 | * 15 | * 16 | * 17 | * Interval of Axis splitArea, which is available in category axis. is set to be the same as axisLabel.interval by default. 18 | * It uses a strategy that labels do not overlap by default. 19 | * You may set it to be 0 to display all labels compulsively. 20 | * If it is set to be 1, it means that labels are shown once after one label. And if it is set to be 2, it means labels are shown once after two labels, and so on. 21 | * On the other hand, you can control by callback function, whose format is shown below: 22 | * (index:number, value: string) => boolean 23 | * 24 | * The first parameter is index of category, and the second parameter is the name of category. The return values decides whether to display label. 25 | * 26 | * @property boolean $show Default: false 27 | * 28 | * 29 | * Set this to true to show the splitArea. 30 | * 31 | * @property SplitArea\AreaStyle $areaStyle 32 | * Split area style. 33 | * 34 | * {_more_} 35 | */ 36 | class SplitArea extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/SingleAxis/SplitArea/AreaStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\SingleAxis\SplitArea; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property array $color Default: '[\'rgba(250,250,250,0.3)\',\'rgba(200,200,200,0.3)\']' 13 | * Color of split area. 14 | * SplitArea color could also be set in color array, which the split lines would take as their colors in turns. Dark and light colors in turns are used by default. 15 | * 16 | * @property int $shadowBlur 17 | * 18 | * 19 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 20 | * For example: 21 | * { 22 | * shadowColor: rgba(0, 0, 0, 0.5), 23 | * shadowBlur: 10 24 | * } 25 | * 26 | * @property string $shadowColor 27 | * 28 | * 29 | * Shadow color. Support same format as color. 30 | * 31 | * @property int $shadowOffsetX Default: 0 32 | * 33 | * 34 | * Offset distance on the horizontal direction of shadow. 35 | * 36 | * @property int $shadowOffsetY Default: 0 37 | * 38 | * 39 | * Offset distance on the vertical direction of shadow. 40 | * 41 | * @property int $opacity 42 | * 43 | * 44 | * Opacity of the component. Supports value from 0 to 1, and the component will not be drawn when set to 0. 45 | * 46 | * {_more_} 47 | */ 48 | class AreaStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/SingleAxis/SplitLine.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\SingleAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * 14 | * 15 | * Set this to false to prevent the splitLine from showing. 16 | * value type axes are shown by default, while category type axes are hidden. 17 | * 18 | * @property int|callable $interval Default: 'auto' 19 | * 20 | * 21 | * 22 | * 23 | * Interval of Axis splitLine, which is available in category axis. is set to be the same as axisLabel.interval by default. 24 | * It uses a strategy that labels do not overlap by default. 25 | * You may set it to be 0 to display all labels compulsively. 26 | * If it is set to be 1, it means that labels are shown once after one label. And if it is set to be 2, it means labels are shown once after two labels, and so on. 27 | * On the other hand, you can control by callback function, whose format is shown below: 28 | * (index:number, value: string) => boolean 29 | * 30 | * The first parameter is index of category, and the second parameter is the name of category. The return values decides whether to display label. 31 | * 32 | * @property SplitLine\LineStyle $lineStyle 33 | * 34 | * 35 | * {_more_} 36 | */ 37 | class SplitLine extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/SingleAxis/Tooltip/AxisPointer/ShadowStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\SingleAxis\Tooltip\AxisPointer; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $color Default: 'rgba(150,150,150,0.3)' 13 | * 14 | * 15 | * Fill color. 16 | * 17 | * Supports setting as solid color using rgb(255,255,255), rgba(255,255,255,1), #fff, etc. Also supports setting as gradient color and pattern fill, see option.color for details 18 | * 19 | * @property int $shadowBlur 20 | * 21 | * 22 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 23 | * For example: 24 | * { 25 | * shadowColor: rgba(0, 0, 0, 0.5), 26 | * shadowBlur: 10 27 | * } 28 | * 29 | * @property string $shadowColor 30 | * 31 | * 32 | * Shadow color. Support same format as color. 33 | * 34 | * @property int $shadowOffsetX Default: 0 35 | * 36 | * 37 | * Offset distance on the horizontal direction of shadow. 38 | * 39 | * @property int $shadowOffsetY Default: 0 40 | * 41 | * 42 | * Offset distance on the vertical direction of shadow. 43 | * 44 | * @property int $opacity 45 | * 46 | * 47 | * Opacity of the component. Supports value from 0 to 1, and the component will not be drawn when set to 0. 48 | * 49 | * {_more_} 50 | */ 51 | class ShadowStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/StateAnimation.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property int $duration Default: 300 13 | * Duration of animation. Animation will be disabled when set to 0. 14 | * 15 | * @property string $easing Default: 'cubicOut' 16 | * Easing of animation. 17 | * 18 | * {_more_} 19 | */ 20 | class StateAnimation extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Timeline/Emphasis.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Timeline; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Emphasis\Label $label 13 | * 14 | * 15 | * @property Emphasis\ItemStyle $itemStyle 16 | * 17 | * 18 | * @property array $checkpointStyle 19 | * Style of the checkpoint. 20 | * 21 | * @property array $controlStyle 22 | * Style of the control button. 23 | * 24 | * {_more_} 25 | */ 26 | class Emphasis extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Timeline/Emphasis/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Timeline\Emphasis\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Timeline/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Timeline\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Timeline/Progress.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Timeline; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Progress\LineStyle $lineStyle 13 | * 14 | * 15 | * @property Progress\ItemStyle $itemStyle 16 | * 17 | * 18 | * @property Progress\Label $label 19 | * 20 | * 21 | * {_more_} 22 | */ 23 | class Progress extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Timeline/Progress/Label/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Timeline\Progress\Label; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Title/SubtextStyle/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Title\SubtextStyle; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Title/TextStyle/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Title\TextStyle; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Toolbox/Emphasis.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Toolbox; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Emphasis\IconStyle $iconStyle 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Emphasis extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Toolbox/Feature.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Toolbox; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Feature\SaveAsImage $saveAsImage 13 | * Save as image. 14 | * 15 | * @property Feature\Restore $restore 16 | * Restore configuration item. 17 | * 18 | * @property Feature\DataView $dataView 19 | * Data view tool, which could display data in current chart and updates chart after being edited. 20 | * 21 | * @property Feature\DataZoom $dataZoom 22 | * Data area zooming, which only supports rectangular coordinate by now. 23 | * 24 | * @property Feature\MagicType $magicType 25 | * Magic type switching. 26 | * 示例: 27 | * feature: { 28 | * magicType: { 29 | * type: [line, bar, stack] 30 | * } 31 | * } 32 | * 33 | * @property Feature\Brush $brush 34 | * Brush-selecting icon. 35 | * It can also be configured at brush.toolbox. 36 | * 37 | * {_more_} 38 | */ 39 | class Feature extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Toolbox/Feature/Brush.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Toolbox\Feature; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property array $type 13 | * Icons used, whose values are: 14 | * 15 | * rect: Enabling selecting with rectangle area. 16 | * polygon: Enabling selecting with any shape. 17 | * lineX: Enabling horizontal selecting. 18 | * lineY: Enabling vertical selecting. 19 | * keep: Switching between single selecting and multiple selecting. The latter one can select multiple areas, while the former one cancels previous selection. 20 | * clear: Clearing all selection. 21 | * 22 | * @property Brush\Icon $icon 23 | * Icon path for each icon. 24 | * 25 | * @property Brush\Title $title 26 | * Title. 27 | * 28 | * {_more_} 29 | */ 30 | class Brush extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Toolbox/Feature/Brush/Title.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Toolbox\Feature\Brush; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $rect Default: 'Rectangle selection' 13 | * 14 | * 15 | * @property string $polygon Default: 'Polygon selection' 16 | * 17 | * 18 | * @property string $lineX Default: 'Horizontal selection' 19 | * 20 | * 21 | * @property string $lineY Default: 'Vertical selection' 22 | * 23 | * 24 | * @property string $keep Default: 'Keep previous selection' 25 | * 26 | * 27 | * @property string $clear Default: 'Clear selection' 28 | * 29 | * 30 | * {_more_} 31 | */ 32 | class Title extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Toolbox/Feature/DataView/Emphasis.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Toolbox\Feature\DataView; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Emphasis\IconStyle $iconStyle 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Emphasis extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Toolbox/Feature/DataZoom.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Toolbox\Feature; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * Whether to show the tool. 14 | * 15 | * @property DataZoom\Title $title 16 | * Restored and zoomed title text. 17 | * 18 | * @property DataZoom\Icon $icon 19 | * Zooming and restore icon path. 20 | * 21 | * @property DataZoom\IconStyle $iconStyle 22 | * The style setting of data area zooming icon. Since icon label is displayed only when hovering on the icon, the label configuration options are available under emphasis. 23 | * 24 | * @property DataZoom\Emphasis $emphasis 25 | * 26 | * 27 | * @property string $filterMode Default: 'filter' 28 | * The same meaning as dataZoom.filterMode. 29 | * 30 | * @property int|array|boolean $xAxisIndex 31 | * Defines which xAxis should be controlled. By default, it controls all x axes. If it is set to be false, then no x axis is controlled. If it is set to be then it controls axis with axisIndex of 3. If it is set to be [0, 3], it controls the x-axes with axisIndex of 0 and 3. 32 | * 33 | * @property int|array|boolean $yAxisIndex 34 | * Defines which yAxis should be controlled. By default, it controls all y axes. If it is set to be false, then no y axis is controlled. If it is set to be then it controls axis with axisIndex of 3. If it is set to be [0, 3], it controls the x-axes with axisIndex of 0 and 3. 35 | * 36 | * @property DataZoom\BrushStyle $brushStyle 37 | * Style of brush rectangle. 38 | * 39 | * {_more_} 40 | */ 41 | class DataZoom extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Toolbox/Feature/DataZoom/Emphasis.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Toolbox\Feature\DataZoom; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Emphasis\IconStyle $iconStyle 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Emphasis extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Toolbox/Feature/DataZoom/Title.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Toolbox\Feature\DataZoom; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $zoom Default: 'area zooming' 13 | * 14 | * 15 | * @property string $back Default: 'restore area zooming' 16 | * 17 | * 18 | * {_more_} 19 | */ 20 | class Title extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Toolbox/Feature/MagicType.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Toolbox\Feature; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * Whether to show the tool. 14 | * 15 | * @property array $type 16 | * Enabled magic types, including line (for line charts), bar (for bar charts), stack (for stacked charts). 17 | * 18 | * @property MagicType\Title $title 19 | * Title for different types, can be configured seperately. 20 | * 21 | * @property MagicType\Icon $icon 22 | * the different types of icon path , which could be configurated individually. 23 | * 24 | * @property MagicType\IconStyle $iconStyle 25 | * The style setting of magic type switching icon. Since icon label is displayed only when hovering on the icon, the label configuration options are available under emphasis. 26 | * 27 | * @property MagicType\Emphasis $emphasis 28 | * 29 | * 30 | * @property MagicType\Option $option 31 | * Configuration item for each type, which will be used when switching to certain type. 32 | * 33 | * @property MagicType\SeriesIndex $seriesIndex 34 | * Series list for each type. 35 | * 36 | * {_more_} 37 | */ 38 | class MagicType extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Toolbox/Feature/MagicType/Emphasis.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Toolbox\Feature\MagicType; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Emphasis\IconStyle $iconStyle 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Emphasis extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Toolbox/Feature/MagicType/Option.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Toolbox\Feature\MagicType; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property array $line 13 | * 14 | * 15 | * @property array $bar 16 | * 17 | * 18 | * @property array $stack 19 | * 20 | * 21 | * {_more_} 22 | */ 23 | class Option extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Toolbox/Feature/MagicType/SeriesIndex.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Toolbox\Feature\MagicType; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property array $line 13 | * 14 | * 15 | * @property array $bar 16 | * 17 | * 18 | * {_more_} 19 | */ 20 | class SeriesIndex extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Toolbox/Feature/MagicType/Title.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Toolbox\Feature\MagicType; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $line Default: 'Switch to Line Chart' 13 | * 14 | * 15 | * @property string $bar Default: 'Switch to Bar Chart' 16 | * 17 | * 18 | * @property string $stack Default: 'Stack' 19 | * 20 | * 21 | * @property string $tiled Default: 'Tile' 22 | * 23 | * 24 | * {_more_} 25 | */ 26 | class Title extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Toolbox/Feature/Restore/Emphasis.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Toolbox\Feature\Restore; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Emphasis\IconStyle $iconStyle 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Emphasis extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Toolbox/Feature/SaveAsImage/Emphasis.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Toolbox\Feature\SaveAsImage; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Emphasis\IconStyle $iconStyle 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Emphasis extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/Tooltip/AxisPointer/ShadowStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\Tooltip\AxisPointer; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $color Default: 'rgba(150,150,150,0.3)' 13 | * 14 | * 15 | * Fill color. 16 | * 17 | * Supports setting as solid color using rgb(255,255,255), rgba(255,255,255,1), #fff, etc. Also supports setting as gradient color and pattern fill, see option.color for details 18 | * 19 | * @property int $shadowBlur 20 | * 21 | * 22 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 23 | * For example: 24 | * { 25 | * shadowColor: rgba(0, 0, 0, 0.5), 26 | * shadowBlur: 10 27 | * } 28 | * 29 | * @property string $shadowColor 30 | * 31 | * 32 | * Shadow color. Support same format as color. 33 | * 34 | * @property int $shadowOffsetX Default: 0 35 | * 36 | * 37 | * Offset distance on the horizontal direction of shadow. 38 | * 39 | * @property int $shadowOffsetY Default: 0 40 | * 41 | * 42 | * Offset distance on the vertical direction of shadow. 43 | * 44 | * @property int $opacity 45 | * 46 | * 47 | * Opacity of the component. Supports value from 0 to 1, and the component will not be drawn when set to 0. 48 | * 49 | * {_more_} 50 | */ 51 | class ShadowStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/VisualMap/Controller.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\VisualMap; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property array $inRange 13 | * Define visual channels that will mapped from dataValues that are in selected range. User can interact with visualMap component and make a seleced range by mouse or touch. 14 | * See available configurations in visualMap-continuous.inRange 15 | * 16 | * @property array $outOfRange 17 | * Define visual channels that will mapped from dataValues that are out of selected range. User can interact with visualMap component and make a seleced range by mouse or touch. 18 | * See available configurations in visualMap-continuous.inRange 19 | * 20 | * * @property array $inRange 21 | * Define visual channels that will mapped from dataValues that are in selected range. User can interact with visualMap component and make a seleced range by mouse or touch. 22 | * See available configurations in visualMap-piecewise.inRange 23 | * 24 | * @property array $outOfRange 25 | * Define visual channels that will mapped from dataValues that are out of selected range. User can interact with visualMap component and make a seleced range by mouse or touch. 26 | * See available configurations in visualMap-piecewise.inRange 27 | * 28 | * {_more_} 29 | */ 30 | class Controller extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/XAxis/AxisLabel/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\XAxis\AxisLabel; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/XAxis/AxisLine.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\XAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * 14 | * 15 | * Set this to false to prevent the axis line from showing. 16 | * 17 | * @property boolean $onZero Default: true 18 | * 19 | * 20 | * Specifies whether X or Y axis lies on the others origin position, where value is 0 on axis. Valid only if the other axis is of value type, and contains 0 value. 21 | * 22 | * @property int $onZeroAxisIndex 23 | * When mutiple axes exists, this option can be used to specify which axis can be onZero to. 24 | * 25 | * @property string|array $symbol Default: 'none' 26 | * 27 | * 28 | * Symbol of the two ends of the axis. It could be a string, representing the same symbol for two ends; or an array with two string elements, representing the two ends separately. Its set to be none by default, meaning no arrow for either end. If it is set to be arrow, there shall be two arrows. If there should only one arrow at the end, it should set to be [none, arrow]. 29 | * 30 | * @property array $symbolSize Default: '[10, 15]' 31 | * 32 | * 33 | * Size of the arrows at two ends. The first is the width perpendicular to the axis, the next is the width parallel to the axis. 34 | * 35 | * @property array|int $symbolOffset Default: '[0, 0]' 36 | * 37 | * 38 | * Arrow offset of axis. If is array, the first number is the offset of the arrow at the beginning, and the second number is the offset of the arrow at the end. If is number, it means the arrows have the same offset. 39 | * 40 | * @property AxisLine\LineStyle $lineStyle 41 | * 42 | * 43 | * {_more_} 44 | */ 45 | class AxisLine extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/XAxis/AxisPointer/ShadowStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\XAxis\AxisPointer; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $color Default: 'rgba(150,150,150,0.3)' 13 | * 14 | * 15 | * Fill color. 16 | * 17 | * Supports setting as solid color using rgb(255,255,255), rgba(255,255,255,1), #fff, etc. Also supports setting as gradient color and pattern fill, see option.color for details 18 | * 19 | * @property int $shadowBlur 20 | * 21 | * 22 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 23 | * For example: 24 | * { 25 | * shadowColor: rgba(0, 0, 0, 0.5), 26 | * shadowBlur: 10 27 | * } 28 | * 29 | * @property string $shadowColor 30 | * 31 | * 32 | * Shadow color. Support same format as color. 33 | * 34 | * @property int $shadowOffsetX Default: 0 35 | * 36 | * 37 | * Offset distance on the horizontal direction of shadow. 38 | * 39 | * @property int $shadowOffsetY Default: 0 40 | * 41 | * 42 | * Offset distance on the vertical direction of shadow. 43 | * 44 | * @property int $opacity 45 | * 46 | * 47 | * Opacity of the component. Supports value from 0 to 1, and the component will not be drawn when set to 0. 48 | * 49 | * {_more_} 50 | */ 51 | class ShadowStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/XAxis/AxisTick.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\XAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * 14 | * 15 | * Set this to false to prevent the axis tick from showing. 16 | * 17 | * @property boolean $alignWithLabel Default: false 18 | * 19 | * 20 | * Align axis tick with label, which is available only when boundaryGap is set to be true in category axis. See the following picture: 21 | * 22 | * @property int|callable $interval Default: 'auto' 23 | * 24 | * 25 | * 26 | * 27 | * Interval of axisTick, which is available in category axis. is set to be the same as axisLabel.interval by default. 28 | * It uses a strategy that labels do not overlap by default. 29 | * You may set it to be 0 to display all labels compulsively. 30 | * If it is set to be 1, it means that labels are shown once after one label. And if it is set to be 2, it means labels are shown once after two labels, and so on. 31 | * On the other hand, you can control by callback function, whose format is shown below: 32 | * (index:number, value: string) => boolean 33 | * 34 | * The first parameter is index of category, and the second parameter is the name of category. The return values decides whether to display label. 35 | * 36 | * @property boolean $inside Default: false 37 | * 38 | * 39 | * Set this to true so the axis labels face the inside direction. 40 | * 41 | * @property int $length Default: 5 42 | * 43 | * 44 | * The length of the axis tick. 45 | * 46 | * @property AxisTick\LineStyle $lineStyle 47 | * Line style of axis ticks. 48 | * 49 | * {_more_} 50 | */ 51 | class AxisTick extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/XAxis/MinorSplitLine.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\XAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: false 13 | * 14 | * 15 | * If show minor split lines. 16 | * 17 | * @property MinorSplitLine\LineStyle $lineStyle 18 | * 19 | * 20 | * {_more_} 21 | */ 22 | class MinorSplitLine extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/XAxis/MinorTick.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\XAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: false 13 | * 14 | * 15 | * If show minor ticks. 16 | * 17 | * @property int $splitNumber Default: 5 18 | * 19 | * 20 | * Number of interval splited by minor ticks. 21 | * 22 | * @property int $length Default: 3 23 | * 24 | * 25 | * Length of minor ticks lines。 26 | * 27 | * @property MinorTick\LineStyle $lineStyle 28 | * 29 | * 30 | * {_more_} 31 | */ 32 | class MinorTick extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/XAxis/NameTextStyle/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\XAxis\NameTextStyle; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/XAxis/SplitArea.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\XAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property int|callable $interval Default: 'auto' 13 | * 14 | * 15 | * 16 | * 17 | * Interval of Axis splitArea, which is available in category axis. is set to be the same as axisLabel.interval by default. 18 | * It uses a strategy that labels do not overlap by default. 19 | * You may set it to be 0 to display all labels compulsively. 20 | * If it is set to be 1, it means that labels are shown once after one label. And if it is set to be 2, it means labels are shown once after two labels, and so on. 21 | * On the other hand, you can control by callback function, whose format is shown below: 22 | * (index:number, value: string) => boolean 23 | * 24 | * The first parameter is index of category, and the second parameter is the name of category. The return values decides whether to display label. 25 | * 26 | * @property boolean $show Default: false 27 | * 28 | * 29 | * Set this to true to show the splitArea. 30 | * 31 | * @property SplitArea\AreaStyle $areaStyle 32 | * Split area style. 33 | * 34 | * {_more_} 35 | */ 36 | class SplitArea extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/XAxis/SplitArea/AreaStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\XAxis\SplitArea; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property array $color Default: '[\'rgba(250,250,250,0.3)\',\'rgba(200,200,200,0.3)\']' 13 | * Color of split area. 14 | * SplitArea color could also be set in color array, which the split lines would take as their colors in turns. Dark and light colors in turns are used by default. 15 | * 16 | * @property int $shadowBlur 17 | * 18 | * 19 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 20 | * For example: 21 | * { 22 | * shadowColor: rgba(0, 0, 0, 0.5), 23 | * shadowBlur: 10 24 | * } 25 | * 26 | * @property string $shadowColor 27 | * 28 | * 29 | * Shadow color. Support same format as color. 30 | * 31 | * @property int $shadowOffsetX Default: 0 32 | * 33 | * 34 | * Offset distance on the horizontal direction of shadow. 35 | * 36 | * @property int $shadowOffsetY Default: 0 37 | * 38 | * 39 | * Offset distance on the vertical direction of shadow. 40 | * 41 | * @property int $opacity 42 | * 43 | * 44 | * Opacity of the component. Supports value from 0 to 1, and the component will not be drawn when set to 0. 45 | * 46 | * {_more_} 47 | */ 48 | class AreaStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/XAxis/SplitLine.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\XAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * 14 | * 15 | * Set this to false to prevent the splitLine from showing. 16 | * value type axes are shown by default, while category type axes are hidden. 17 | * 18 | * @property int|callable $interval Default: 'auto' 19 | * 20 | * 21 | * 22 | * 23 | * Interval of Axis splitLine, which is available in category axis. is set to be the same as axisLabel.interval by default. 24 | * It uses a strategy that labels do not overlap by default. 25 | * You may set it to be 0 to display all labels compulsively. 26 | * If it is set to be 1, it means that labels are shown once after one label. And if it is set to be 2, it means labels are shown once after two labels, and so on. 27 | * On the other hand, you can control by callback function, whose format is shown below: 28 | * (index:number, value: string) => boolean 29 | * 30 | * The first parameter is index of category, and the second parameter is the name of category. The return values decides whether to display label. 31 | * 32 | * @property SplitLine\LineStyle $lineStyle 33 | * 34 | * 35 | * {_more_} 36 | */ 37 | class SplitLine extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/YAxis/AxisLabel/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\YAxis\AxisLabel; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/YAxis/AxisLine.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\YAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * 14 | * 15 | * Set this to false to prevent the axis line from showing. 16 | * 17 | * @property boolean $onZero Default: true 18 | * 19 | * 20 | * Specifies whether X or Y axis lies on the others origin position, where value is 0 on axis. Valid only if the other axis is of value type, and contains 0 value. 21 | * 22 | * @property int $onZeroAxisIndex 23 | * When mutiple axes exists, this option can be used to specify which axis can be onZero to. 24 | * 25 | * @property string|array $symbol Default: 'none' 26 | * 27 | * 28 | * Symbol of the two ends of the axis. It could be a string, representing the same symbol for two ends; or an array with two string elements, representing the two ends separately. Its set to be none by default, meaning no arrow for either end. If it is set to be arrow, there shall be two arrows. If there should only one arrow at the end, it should set to be [none, arrow]. 29 | * 30 | * @property array $symbolSize Default: '[10, 15]' 31 | * 32 | * 33 | * Size of the arrows at two ends. The first is the width perpendicular to the axis, the next is the width parallel to the axis. 34 | * 35 | * @property array|int $symbolOffset Default: '[0, 0]' 36 | * 37 | * 38 | * Arrow offset of axis. If is array, the first number is the offset of the arrow at the beginning, and the second number is the offset of the arrow at the end. If is number, it means the arrows have the same offset. 39 | * 40 | * @property AxisLine\LineStyle $lineStyle 41 | * 42 | * 43 | * {_more_} 44 | */ 45 | class AxisLine extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/YAxis/AxisPointer/ShadowStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\YAxis\AxisPointer; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property string $color Default: 'rgba(150,150,150,0.3)' 13 | * 14 | * 15 | * Fill color. 16 | * 17 | * Supports setting as solid color using rgb(255,255,255), rgba(255,255,255,1), #fff, etc. Also supports setting as gradient color and pattern fill, see option.color for details 18 | * 19 | * @property int $shadowBlur 20 | * 21 | * 22 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 23 | * For example: 24 | * { 25 | * shadowColor: rgba(0, 0, 0, 0.5), 26 | * shadowBlur: 10 27 | * } 28 | * 29 | * @property string $shadowColor 30 | * 31 | * 32 | * Shadow color. Support same format as color. 33 | * 34 | * @property int $shadowOffsetX Default: 0 35 | * 36 | * 37 | * Offset distance on the horizontal direction of shadow. 38 | * 39 | * @property int $shadowOffsetY Default: 0 40 | * 41 | * 42 | * Offset distance on the vertical direction of shadow. 43 | * 44 | * @property int $opacity 45 | * 46 | * 47 | * Opacity of the component. Supports value from 0 to 1, and the component will not be drawn when set to 0. 48 | * 49 | * {_more_} 50 | */ 51 | class ShadowStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/YAxis/AxisTick.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\YAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * 14 | * 15 | * Set this to false to prevent the axis tick from showing. 16 | * 17 | * @property boolean $alignWithLabel Default: false 18 | * 19 | * 20 | * Align axis tick with label, which is available only when boundaryGap is set to be true in category axis. See the following picture: 21 | * 22 | * @property int|callable $interval Default: 'auto' 23 | * 24 | * 25 | * 26 | * 27 | * Interval of axisTick, which is available in category axis. is set to be the same as axisLabel.interval by default. 28 | * It uses a strategy that labels do not overlap by default. 29 | * You may set it to be 0 to display all labels compulsively. 30 | * If it is set to be 1, it means that labels are shown once after one label. And if it is set to be 2, it means labels are shown once after two labels, and so on. 31 | * On the other hand, you can control by callback function, whose format is shown below: 32 | * (index:number, value: string) => boolean 33 | * 34 | * The first parameter is index of category, and the second parameter is the name of category. The return values decides whether to display label. 35 | * 36 | * @property boolean $inside Default: false 37 | * 38 | * 39 | * Set this to true so the axis labels face the inside direction. 40 | * 41 | * @property int $length Default: 5 42 | * 43 | * 44 | * The length of the axis tick. 45 | * 46 | * @property AxisTick\LineStyle $lineStyle 47 | * Line style of axis ticks. 48 | * 49 | * {_more_} 50 | */ 51 | class AxisTick extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/YAxis/MinorSplitLine.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\YAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: false 13 | * 14 | * 15 | * If show minor split lines. 16 | * 17 | * @property MinorSplitLine\LineStyle $lineStyle 18 | * 19 | * 20 | * {_more_} 21 | */ 22 | class MinorSplitLine extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/YAxis/MinorTick.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\YAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: false 13 | * 14 | * 15 | * If show minor ticks. 16 | * 17 | * @property int $splitNumber Default: 5 18 | * 19 | * 20 | * Number of interval splited by minor ticks. 21 | * 22 | * @property int $length Default: 3 23 | * 24 | * 25 | * Length of minor ticks lines。 26 | * 27 | * @property MinorTick\LineStyle $lineStyle 28 | * 29 | * 30 | * {_more_} 31 | */ 32 | class MinorTick extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/YAxis/NameTextStyle/Rich.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\YAxis\NameTextStyle; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property Rich\ $ 13 | * 14 | * 15 | * {_more_} 16 | */ 17 | class Rich extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/YAxis/SplitArea.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\YAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property int|callable $interval Default: 'auto' 13 | * 14 | * 15 | * 16 | * 17 | * Interval of Axis splitArea, which is available in category axis. is set to be the same as axisLabel.interval by default. 18 | * It uses a strategy that labels do not overlap by default. 19 | * You may set it to be 0 to display all labels compulsively. 20 | * If it is set to be 1, it means that labels are shown once after one label. And if it is set to be 2, it means labels are shown once after two labels, and so on. 21 | * On the other hand, you can control by callback function, whose format is shown below: 22 | * (index:number, value: string) => boolean 23 | * 24 | * The first parameter is index of category, and the second parameter is the name of category. The return values decides whether to display label. 25 | * 26 | * @property boolean $show Default: false 27 | * 28 | * 29 | * Set this to true to show the splitArea. 30 | * 31 | * @property SplitArea\AreaStyle $areaStyle 32 | * Split area style. 33 | * 34 | * {_more_} 35 | */ 36 | class SplitArea extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/YAxis/SplitArea/AreaStyle.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\YAxis\SplitArea; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property array $color Default: '[\'rgba(250,250,250,0.3)\',\'rgba(200,200,200,0.3)\']' 13 | * Color of split area. 14 | * SplitArea color could also be set in color array, which the split lines would take as their colors in turns. Dark and light colors in turns are used by default. 15 | * 16 | * @property int $shadowBlur 17 | * 18 | * 19 | * Size of shadow blur. This attribute should be used along with shadowColor,shadowOffsetX, shadowOffsetY to set shadow to component. 20 | * For example: 21 | * { 22 | * shadowColor: rgba(0, 0, 0, 0.5), 23 | * shadowBlur: 10 24 | * } 25 | * 26 | * @property string $shadowColor 27 | * 28 | * 29 | * Shadow color. Support same format as color. 30 | * 31 | * @property int $shadowOffsetX Default: 0 32 | * 33 | * 34 | * Offset distance on the horizontal direction of shadow. 35 | * 36 | * @property int $shadowOffsetY Default: 0 37 | * 38 | * 39 | * Offset distance on the vertical direction of shadow. 40 | * 41 | * @property int $opacity 42 | * 43 | * 44 | * Opacity of the component. Supports value from 0 to 1, and the component will not be drawn when set to 0. 45 | * 46 | * {_more_} 47 | */ 48 | class AreaStyle extends Property {} -------------------------------------------------------------------------------- /src/Doc/IDE/YAxis/SplitLine.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | namespace Hisune\EchartsPHP\Doc\IDE\YAxis; 8 | 9 | use Hisune\EchartsPHP\Property; 10 | 11 | /** 12 | * @property boolean $show Default: true 13 | * 14 | * 15 | * Set this to false to prevent the splitLine from showing. 16 | * value type axes are shown by default, while category type axes are hidden. 17 | * 18 | * @property int|callable $interval Default: 'auto' 19 | * 20 | * 21 | * 22 | * 23 | * Interval of Axis splitLine, which is available in category axis. is set to be the same as axisLabel.interval by default. 24 | * It uses a strategy that labels do not overlap by default. 25 | * You may set it to be 0 to display all labels compulsively. 26 | * If it is set to be 1, it means that labels are shown once after one label. And if it is set to be 2, it means labels are shown once after two labels, and so on. 27 | * On the other hand, you can control by callback function, whose format is shown below: 28 | * (index:number, value: string) => boolean 29 | * 30 | * The first parameter is index of category, and the second parameter is the name of category. The return values decides whether to display label. 31 | * 32 | * @property SplitLine\LineStyle $lineStyle 33 | * 34 | * 35 | * {_more_} 36 | */ 37 | class SplitLine extends Property {} -------------------------------------------------------------------------------- /src/Property.php: -------------------------------------------------------------------------------- 1 | 5 | * Date: 2017/3/29 6 | * Time: 17:39 7 | */ 8 | 9 | namespace Hisune\EchartsPHP; 10 | 11 | 12 | class Property implements \ArrayAccess 13 | { 14 | 15 | public $_options = []; 16 | 17 | public function __set($offset, $value) 18 | { 19 | return $this->offsetSet($offset, $value); 20 | } 21 | 22 | public function __get($offset) 23 | { 24 | return $this->offsetGet($offset); 25 | } 26 | 27 | #[\ReturnTypeWillChange] 28 | public function offsetExists($offset) 29 | { 30 | return isset($this->_options[$offset]); 31 | } 32 | 33 | #[\ReturnTypeWillChange] 34 | public function offsetGet($offset) 35 | { 36 | if (!$this->offsetExists($offset)) 37 | $this->_options[$offset] = new self; 38 | 39 | return $this->_options[$offset]; 40 | } 41 | 42 | #[\ReturnTypeWillChange] 43 | public function offsetSet($offset, $value) 44 | { 45 | if (is_null($offset)) 46 | return $this->_options[] = $value; 47 | else 48 | return $this->_options[$offset] = $value; 49 | } 50 | 51 | #[\ReturnTypeWillChange] 52 | public function offsetUnset($offset) 53 | { 54 | unset($this->_options[$offset]); 55 | } 56 | 57 | } --------------------------------------------------------------------------------