- test

parent a3bdf16f
...@@ -26,6 +26,6 @@ ...@@ -26,6 +26,6 @@
<?php $this->registerJsFile('/js/jquery.form.js', ['position' => yii\web\View::POS_END ]);?> <?php $this->registerJsFile('/js/jquery.form.js', ['position' => yii\web\View::POS_END ]);?>
<?php $this->registerJsFile('/js/connect-form.js', ['position' => yii\web\View::POS_END ]);?> <?php $this->registerJsFile('/js/connect-form.js', ['position' => yii\web\View::POS_END ]);?>
<?php $this->registerJsFile('/js/prism.js', ['position' => yii\web\View::POS_END ]);?> <?php $this->registerJsFile('/js/prism.js', ['position' => yii\web\View::POS_END ]);?>
<?php $this->registerJsFile('/plugins/fusioncharts-suite-xt/js/fusioncharts.js', ['position' => yii\web\View::POS_END ]);?>
<?php $this->registerJsFile('/js/custom.js', ['position' => yii\web\View::POS_END ]);?> <?php $this->registerJsFile('/js/custom.js', ['position' => yii\web\View::POS_END ]);?>
\ No newline at end of file
...@@ -35,4 +35,5 @@ endif; ?> ...@@ -35,4 +35,5 @@ endif; ?>
<?php $this->registerCssFile('/css/screen.css');?> <?php $this->registerCssFile('/css/screen.css');?>
<?php $this->registerCssFile('/css/media.css');?> <?php $this->registerCssFile('/css/media.css');?>
<?php $this->registerCssFile('/css/prism.css');?> <?php $this->registerCssFile('/css/prism.css');?>
<?php $this->registerCssFile('/css/new_responsive.css');?>
<?php $this->registerCssFile('/css/custom.css');?> <?php $this->registerCssFile('/css/custom.css');?>
...@@ -108,194 +108,3 @@ $(document).ready(function() { ...@@ -108,194 +108,3 @@ $(document).ready(function() {
return false; return false;
}); });
}); });
FusionCharts.ready(function () {
var revenueChart = new FusionCharts({
type: 'doughnut2d',
renderAt: 'chart-container',
width: '100%',
height: '450',
dataFormat: 'json',
dataSource: {
"chart": {
//"caption": "Expenditures Incurred in Publishing a Book",
"bgcolor": "FFFFFF",
"showvalues": "1",
"showpercentvalues": "1",
"showborder": "0",
"showplotborder": "0",
//"showlegend": "1",
//"legendborder": "0",
//"legendposition": "bottom",
"enablesmartlabels": "1",
"use3dlighting": "0",
"showshadow": "0",
//"legendbgcolor": "#CCCCCC",
//"legendbgalpha": "20",
//"legendborderalpha": "0",
//"legendshadow": "0",
//"legendnumcolumns": "3",
"labelFont": "RobotoBold",
"labelFontColor": "2d323a",
"labelFontSize": "14",
"labelFontBold": "1",
"palettecolors": "#ff3030,#ff7711,#ffc600,#95d900,#97cbdd,#cdc9c4",
"showHoverEffect":"1",
},
"data": [
{
"label": "Переходы из поисковых сетей",
"value": "71.75"
},
{
"label": "Переходы по рекламе",
"value": "12.28"
},
{
"label": "Прямые заходы",
"value": "12.19"
},
{
"label": "Другие",
"value": "2.26"
},
{
"label": "Другие",
"value": "0.76"
},
{
"label": "Другие",
"value": "0.76"
}
]
}
}).render();
});
FusionCharts.ready(function () {
var revenueChart = new FusionCharts({
type: 'column2d',
renderAt: 'chart-container-2',
width: '100%',
height: '300',
dataFormat: 'json',
dataSource: {
"chart": {
//"caption": "Monthly revenue for last year",
//"subCaption": "Harry's SuperMart",
"xAxisName": "",
"yAxisName": "Визиты:",
//"numberPrefix": "",
"paletteColors": "#c3b0fa",
"bgColor": "#ffffff",
"borderAlpha": "20",
"canvasBorderAlpha": "0",
"usePlotGradientColor": "0",
"plotBorderAlpha": "10",
"placevaluesInside": "1",
"rotatevalues": "1",
"valueFontColor": "#ffffff",
"showXAxisLine": "1",
"xAxisLineColor": "#999999",
"divlineColor": "#999999",
"divLineIsDashed": "1",
"showAlternateHGridColor": "0",
"subcaptionFontBold": "0",
"subcaptionFontSize": "14"
},
"data": [
{
"label": "Июн 14",
"value": "3000"
},
{
"label": "",
"value": "3400"
},
{
"label": "Авг 14",
"value": "7100"
},
{
"label": "",
"value": "9200"
},
{
"label": "Окт 14",
"value": "3400"
},
{
"label": "",
"value": "2850"
},
{
"label": "Дек 14",
"value": "2800"
},
{
"label": "",
"value": "2400"
},
{
"label": "Фев 15",
"value": "3800"
},
{
"label": "",
"value": "3900"
},
{
"label": "Апр 15",
"value": "3500"
},
{
"label": "",
"value": "3500"
},
{
"label": "Июн 15",
"value": "4100"
},
{
"label": "",
"value": "5900"
},
{
"label": "Авг 15",
"value": "5100"
},
{
"label": "",
"value": "4600"
},
{
"label": "Окт 15",
"value": "2800"
},
{
"label": "",
"value": "4500"
},
{
"label": "Дек 15",
"value": "5100"
}
],
"trendlines": [
{
"line": [
{
"startvalue": "700000",
"color": "#1aaf5d",
"valueOnRight": "1",
"displayvalue": "Monthly Target"
}
]
}
]
}
}).render();
});
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment