图表标题
title: {
x: "left", // 水平安放位置,默认为左对齐,可选为:
// 'center' ¦ 'left' ¦ 'right'
// ¦ {number}(x坐标,单位px)
y: "top", // 垂直安放位置,默认为全图顶端,可选为:
// 'top' ¦ 'bottom' ¦ 'center'
// ¦ {number}(y坐标,单位px)
//textAlign: null // 水平对齐方式,默认根据x设置自动调整
backgroundColor: "rgba(0,0,0,0)",
borderColor: "#ccc", // 标题边框颜色
borderWidth: , // 标题边框线宽,单位px,默认为0(无边框)
padding: , // 标题内边距,单位px,默认各方向内边距为5,
// 接受数组分别设定上右下左边距,同css
itemGap: , // 主副标题纵向间隔,单位px,默认为10,
textStyle: {
fontSize: ,
fontWeight: "bolder",
color: "#333" // 主标题文字颜色
},
subtextStyle: {
color: "#aaa" // 副标题文字颜色
}
},
默认色板
color: ["#ff7f50","#87cefa","#da70d6","#32cd32","#6495ed","#ff69b4","#ba55d3","#cd5c5c","#ffa500","#40e0d0","#1e90ff","#ff6347","#7b68ee","#00fa9a","#ffd700","#6699FF","#ff6666","#3cb371","#b8860b","#30e0e0"],
图例
legend: {
orient: "horizontal", // 布局方式,默认为水平布局,可选为:
// 'horizontal' ¦ 'vertical'
x: "center", // 水平安放位置,默认为全图居中,可选为:
// 'center' ¦ 'left' ¦ 'right'
// ¦ {number}(x坐标,单位px)
y: "top", // 垂直安放位置,默认为全图顶端,可选为:
// 'top' ¦ 'bottom' ¦ 'center'
// ¦ {number}(y坐标,单位px)
backgroundColor: "rgba(0,0,0,0)",
borderColor: "#ccc", // 图例边框颜色
borderWidth: , // 图例边框线宽,单位px,默认为0(无边框)
padding: , // 图例内边距,单位px,默认各方向内边距为5,
// 接受数组分别设定上右下左边距,同css
itemGap: , // 各个item之间的间隔,单位px,默认为10,
// 横向布局时为水平间隔,纵向布局时为纵向间隔
itemWidth: , // 图例图形宽度
itemHeight: , // 图例图形高度
textStyle: {
color: "#333" // 图例文字颜色
}
},
值域
dataRange: {
orient: "vertical", // 布局方式,默认为垂直布局,可选为:
// 'horizontal' ¦ 'vertical'
x: "left", // 水平安放位置,默认为全图左对齐,可选为:
// 'center' ¦ 'left' ¦ 'right'
// ¦ {number}(x坐标,单位px)
y: "bottom", // 垂直安放位置,默认为全图底部,可选为:
// 'top' ¦ 'bottom' ¦ 'center'
// ¦ {number}(y坐标,单位px)
backgroundColor: "rgba(0,0,0,0)",
borderColor: "#ccc", // 值域边框颜色
borderWidth: , // 值域边框线宽,单位px,默认为0(无边框)
padding: , // 值域内边距,单位px,默认各方向内边距为5,
// 接受数组分别设定上右下左边距,同css
itemGap: , // 各个item之间的间隔,单位px,默认为10,
// 横向布局时为水平间隔,纵向布局时为纵向间隔
itemWidth: , // 值域图形宽度,线性渐变水平布局宽度为该值 * 10
itemHeight: , // 值域图形高度,线性渐变垂直布局高度为该值 * 10
splitNumber: , // 分割段数,默认为5,为0时为线性渐变
color: ["#1e90ff", "#f0ffff"], //颜色
//text:['高','低'], // 文本,默认为数值文本
textStyle: {
color: "#333" // 值域文字颜色
}
},
工具栏
toolbox: {
orient: "horizontal", // 布局方式,默认为水平布局,可选为:
// 'horizontal' ¦ 'vertical'
x: "right", // 水平安放位置,默认为全图右对齐,可选为:
// 'center' ¦ 'left' ¦ 'right'
// ¦ {number}(x坐标,单位px)
y: "top", // 垂直安放位置,默认为全图顶端,可选为:
// 'top' ¦ 'bottom' ¦ 'center'
// ¦ {number}(y坐标,单位px)
color: ["#1e90ff", "#22bb22", "#4b0082", "#d2691e"],
backgroundColor: "rgba(0,0,0,0)", // 工具箱背景颜色
borderColor: "#ccc", // 工具箱边框颜色
borderWidth: , // 工具箱边框线宽,单位px,默认为0(无边框)
padding: , // 工具箱内边距,单位px,默认各方向内边距为5,
// 接受数组分别设定上右下左边距,同css
itemGap: , // 各个item之间的间隔,单位px,默认为10,
// 横向布局时为水平间隔,纵向布局时为纵向间隔
itemSize: , // 工具箱图形宽度
featureImageIcon: {}, // 自定义图片icon
featureTitle: {
mark: "辅助线开关",
markUndo: "删除辅助线",
markClear: "清空辅助线",
dataZoom: "区域缩放",
dataZoomReset: "区域缩放后退",
dataView: "数据视图",
lineChart: "折线图切换",
barChart: "柱形图切换",
restore: "还原",
saveAsImage: "保存为图片"
}
},
提示框
tooltip: {
trigger: "item", // 触发类型,默认数据触发,见下图,可选为:'item' ¦ 'axis'
showDelay: , // 显示延迟,添加显示延迟可以避免频繁切换,单位ms
hideDelay: , // 隐藏延迟,单位ms
transitionDuration: 0.4, // 动画变换时间,单位s
backgroundColor: "rgba(0,0,0,0.7)", // 提示背景颜色,默认为透明度为0.7的黑色
borderColor: "#333", // 提示边框颜色
borderRadius: , // 提示边框圆角,单位px,默认为4
borderWidth: , // 提示边框线宽,单位px,默认为0(无边框)
padding: , // 提示内边距,单位px,默认各方向内边距为5,
// 接受数组分别设定上右下左边距,同css
axisPointer: {
// 坐标轴指示器,坐标轴触发有效
type: "line", // 默认为直线,可选为:'line' | 'shadow'
lineStyle: {
// 直线指示器样式设置
color: "#48b",
width: ,
type: "solid"
},
shadowStyle: {
// 阴影指示器样式设置
width: "auto", // 阴影大小
color: "rgba(150,150,150,0.3)" // 阴影颜色
}
},
textStyle: {
color: "#fff"
}
},
区域缩放控制器
dataZoom: {
orient: "horizontal", // 布局方式,默认为水平布局,可选为:
// 'horizontal' ¦ 'vertical'
// x: {number}, // 水平安放位置,默认为根据grid参数适配,可选为:
// {number}(x坐标,单位px)
// y: {number}, // 垂直安放位置,默认为根据grid参数适配,可选为:
// {number}(y坐标,单位px)
// width: {number}, // 指定宽度,横向布局时默认为根据grid参数适配
// height: {number}, // 指定高度,纵向布局时默认为根据grid参数适配
backgroundColor: "rgba(0,0,0,0)", // 背景颜色
dataBackgroundColor: "#eee", // 数据背景颜色
fillerColor: "rgba(144,197,237,0.2)", // 填充颜色
handleColor: "rgba(70,130,180,0.8)" // 手柄颜色
},
、网格
grid: {
x: ,
y: ,
x2: ,
y2: ,
// width: {totalWidth} - x - x2,
// height: {totalHeight} - y - y2,
backgroundColor: "rgba(0,0,0,0)",
borderWidth: ,
borderColor: "#ccc"
},
、类目轴
categoryAxis: {
position: "bottom", // 位置
nameLocation: "end", // 坐标轴名字位置,支持'start' | 'end'
boundaryGap: true, // 类目起始和结束两端空白策略
axisLine: {
// 坐标轴线
show: true, // 默认显示,属性show控制显示与否
lineStyle: {
// 属性lineStyle控制线条样式
color: "#48b",
width: ,
type: "solid"
}
},
axisTick: {
// 坐标轴小标记
show: true, // 属性show控制显示与否,默认不显示
interval: "auto",
// onGap: null,
inside: false, // 控制小标记是否在grid里
length: , // 属性length控制线长
lineStyle: {
// 属性lineStyle控制线条样式
color: "#333",
width:
}
},
axisLabel: {
// 坐标轴文本标签,详见axis.axisLabel
show: true,
interval: "auto",
rotate: ,
margin: ,
// formatter: null,
textStyle: {
// 其余属性默认使用全局文本样式,详见TEXTSTYLE
color: "#333"
}
},
splitLine: {
// 分隔线
show: true, // 默认显示,属性show控制显示与否
// onGap: null,
lineStyle: {
// 属性lineStyle(详见lineStyle)控制线条样式
color: ["#ccc"],
width: ,
type: "solid"
}
},
splitArea: {
// 分隔区域
show: false, // 默认不显示,属性show控制显示与否
// onGap: null,
areaStyle: {
// 属性areaStyle(详见areaStyle)控制区域样式
color: ["rgba(250,250,250,0.3)", "rgba(200,200,200,0.3)"]
}
}
},
、数值型坐标轴默认参数
valueAxis: {
position: "left", // 位置
nameLocation: "end", // 坐标轴名字位置,支持'start' | 'end'
nameTextStyle: {}, // 坐标轴文字样式,默认取全局样式
boundaryGap: [, ], // 数值起始和结束两端空白策略
splitNumber: , // 分割段数,默认为5
axisLine: {
// 坐标轴线
show: true, // 默认显示,属性show控制显示与否
lineStyle: {
// 属性lineStyle控制线条样式
color: "#48b",
width: ,
type: "solid"
}
},
axisTick: {
// 坐标轴小标记
show: false, // 属性show控制显示与否,默认不显示
inside: false, // 控制小标记是否在grid里
length: , // 属性length控制线长
lineStyle: {
// 属性lineStyle控制线条样式
color: "#333",
width:
}
},
axisLabel: {
// 坐标轴文本标签,详见axis.axisLabel
show: true,
rotate: ,
margin: ,
// formatter: null,
textStyle: {
// 其余属性默认使用全局文本样式,详见TEXTSTYLE
color: "#333"
}
},
splitLine: {
// 分隔线
show: true, // 默认显示,属性show控制显示与否
lineStyle: {
// 属性lineStyle(详见lineStyle)控制线条样式
color: ["#ccc"],
width: ,
type: "solid"
}
},
splitArea: {
// 分隔区域
show: false, // 默认不显示,属性show控制显示与否
areaStyle: {
// 属性areaStyle(详见areaStyle)控制区域样式
color: ["rgba(250,250,250,0.3)", "rgba(200,200,200,0.3)"]
}
}
},
polar: {
center: ["50%", "50%"], // 默认全局居中
radius: "75%",
startAngle: ,
splitNumber: ,
name: {
show: true,
textStyle: {
// 其余属性默认使用全局文本样式,详见TEXTSTYLE
color: "#333"
}
},
axisLine: {
// 坐标轴线
show: true, // 默认显示,属性show控制显示与否
lineStyle: {
// 属性lineStyle控制线条样式
color: "#ccc",
width: ,
type: "solid"
}
},
axisLabel: {
// 坐标轴文本标签,详见axis.axisLabel
show: false,
textStyle: {
// 其余属性默认使用全局文本样式,详见TEXTSTYLE
color: "#333"
}
},
splitArea: {
show: true,
areaStyle: {
color: ["rgba(250,250,250,0.3)", "rgba(200,200,200,0.3)"]
}
},
splitLine: {
show: true,
lineStyle: {
width: ,
color: "#ccc"
}
}
},
、柱形图默认参数
bar: {
barMinHeight: , // 最小高度改为0
// barWidth: null, // 默认自适应
barGap: "30%", // 柱间距离,默认为柱形宽度的30%,可设固定值
barCategoryGap: "20%", // 类目间柱形距离,默认为类目间距的20%,可设固定值
itemStyle: {
normal: {
// color: '各异',
barBorderColor: "#fff", // 柱条边线
barBorderRadius: , // 柱条边线圆角,单位px,默认为0
barBorderWidth: , // 柱条边线线宽,单位px,默认为1
label: {
show: false
// position: 默认自适应,水平布局为'top',垂直布局为'right',可选为
// 'inside'|'left'|'right'|'top'|'bottom'
// textStyle: null // 默认使用全局文本样式,详见TEXTSTYLE
}
},
emphasis: {
// color: '各异',
barBorderColor: "rgba(0,0,0,0)", // 柱条边线
barBorderRadius: , // 柱条边线圆角,单位px,默认为0
barBorderWidth: , // 柱条边线线宽,单位px,默认为1
label: {
show: false
// position: 默认自适应,水平布局为'top',垂直布局为'right',可选为
// 'inside'|'left'|'right'|'top'|'bottom'
// textStyle: null // 默认使用全局文本样式,详见TEXTSTYLE
}
}
}
},
、折线图默认参数
line: {
itemStyle: {
normal: {
// color: 各异,
label: {
show: false
// position: 默认自适应,水平布局为'top',垂直布局为'right',可选为
// 'inside'|'left'|'right'|'top'|'bottom'
// textStyle: null // 默认使用全局文本样式,详见TEXTSTYLE
},
lineStyle: {
width: ,
type: "solid",
shadowColor: "rgba(0,0,0,0)", //默认透明
shadowBlur: ,
shadowOffsetX: ,
shadowOffsetY:
}
},
emphasis: {
// color: 各异,
label: {
show: false
// position: 默认自适应,水平布局为'top',垂直布局为'right',可选为
// 'inside'|'left'|'right'|'top'|'bottom'
// textStyle: null // 默认使用全局文本样式,详见TEXTSTYLE
}
}
},
//smooth : false,
//symbol: null, // 拐点图形类型
symbolSize: , // 拐点图形大小
//symbolRotate : null, // 拐点图形旋转控制
showAllSymbol: false // 标志图形默认只有主轴显示(随主轴标签间隔隐藏策略)
},
、K线图默认参数
k: {
// barWidth : null // 默认自适应
// barMaxWidth : null // 默认自适应
itemStyle: {
normal: {
color: "#fff", // 阳线填充颜色
color0: "#00aa11", // 阴线填充颜色
lineStyle: {
width: ,
color: "#ff3200", // 阳线边框颜色
color0: "#00aa11" // 阴线边框颜色
}
},
emphasis: {
// color: 各异,
// color0: 各异
}
}
},
、散点图默认参数
scatter: {
//symbol: null, // 图形类型
symbolSize: , // 图形大小,半宽(半径)参数,当图形为方向或菱形则总宽度为symbolSize * 2
//symbolRotate : null, // 图形旋转控制
large: false, // 大规模散点图
largeThreshold: , // 大规模阀值,large为true且数据量>largeThreshold才启用大规模模式
itemStyle: {
normal: {
// color: 各异,
label: {
show: false
// position: 默认自适应,水平布局为'top',垂直布局为'right',可选为
// 'inside'|'left'|'right'|'top'|'bottom'
// textStyle: null // 默认使用全局文本样式,详见TEXTSTYLE
}
},
emphasis: {
// color: '各异'
label: {
show: false
// position: 默认自适应,水平布局为'top',垂直布局为'right',可选为
// 'inside'|'left'|'right'|'top'|'bottom'
// textStyle: null // 默认使用全局文本样式,详见TEXTSTYLE
}
}
}
},
、雷达图默认参数
radar: {
itemStyle: {
normal: {
// color: 各异,
label: {
show: false
},
lineStyle: {
width: ,
type: "solid"
}
},
emphasis: {
// color: 各异,
label: {
show: false
}
}
},
//symbol: null, // 拐点图形类型
symbolSize: // 可计算特性参数,空数据拖拽提示图形大小
//symbolRotate : null, // 图形旋转控制
},
、饼图默认参数
pie: {
center: ["50%", "50%"], // 默认全局居中
radius: [, "75%"],
clockWise: false, // 默认逆时针
startAngle: ,
minAngle: , // 最小角度改为0
selectedOffset: , // 选中是扇区偏移量
itemStyle: {
normal: {
// color: 各异,
borderColor: "#fff",
borderWidth: ,
label: {
show: true,
position: "outer"
// textStyle: null // 默认使用全局文本样式,详见TEXTSTYLE
},
labelLine: {
show: true,
length: ,
lineStyle: {
// color: 各异,
width: ,
type: "solid"
}
}
},
emphasis: {
// color: 各异,
borderColor: "rgba(0,0,0,0)",
borderWidth: ,
label: {
show: false
// position: 'outer'
// textStyle: null // 默认使用全局文本样式,详见TEXTSTYLE
},
labelLine: {
show: false,
length: ,
lineStyle: {
// color: 各异,
width: ,
type: "solid"
}
}
}
}
},
、地图
map: {
mapType: "china", // 各省的mapType暂时都用中文
mapLocation: {
x: "center",
y: "center"
// width // 自适应
// height // 自适应
},
showLegendSymbol: true, // 显示图例颜色标识(系列标识的小圆点),存在legend时生效
itemStyle: {
normal: {
// color: 各异,
borderColor: "#fff",
borderWidth: ,
areaStyle: {
color: "#ccc" //rgba(135,206,250,0.8)
},
label: {
show: false,
textStyle: {
color: "rgba(139,69,19,1)"
}
}
},
emphasis: {
// 也是选中样式
// color: 各异,
borderColor: "rgba(0,0,0,0)",
borderWidth: ,
areaStyle: {
color: "rgba(255,215,0,0.8)"
},
label: {
show: false,
textStyle: {
color: "rgba(139,69,19,1)"
}
}
}
}
},
force: {
// 数据map到圆的半径的最小值和最大值
minRadius: ,
maxRadius: ,
density: 1.0,
attractiveness: 1.0,
// 初始化的随机大小位置
initSize: ,
// 向心力因子,越大向心力越大
centripetal: ,
// 冷却因子
coolDown: 0.99,
// 分类里如果有样式会覆盖节点默认样式
itemStyle: {
normal: {
// color: 各异,
label: {
show: false
// textStyle: null // 默认使用全局文本样式,详见TEXTSTYLE
},
nodeStyle: {
brushType: "both",
color: "#f08c2e",
strokeColor: "#5182ab"
},
linkStyle: {
strokeColor: "#5182ab"
}
},
emphasis: {
// color: 各异,
label: {
show: false
// textStyle: null // 默认使用全局文本样式,详见TEXTSTYLE
},
nodeStyle: {},
linkStyle: {}
}
}
},
chord: {
radius: ["65%", "75%"],
center: ["50%", "50%"],
padding: ,
sort: "none", // can be 'none', 'ascending', 'descending'
sortSub: "none", // can be 'none', 'ascending', 'descending'
startAngle: ,
clockWise: false,
showScale: false,
showScaleText: false,
itemStyle: {
normal: {
label: {
show: true
// textStyle: null // 默认使用全局文本样式,详见TEXTSTYLE
},
lineStyle: {
width: ,
color: "#000"
},
chordStyle: {
lineStyle: {
width: ,
color: "#666"
}
}
},
emphasis: {
lineStyle: {
width: ,
color: "#000"
},
chordStyle: {
lineStyle: {
width: ,
color: "#333"
}
}
}
}
},
island: {
r: ,
calculateStep: 0.1 // 滚轮可计算步长 0.1 = 10%
},
、动态提示框
markPoint: {
symbol: "pin", // 标注类型
symbolSize: , // 标注大小,半宽(半径)参数,当图形为方向或菱形则总宽度为symbolSize * 2
//symbolRotate : null, // 标注旋转控制
itemStyle: {
normal: {
// color: 各异,
// borderColor: 各异, // 标注边线颜色,优先于color
borderWidth: , // 标注边线线宽,单位px,默认为1
label: {
show: true,
position: "inside" // 可选为'left'|'right'|'top'|'bottom'
// textStyle: null // 默认使用全局文本样式,详见TEXTSTYLE
}
},
emphasis: {
// color: 各异
label: {
show: true
// position: 'inside' // 'left'|'right'|'top'|'bottom'
// textStyle: null // 默认使用全局文本样式,详见TEXTSTYLE
}
}
}
},
、标线
markLine: {
// 标线起始和结束的symbol介绍类型,如果都一样,可以直接传string
symbol: ["circle", "arrow"],
// 标线起始和结束的symbol大小,半宽(半径)参数,当图形为方向或菱形则总宽度为symbolSize * 2
symbolSize: [, ],
// 标线起始和结束的symbol旋转控制
//symbolRotate : null,
itemStyle: {
normal: {
// color: 各异, // 标线主色,线色,symbol主色
/ / borderColor: 随color, // 标线symbol边框颜色,优先于color
borderWidth: , // 标线symbol边框线宽,单位px,默认为2
label: {
show: false,
// 可选为 'start'|'end'|'left'|'right'|'top'|'bottom'
position: "inside",
textStyle: {
// 默认使用全局文本样式,详见TEXTSTYLE
color: "#333"
}
},
lineStyle: {
// color: 随borderColor, // 主色,线色,优先级高于borderColor和color
// width: 随borderWidth, // 优先于borderWidth
type: "solid",
shadowColor: "rgba(0,0,0,0)", //默认透明
shadowBlur: ,
shadowOffsetX: ,
shadowOffsetY:
}
},
emphasis: {
// color: 各异
label: {
show: false
// position: 'inside' // 'left'|'right'|'top'|'bottom'
// textStyle: null // 默认使用全局文本样式,详见TEXTSTYLE
},
lineStyle: {}
}
}
},
、文字样式
textStyle: {
decoration: "none",
fontFamily: "Arial, Verdana, sans-serif",
fontFamily2: "微软雅黑", // IE8- 字体模糊并且不支持不同字体混排,额外指定一份
fontSize: ,
fontStyle: "normal",
fontWeight: "normal"
}, 、默认标志图形类型列表
symbolList: [
"circle",
"rectangle",
"triangle",
"diamond",
"emptyCircle",
"emptyRectangle",
"emptyTriangle",
"emptyDiamond"
],
loadingText: "Loading...",
// 可计算特性配置,孤岛,提示颜色
calculable: false, // 默认关闭可计算特性
calculableColor: "rgba(255,165,0,0.6)", // 拖拽提示边框颜色
calculableHolderColor: "#ccc", // 可计算占位提示颜色
nameConnector: " & ",
valueConnector: " : ",
animation: true,
animationThreshold: , // 动画元素阀值,产生的图形原素超过2500不出动画
addDataAnimation: true, // 动态数据接口是否开启动画效果
animationDuration: ,
animationEasing: "ExponentialOut", //BounceOut 、Echarts 标签过长如何让axisLabel换行
xAxis: [
{
type: "category",
data: [ "竹节丝", "椭圆度不合格", "缩丝", "超丝", "表面刮伤或亮丝", "脆断", "怒", "否v", "怒2", "否v4" ],
axisPointer: {
type: "line"
},
axisLabel: {
interval: ,
formatter: function(params) {
var newParamsName = "";
var paramsNameNumber = params.length;
var provideNumber = ;
var rowNumber = Math.ceil(paramsNameNumber / provideNumber);
if (paramsNameNumber > provideNumber) {
for (var p = ; p < rowNumber; p++) {
var tempStr = "";
var start = p * provideNumber;
var end = start + provideNumber;
if (p == rowNumber - ) {
tempStr = params.substring(start, paramsNameNumber);
} else {
tempStr = params.substring(start, end) + "\n";
}
newParamsName += tempStr;
}
} else {
newParamsName = params;
}
return newParamsName;
}
},
position: "bottom"
}
], 、echarts x轴字体过长换行
xAxis: [{
type: "category",
data: ["标识问题", "模盒漏水", "拉丝粉", "未放安全栓", "模盒内拉丝粉结焦", "硼砂槽出口结晶", "收线速度与标准不符", "浓度与标准不符", "吹扫不良", "掉导轮", "放线盘条脏", "卷筒积线高度与标准不符", "轴承不转"],
axisPointer: {
type: "line"
},
// show:false,取消刻度线
// 取消刻度
axisTick: {
show: false
},
axisLabel: {
interval: ,
formatter: function(params) {
var newParamsName = "";
var paramsNameNumber = params.length;
var provideNumber = ;
var rowNumber = Math.ceil(paramsNameNumber / provideNumber);
if (paramsNameNumber > provideNumber) {
for (var p = ; p < rowNumber; p++) {
var tempStr = "";
var start = p * provideNumber;
var end = start + provideNumber;
if (p == rowNumber - ) {
tempStr = params.substring(start, paramsNameNumber);
} else {
tempStr = params.substring(start, end) + "\n";
}
newParamsName += tempStr;
} } else {
newParamsName = params;
}
return newParamsName
}
},
position: "bottom"
}],

