![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/rentpix.corals.io/resources/views/vendor/charts/fusioncharts/ |
<script type="text/javascript"> var {{ $model->id }}; FusionCharts.ready(function () { {{ $model->id }} = new FusionCharts({ type: 'area2d', renderAt: "{{ $model->id }}", @include('charts::_partials.dimension.js') dataFormat: 'json', dataSource: { 'chart': { "exportenabled": "1", "exportatclient": "1", @if($model->title) 'caption': "{!! $model->title !!}", @endif 'yAxisName': "{!! $model->element_label !!}", @if($model->colors) 'paletteColors': "{{ $model->colors[0] }}", @endif 'bgColor': '#ffffff', 'borderAlpha': '20', 'canvasBorderAlpha': '0', 'usePlotGradientColor': '0', 'plotBorderAlpha': '10', 'rotatevalues': '0', 'showValues': '0', 'valueFontColor': '#ffffff', 'showXAxisLine': '1', 'xAxisLineColor': '#999999', 'divlineColor': '#999999', 'divLineIsDashed': '1', 'showAlternateHGridColor': '0', 'subcaptionFontBold': '0', 'subcaptionFontSize': '14' }, 'data': [ @for ($i = 0; $i < count($model->values); $i++) { 'label': "{!! $model->labels[$i] !!}", 'value': {{ $model->values[$i] }}, }, @endfor ], } }).render() }); </script> @include('charts::_partials.container.div')