Init(Core): Change repo
This commit is contained in:
82
public/assets/js/pages/profile.init.js
Normal file
82
public/assets/js/pages/profile.init.js
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
Template Name: Qovex - Responsive Bootstrap 4 Admin Dashboard
|
||||
Author: Themesbrand
|
||||
Website: https://themesbrand.com/
|
||||
Contact: themesbrand@gmail.com
|
||||
File: Profile
|
||||
*/
|
||||
|
||||
Apex.chart = {
|
||||
fontFamily: 'inherit',
|
||||
locales: [{
|
||||
"name": "fa",
|
||||
"options": {
|
||||
"months": ["ژانویه", "فوریه", "مارس", "آوریل", "می", "ژوئن", "جولای", "آگوست", "سپتامبر", "اکتبر", "نوامبر", "دسامبر"],
|
||||
"shortMonths": ["ژانویه", "فوریه", "مارس", "آوریل", "می", "ژوئن", "جولای", "آگوست", "سپتامبر", "اکتبر", "نوامبر", "دسامبر"],
|
||||
"days": ["یکشنبه", "دوشنبه", "سهشنبه", "چهارشنبه", "پنجشنبه", "جمعه", "شنبه"],
|
||||
"shortDays": ["ی", "د", "س", "چ", "پ", "ج", "ش"],
|
||||
"toolbar": {
|
||||
"exportToSVG": "دریافت SVG",
|
||||
"exportToPNG": "دریافت PNG",
|
||||
"exportToCSV": "دریافت CSV",
|
||||
"menu": "فهرست",
|
||||
"selection": "انتخاب",
|
||||
"selectionZoom": "بزرگنمایی قسمت انتخاب شده",
|
||||
"zoomIn": "بزرگ نمایی",
|
||||
"zoomOut": "کوچک نمایی",
|
||||
"pan": "جا به جایی",
|
||||
"reset": "بازنشانی بزرگ نمایی"
|
||||
}
|
||||
}
|
||||
}],
|
||||
defaultLocale: "fa"
|
||||
}
|
||||
|
||||
var options = {
|
||||
chart: {
|
||||
height: 300,
|
||||
type: 'bar',
|
||||
toolbar: {
|
||||
show: false,
|
||||
}
|
||||
},
|
||||
plotOptions: {
|
||||
bar: {
|
||||
horizontal: false,
|
||||
columnWidth: '14%',
|
||||
endingShape: 'rounded'
|
||||
},
|
||||
},
|
||||
dataLabels: {
|
||||
enabled: false
|
||||
},
|
||||
stroke: {
|
||||
show: true,
|
||||
width: 2,
|
||||
colors: ['transparent']
|
||||
},
|
||||
series: [{
|
||||
name: 'درآمد',
|
||||
data: [50, 55, 126, 86, 47, 68, 106, 74, 65, 57, 86, 68]
|
||||
}],
|
||||
xaxis: {
|
||||
categories: ['فروردین', 'اردیبهشت', 'خرداد', 'تیر', 'مرداد', 'شهریور', 'مهر', 'آبان', 'آذر', 'دی', 'بهمن', 'اسفند'],
|
||||
},
|
||||
yaxis: {
|
||||
title: {
|
||||
text: 'هزار تومان'
|
||||
}
|
||||
},
|
||||
fill: {
|
||||
opacity: 1
|
||||
|
||||
},
|
||||
colors: ['#556ee6'],
|
||||
}
|
||||
|
||||
var chart = new ApexCharts(
|
||||
document.querySelector("#revenue-chart"),
|
||||
options
|
||||
);
|
||||
|
||||
chart.render();
|
||||
Reference in New Issue
Block a user