package com.kendoui.spring.models;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.List;
public class ChartDataRepository {
public static List<BulletPoint> mmhgData() {
List<BulletPoint> result = new ArrayList<BulletPoint>();
result.add(new BulletPoint(750, 762.5, "1"));
result.add(new BulletPoint(754, 768.5, "2"));
result.add(new BulletPoint(762, 770, "3"));
result.add(new BulletPoint(764, 773, "4"));
result.add(new BulletPoint(753, 760, "5"));
result.add(new BulletPoint(748, 765, "6"));
result.add(new BulletPoint(740, 760, "7"));
result.add(new BulletPoint(755, 758, "8"));
result.add(new BulletPoint(765, 768, "9"));
result.add(new BulletPoint(776, 783, "10"));
result.add(new BulletPoint(768, 770, "11"));
result.add(new BulletPoint(760, 762.5, "12"));
result.add(new BulletPoint(763, 768, "13"));
result.add(new BulletPoint(758, 766, "14"));
return result;
}
public static List<BulletPoint> hPaData() {
List<BulletPoint> result = new ArrayList<BulletPoint>();
result.add(new BulletPoint(1001, 1017, "1"));
result.add(new BulletPoint(1005, 1024, "2"));
result.add(new BulletPoint(1016, 1026, "3"));
result.add(new BulletPoint(1019, 1030, "4"));
result.add(new BulletPoint(1004, 1013, "5"));
result.add(new BulletPoint(998, 1020, "6"));
result.add(new BulletPoint(987, 1013, "7"));
result.add(new BulletPoint(1006.5, 1010, "8"));
result.add(new BulletPoint(1020, 1023, "9"));
result.add(new BulletPoint(1035, 1044, "10"));
result.add(new BulletPoint(1025, 1026, "11"));
result.add(new BulletPoint(1013, 1017, "12"));
result.add(new BulletPoint(1017, 1023, "13"));
result.add(new BulletPoint(1010, 1021, "14"));
return result;
}
public static List<AprilSales> AprilSalesData() {
List<AprilSales> result = new ArrayList<AprilSales>();
result.add(new AprilSales(2373, 5000, "1"));
result.add(new AprilSales(3283, 5250, "2"));
result.add(new AprilSales(4532, 5500, "3"));
result.add(new AprilSales(4620, 5750, "4"));
result.add(new AprilSales(6504, 6000, "5"));
result.add(new AprilSales(6715, 6250, "6"));
result.add(new AprilSales(6234, 6500, "7"));
result.add(new AprilSales(6750, 6750, "8"));
result.add(new AprilSales(6300, 7000, "9"));
result.add(new AprilSales(6459, 7250, "10"));
result.add(new AprilSales(8305, 7500, "11"));
result.add(new AprilSales(7222, 7750, "12"));
result.add(new AprilSales(6734, 8000, "13"));
result.add(new AprilSales(7863, 8250, "14"));
result.add(new AprilSales(8743, 8500, "15"));
result.add(new AprilSales(8846, 8750, "16"));
result.add(new AprilSales(8567, 9000, "17"));
result.add(new AprilSales(8193, 9250, "18"));
result.add(new AprilSales(9458, 9500, "19"));
result.add(new AprilSales(9254, 9750, "20"));
result.add(new AprilSales(10234, 10000, "21"));
result.add(new AprilSales(9608, 10250, "22"));
result.add(new AprilSales(9350, 10500, "23"));
result.add(new AprilSales(8842, 10500, "24"));
result.add(new AprilSales(8349, 10500, "25"));
result.add(new AprilSales(8846, 10500, "26"));
result.add(new AprilSales(9567, 10500, "27"));
result.add(new AprilSales(10734, 10500, "28"));
result.add(new AprilSales(10124, 10500, "29"));
result.add(new AprilSales(9680, 10500, "30"));
return result;
}
public static List<PricePerformance> PricePerformanceData() {
List<PricePerformance> result = new ArrayList<PricePerformance>();
result.add(new PricePerformance("Pentium", "D 820", 105, 100));
result.add(new PricePerformance("Pentium", "D 915", 120, 102));
result.add(new PricePerformance("Pentium", "D 945", 160, 118));
result.add(new PricePerformance("Pentium", "XE 965", 1000, 137));
result.add(new PricePerformance("Core 2 Duo", "E6300", 185, 134));
result.add(new PricePerformance("Core 2 Duo", "E6400", 210, 143));
result.add(new PricePerformance("Core 2 Duo", "E6600", 305, 163));
result.add(new PricePerformance("Core 2 Duo", "E6700", 530, 177));
result.add(new PricePerformance("Core 2 Extreme", "X6800", 1000, 190));
result.add(new PricePerformance("Athlon 64", "X2 3800+", 148, 115));
result.add(new PricePerformance("Athlon 64", "X2 4200+", 170, 125));
result.add(new PricePerformance("Athlon 64", "X2 4600+", 205, 138));
result.add(new PricePerformance("Athlon 64", "X2 5000+", 290, 143));
result.add(new PricePerformance("Athlon 64", "FX-62", 800, 147));
return result;
}
public static List<ElectricityProduction> SpainElectricityProduction() {
List<ElectricityProduction> result = new ArrayList<ElectricityProduction>();
result.add(new ElectricityProduction("Spain", "2008", "GWh", 2578, 26112, 32203, 58973));
result.add(new ElectricityProduction("Spain", "2007", "GWh", 508, 30522, 27568, 55103));
result.add(new ElectricityProduction("Spain", "2006", "GWh", 119, 29831, 23297, 60126));
result.add(new ElectricityProduction("Spain", "2005", "GWh", 41, 23025, 21176, 57539));
result.add(new ElectricityProduction("Spain", "2004", "GWh", 56, 34439, 15700, 63606));
result.add(new ElectricityProduction("Spain", "2003", "GWh", 41, 43897, 12075, 61875));
result.add(new ElectricityProduction("Spain", "2002", "GWh", 30, 26270, 9342, 63016));
result.add(new ElectricityProduction("Spain", "2001", "GWh", 24, 43864, 6759, 63708));
result.add(new ElectricityProduction("Spain", "2000", "GWh", 18, 31807, 4727, 62206));
return result;
}
public static List<InternetUsers> InternetUsers() {
List<InternetUsers> result = new ArrayList<InternetUsers>();
result.add(new InternetUsers(1994,4.9,"United States"));
result.add(new InternetUsers(1995,9.2,"United States"));
result.add(new InternetUsers(1996,16.4,"United States"));
result.add(new InternetUsers(1997,21.6,"United States"));
result.add(new InternetUsers(1998,30.1,"United States"));
result.add(new InternetUsers(1999,35.9,"United States"));
result.add(new InternetUsers(2000,43.1,"United States"));
result.add(new InternetUsers(2001,49.2,"United States"));
result.add(new InternetUsers(2002,59.0,"United States"));
result.add(new InternetUsers(2003,61.9,"United States"));
result.add(new InternetUsers(2004,65,"United States"));
result.add(new InternetUsers(2005,68.3,"United States"));
result.add(new InternetUsers(2006,69.2,"United States"));
result.add(new InternetUsers(2007,75.3,"United States"));
result.add(new InternetUsers(2008,74.2,"United States"));
result.add(new InternetUsers(2009,71.2,"United States"));
result.add(new InternetUsers(2010,74.2,"United States"));
result.add(new InternetUsers(2011,78.2,"United States"));
return result;
}
public static List<GrandSlam> GrandSlam() {
List<GrandSlam> result = new ArrayList<GrandSlam>();
result.add(new GrandSlam(2003, 13, 3, "MIN: 13"));
result.add(new GrandSlam(2004, 22, 1, null));
result.add(new GrandSlam(2005, 24, 2, null));
result.add(new GrandSlam(2006, 27, 1, "MAX: 27"));
result.add(new GrandSlam(2007, 26, 1, null));
result.add(new GrandSlam(2008, 24,
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
Telerik kendo ui for JSP Demo。Kendo UI的for JSP版本,整个B/S工程,后台技术是spring+hibernate。 如果用kendo ui做前台js呈现,这个非常值得一看。因为JSP标签库,最终编译后还是生成了js的代码,有利于调试kendo ui的纯js页面。另外嘛,如果要求不高,可以直接使用JSP的标签tag,那样用起来更省事。 MyEclipse的工程,直接编译,配置个tomcat7,JDK7,可以运行了。 访问连接 http://localhost:8080/KendoExample/ 就会出demo页面了。数据库用的它自带的文件数据库,不需要外配。
资源推荐
资源详情
资源评论
收起资源包目录
Telerik kendo ui for JSP Demo (2593个子文件)
ChartDataRepository.class 259KB
DataSourceRequest.class 20KB
ImageBrowserDaoImpl.class 7KB
EditingCustomController.class 5KB
SQLiteDialect.class 5KB
ResourcesGroupingHorizontalController.class 5KB
ResourcesGroupingVerticalController.class 5KB
ForeignKeyColumnController.class 5KB
ResourcesController.class 5KB
MoveResizeController.class 5KB
IntradayDaoImpl.class 5KB
EventsController.class 5KB
IndexController.class 5KB
ApiController.class 5KB
RtlController.class 5KB
DetailedEmployee.class 5KB
InitialfilesController.class 4KB
DataVizController.class 4KB
MeetingDaoImpl.class 4KB
WebController.class 4KB
EditingController.class 4KB
Meeting.class 4KB
EmployeeDaoImpl.class 4KB
NavigationController.class 4KB
TemplatesController.class 4KB
EditingController.class 4KB
OrderDaoImpl.class 3KB
EditingCustomValidationController.class 3KB
EditingInlineController.class 3KB
EditingPopupController.class 3KB
RemoteDataController.class 3KB
ImageBrowserController.class 3KB
Task.class 3KB
Order.class 3KB
Customer.class 3KB
Employee.class 3KB
Intraday.class 3KB
IndexController.class 3KB
DiagramDataRepository.class 3KB
LocalBindingController.class 3KB
ProductDaoImpl.class 3KB
RestrictionController.class 3KB
RemoteDataController.class 3KB
Product.class 3KB
TaskDaoImpl.class 3KB
LocalDataController.class 3KB
GroupedDataController.class 3KB
DetailTemplateController.class 3KB
SourceCodeInterceptor.class 3KB
EventsController.class 3KB
HierarchyController.class 3KB
RtlController.class 3KB
TemplatesController.class 2KB
Weather.class 2KB
CascadingDropDownListController.class 2KB
AnimationController.class 2KB
CascadingComboBoxController.class 2KB
AnimationController.class 2KB
ContentInitializerDaoImpl.class 2KB
ServerFilteringController.class 2KB
VirtualizationController.class 2KB
IndexController.class 2KB
StockDataPoint.class 2KB
TemplateController.class 2KB
OrgChartItem.class 2KB
AnimationController.class 2KB
DataSourceRequest$FilterDescriptor.class 2KB
TreeViewItem.class 2KB
IndexController.class 2KB
TemplateController.class 2KB
IndexController.class 2KB
ElectricityProduction.class 2KB
FilterMenuCustomizationController.class 2KB
TemplateController.class 2KB
DataSourceRequest$1.class 2KB
ToolbarTemplateController.class 2KB
RemoteBindingController.class 2KB
IndexController.class 2KB
PanesController.class 2KB
IndexController.class 2KB
LocalDataController.class 2KB
OrientationController.class 2KB
BoxPlotPoint.class 2KB
CompensationStats.class 2KB
AjaxController.class 2KB
ApiController.class 2KB
DirectionController.class 2KB
Item.class 2KB
ApiController.class 2KB
RangeSelectionController.class 2KB
ApiController.class 2KB
PieLabelsController.class 2KB
PieLabelsController.class 2KB
FunnelLabelsController.class 2KB
LogarithmicAxisController.class 2KB
IndexController.class 2KB
ScreenResolution.class 2KB
IsoDateJsonSerializer.class 2KB
EventsController.class 2KB
WeatherDaoImpl.class 2KB
共 2593 条
- 1
- 2
- 3
- 4
- 5
- 6
- 26
夜魔009
- 粉丝: 427
- 资源: 17
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
前往页