This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hibernate: | |
select | |
date_0_1x1_.Fecha as y0_, | |
sum(this_.SaldoInicial) as y1_, | |
sum(this_.Entradas) as y2_, | |
sum(this_.Salidas) as y3_, | |
sum(this_.AjustesPositivos) as y4_, | |
sum(this_.AjustesNegativos) as y5_, | |
sum(this_.Mermas) as y6_, | |
sum(this_.Reingresos) as y7_, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
protected void defineSerie(Chart<M> chart) { | |
this.colors=ColorUtils.getColorList(20); | |
valueAxis=new NumericAxis<M>(); | |
valueAxis.setPosition(Position.LEFT); | |
TextSprite valueText=new TextSprite(valuesTitle); | |
valueText.setFontSize(16); | |
valueAxis.setTitleConfig(valueText); | |
valueAxis.setDisplayGrid(true); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void calculateBounds() { | |
PreciseRectangle chartBBox = chart.getBBox(); | |
ListStore<M> store = chart.getCurrentStore(); | |
scale = new PrecisePoint(); | |
bbox.setX(chartBBox.getX() + chart.getMaxGutter()[0]); | |
bbox.setY(chartBBox.getY() + chart.getMaxGutter()[1]); | |
bbox.setWidth(chartBBox.getWidth() - (chart.getMaxGutter()[0] * 2)); | |
bbox.setHeight(chartBBox.getHeight() - (chart.getMaxGutter()[1] * 2)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select | |
product_0_2_.Clase as y0_, | |
sum(this_.Cantidad) as y1_, | |
sum(this_.Jarreo) as y2_, | |
sum(this_.Monto) as y3_, | |
sum(this_.Precio) as y4_ | |
from | |
EstadisticaDeVentas this_ | |
inner join | |
Tiempo date_0_1x1_ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2014-11-25 13:17:34 ERROR DBProcessHandler:46 - Error en ejecucion Proceso:com.asbitec.vbi.core.shared.services.sales.SalesCategoryProcess msg:String index out of range: 6 | |
java.lang.StringIndexOutOfBoundsException: String index out of range: 6 | |
at java.lang.String.substring(String.java:1907) | |
at com.asbitec.vbi.framework.server.services.category.CategoryUtil.getCategoryFromObject(CategoryUtil.java:103) | |
at com.asbitec.vbi.framework.server.services.category.CategoryProcessProvider.getCategories(CategoryProcessProvider.java:69) | |
at com.asbitec.vbi.framework.server.services.category.CategoryProcessHandler.executeOnTransaction(CategoryProcessHandler.java:38) | |
at com.asbitec.vbi.framework.server.services.category.CategoryProcessHandler.executeOnTransaction(CategoryProcessHandler.java:1) | |
at com.asbitec.vbi.framework.server.services.DBProcessHandler.executeProcess(DBProcessHandler.java:41) | |
at com.asbitec.vbi.framework.server.services.AbstractDispatcher.doExecute(AbstractDispatcher.java:23) | |
at com.asbitec.vbi.fram |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.asbitec.vbi.framework.shared.model.calendar; | |
import com.asbitec.vbi.framework.shared.model.ModelDTO; | |
import com.asbitec.vbi.framework.shared.model.filters.DateFilterPeriod; | |
/** | |
* Intervalo de Fechas Predefinido | |
* | |
* @author Daniel - (c)2014 ASBITEC | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@SuppressWarnings("serial") | |
public class DateCategoryValue extends CategoryValue<Date> { | |
public DateCategoryValue() { | |
super(); | |
} | |
public DateCategoryValue(String property) { | |
super(property); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
com.google.gwt.user.client.rpc.SerializationException: could not get type signature for class com.asbitec.vbi.framework.shared.model.category.calendar.MonthPeriodCategory | |
at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:125) | |
at com.asbitec.vbi.framework.shared.services.category.CategoryFiguresListProcess_FieldSerializer.serialize(CategoryFiguresListProcess_FieldSerializer.java:30) | |
at com.asbitec.vbi.core.shared.services.sales.SalesCategoryProcess_FieldSerializer.serialize(SalesCategoryProcess_FieldSerializer.java:21) | |
at com.asbitec.vbi.core.shared.services.sales.SalesCategoryProcess_FieldSerializer.serial(SalesCategoryProcess_FieldSerializer.java:33) | |
at com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase.java:126) | |
at com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.serialize(ClientSerializationStreamWriter.java:183) | |
at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWrite |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.asbitec.vbi.framework.shared.model; | |
import java.io.Serializable; | |
/** | |
* Interface markup modelos de Datos | |
* | |
* @author daniel | |
* | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class NiceScale { | |
private double minPoint; | |
private double maxPoint; | |
private double maxTicks = 10; | |
private double tickSpacing; | |
private double range; | |
private double niceMin; | |
private double niceMax; |