@@ -166,7 +166,7 @@ function chart_ingreso_egreso (widget) {
// Mostrar por meses
showMonths: function() {
var self = this;
- var title = ['Enero', 'Febrero', 'Marzo','Abril','Mayo','Junio','Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'];
+ var title = ['Ene', 'Feb', 'Mar','Abr','May','Jun','Jul','Ago','Sep','Oct','Nov','Dic'];
var inStatement;
var OutStatement;
var mes = 0;
@@ -316,9 +316,9 @@ function chart_ingreso_egreso (widget) {
layout: {
padding: {
top: 0,
- bottom: 15,
- left : 0,
- rigth: 0,
+ bottom: 40,
+ left : 10,
+ rigth: 10,
}
},
@@ -152,7 +152,7 @@ function chart_invoice (widget) {
var invoices;
var dataIn = [];
@@ -266,10 +266,10 @@ function chart_invoice (widget) {
- top: 5,
+ top: 0,
@@ -182,7 +182,7 @@ function chart_pos_order (widget) {
var order;
var invoice;
var data = [];
for (var i = 1; i <= 12; i++) {
order = self.getMonthPosOrder(i);
@@ -308,10 +308,10 @@ function chart_pos_order (widget) {
- top: 35,
- bottom: 20,
+ top: 45,
@@ -177,10 +177,10 @@ function chart_pos_order_customer (widget) {
- top: 40,
- bottom: 10,
@@ -211,16 +211,22 @@ function chart_pos_order_product (widget) {
options: {
responsive: true,
+ title: {
+ display: false,
+ },
hover: {
mode: 'nearest',
intersect: true
+ legend: {
- top: 30,
- left: 0,
+ left: 10,
@@ -170,16 +170,22 @@ function chart_pos_order_salesman (widget) {
@@ -118,7 +118,7 @@ function chart_purchase_expense (widget) {
showMonth: function() {
var dataPurchase = [];
var dataExpense = [];
@@ -263,10 +263,10 @@ function chart_purchase_expense (widget) {
@@ -195,10 +195,10 @@ function chart_sale_by_store (widget) {
@@ -27,8 +27,9 @@
</div>
</h2>
<div class="widget-content">
- <br/>
- <canvas></canvas>
+ <div class="container">
+ <canvas></canvas>
+ </div>
<div class="widget-content widget-loading">
<i class='fa fa-cog fa-spin fa-3x fa-fw'></i>
@@ -9,7 +9,7 @@
<span>Ventas</span>
<div class="col-xs-6">
- <div class="col-xs-6 col-xs-offset-9">
+ <div class="col-xs-6 col-xs-offset-10">
<div class="btn-group btn-group-xs">
<a type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="caret"></span>
@@ -28,8 +28,9 @@
@@ -8,7 +8,9 @@
<span>Ranking de clientes con más compras en el mes</span>
@@ -7,7 +7,9 @@
<span>Ranking de productos y servicios</span>
@@ -12,8 +12,9 @@