echarts的一些基础笔记的更多相关文章

  1. Java基础笔记 – Annotation注解的介绍和使用 自定义注解

    Java基础笔记 – Annotation注解的介绍和使用 自定义注解 本文由arthinking发表于5年前 | Java基础 | 评论数 7 |  被围观 25,969 views+ 1.Anno ...

  2. php代码审计基础笔记

    出处: 九零SEC连接:http://forum.90sec.org/forum.php?mod=viewthread&tid=8059 --------------------------- ...

  3. MYSQL基础笔记(六)- 数据类型一

    数据类型(列类型) 所谓数据烈性,就是对数据进行统一的分类.从系统角度出发时为了能够使用统一的方式进行管理,更好的利用有限的空间. SQL中讲数据类型分成三大类:1.数值类型,2.字符串类型和时间日期 ...

  4. MYSQL基础笔记(五)- 练习作业:站点统计练习

    作业:站点统计 1.将用户的访问信息记录到文件中,独占一行,记录IP地址 <?php //站点统计 header('Content-type:text/html;charset=utf-8'); ...

  5. MYSQL基础笔记(四)-数据基本操作

    数据操作 新增数据:两种方案. 1.方案一,给全表字段插入数据,不需要指定字段列表,要求数据的值出现的顺序必须与表中设计的字段出现的顺序一致.凡是非数值数据,到需要使用引号(建议使用单引号)包裹. i ...

  6. MYSQL基础笔记(三)-表操作基础

    数据表的操作 表与字段是密不可分的. 新增数据表 Create table [if not exists] 表名( 字段名 数据类型, 字段名 数据类型, 字段n 数据类型 --最后一行不需要加逗号 ...

  7. MYSQL基础笔记(二)-SQL基本操作

    SQL基本操作 基本操作:CRUD,增删改查 将SQL的基本操作根据操作对象进行分类: 1.库操作 2.表操作 3.数据操作 库操作: 对数据库的增删改查 新增数据库: 基本语法: Create da ...

  8. MYSQL基础笔记(一)

    关系型数据库概念: 1.什么是关系型数据库? 关系型数据库:是一种建立在关系模型(数学模型)上的数据库 关系模型:一种所谓建立在关系上的模型. 关系模型包含三个方面: 1.数据结构:数据存储的问题,二 ...

  9. JavaScript基础笔记二

    一.函数返回值1.什么是函数返回值    函数的执行结果2. 可以没有return // 没有return或者return后面为空则会返回undefined3.一个函数应该只返回一种类型的值 二.可变 ...

随机推荐

  1. Apache与weblogic整合实战(独家研究)

    用apache来处理外界的请求,再把请求转发给wls,这样就行突破wls express版本号的5用户限制 详细配置例如以下 copy ${WLS_Server}/server/lib下的mod_wl ...

  2. 最正经的php post get

    https://www.cnblogs.com/ps-blog/p/6732448.html /** * 模拟post进行url请求 * @param string $url * @param str ...

  3. HDU 1213 How Many Tables 并查集 水~

    http://acm.hdu.edu.cn/showproblem.php?pid=1213 果然是需要我陪跑T T,禽兽工作人员还不让,哼,但还是陪跑了~ 啊,还有呀,明天校运会终于不用去了~耶耶耶 ...

  4. 数学分析告诉偶们什么(vamei)

    1]人生的痛苦在于追求错误的东西.所谓追求错误的东西,就是你在无限趋近于它的时候,才猛然发现,你和它是不连续的. 2]人和人就像数轴上的有理数点,彼此能够靠得非常近非常近,但你们之间始终存在隔阂. 3 ...

  5. Oracle 12C R2 on Linux 7.X 单实例静默安装文档

    禁用防火墙systemctl stop firewalld.servicesystemctl disable firewalld.service 禁用SELinuxcat /etc/selinux/c ...

  6. tomcat 启动项目时出现 ZipException: error in opening zip file

    错误情况 项目用 maven 打好 war 包后放到 tomcat 下,启动 tomcat,出现以下错误 3-Nov-2017 12:21:44.346 严重 [localhost-startStop ...

  7. [tmux] Manage terminal workspaces using session naming

    It's a lot easier to manage your tmux session when they have sensible names. We'll cover: How to cre ...

  8. 原生js如何实现图片翻转旋转效果?

    原生js如何实现图片翻转旋转效果? 一.总结 1.通过给元素设置style中的transition来实现的. 2.我昨天纠结的效果全部可以通过精读这个代码后实现. 二.原生js如何实现图片翻转旋转效果 ...

  9. 【codeforces 758A】Holiday Of Equality

    time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard ou ...

  10. RequiredFieldValidator----验证控件不起作用

    验证码对于网络时代的我们来说实在是太熟悉了.登陆一个站点.注冊一个账户或是各种聊天工具登陆都须要来输入验证码.     为什么要使用验证码呢?     验证码通常是防止有人利用机器人自己主动批量注冊. ...