Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- $(document).ready(function(){
- Highcharts.chart('container', {
- chart: {
- type: 'spline'
- },
- title: {
- text: '{{ $title }} {{ \Auth::user()->name }}'
- },
- subtitle: {
- text: 'Source: www.sangcahaya.com'
- },
- xAxis: {
- categories: {!! json_encode($tgl_grafik) !!}
- },
- yAxis: {
- title: {
- text: ''
- },
- labels: {
- formatter: function () {
- return this.value;
- }
- }
- },
- tooltip: {
- crosshairs: true,
- shared: true
- },
- plotOptions: {
- spline: {
- marker: {
- radius: 4,
- lineColor: '#666666',
- lineWidth: 1
- }
- }
- },
- series: [{
- name: 'Rp',
- marker: {
- symbol: 'square'
- },
- data: {!! json_encode($omset_grafik) !!}
- }]
- });
- })
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement