Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yaxis tick is not showing? #105

Open
kervin521 opened this issue Sep 18, 2016 · 0 comments
Open

yaxis tick is not showing? #105

kervin521 opened this issue Sep 18, 2016 · 0 comments

Comments

@kervin521
Copy link

kervin521 commented Sep 18, 2016

var data=[[["2016-09-18",2],["2016-09-19",0],["2016-09-20",0],["2016-09-21",0],["2016-09-22",0],["2016-09-23",0],["2016-09-24",0]],[["2016-09-18",1],["2016-09-19",0],["2016-09-20",0],["2016-09-21",0],["2016-09-22",0],["2016-09-23",0],["2016-09-24",0]],[["2016-09-18",1],["2016-09-19",0],["2016-09-20",0],["2016-09-21",0],["2016-09-22",0],["2016-09-23",0],["2016-09-24",0]],[["2016-09-18",1],["2016-09-19",0],["2016-09-20",0],["2016-09-21",0],["2016-09-22",0],["2016-09-23",0],["2016-09-24",0]],[["2016-09-18",1],["2016-09-19",0],["2016-09-20",0],["2016-09-21",0],["2016-09-22",0],["2016-09-23",0],["2016-09-24",0]],[["2016-09-18",1],["2016-09-19",0],["2016-09-20",0],["2016-09-21",0],["2016-09-22",0],["2016-09-23",0],["2016-09-24",0]],[["2016-09-18",6],["2016-09-19",0],["2016-09-20",0],["2016-09-21",0],["2016-09-22",0],["2016-09-23",0],["2016-09-24",0]],[["2016-09-18",1],["2016-09-19",0],["2016-09-20",0],["2016-09-21",0],["2016-09-22",0],["2016-09-23",0],["2016-09-24",0]],[["2016-09-18",3],["2016-09-19",0],["2016-09-20",0],["2016-09-21",0],["2016-09-22",1],["2016-09-23",0],["2016-09-24",0]],[["2016-09-18",1],["2016-09-19",0],["2016-09-20",0],["2016-09-21",0],["2016-09-22",0],["2016-09-23",0],["2016-09-24",0]],[["2016-09-18",1],["2016-09-19",0],["2016-09-20",0],["2016-09-21",0],["2016-09-22",0],["2016-09-23",0],["2016-09-24",0]],[["2016-09-18",1],["2016-09-19",0],["2016-09-20",0],["2016-09-21",0],["2016-09-22",0],["2016-09-23",0],["2016-09-24",0]],[["2016-09-18",2],["2016-09-19",0],["2016-09-20",0],["2016-09-21",0],["2016-09-22",0],["2016-09-23",0],["2016-09-24",0]],[["2016-09-18",2],["2016-09-19",0],["2016-09-20",0],["2016-09-21",0],["2016-09-22",0],["2016-09-23",0],["2016-09-24",0]],[["2016-09-18",3],["2016-09-19",0],["2016-09-20",0],["2016-09-21",0],["2016-09-22",0],["2016-09-23",0],["2016-09-24",0]]]

$.jqplot("data_list",data, {
title: {
text: "工位统计率折线图", //设置当前图的标题
show: true,//设置当前图的标题是否显示
},
axes:{
showTicks: true, //是否显示刻度线以及坐标轴上的刻度值,
showTickMarks: true, // 设置是否显示刻度
useSeriesColor: true, //如果有多个纵(横)坐标轴,通过该属性设置这些坐标轴是否以不同颜色显示
xaxis:{
renderer:$.jqplot.DateAxisRenderer
},
yaxis: {
min: 0,
tickOptions:{
mark: 'outside', // 设置刻度在坐标轴上的显示方式:分为:坐标轴外显示,内显示,和穿过显示;其值分别为 'outside', 'inside' or 'cross'。
showMark: true, //设置是否显示刻度
showGridline: true, // 是否在图表区域显示刻度值方向的网格
markSize: 4, // 每个刻度线顶点距刻度线在坐标轴上点距离(像素为单位)如果mark值为 'cross', 那么每个刻度线都有上顶点和下顶点,刻度线与坐标轴 在刻度线中间交叉,那么这时这个距离×2
show: true, //是否显示刻度线,与刻度线同方向的网格线,以及坐标轴上的刻度值
showLabel: true, //是否显示刻度线以及坐标轴上的刻度值
formatString: '', //设置坐标轴上刻度值显示格式,eg:'%b %#d, %Y'表示格式"月 日,年","AUG 30,2008"
fontSize:'10px', //刻度值的字体大小
fontFamily:'Tahoma', //刻度值上字体
angle:40, //刻度值与坐标轴夹角,角度为坐标轴正向顺时针方向
fontWeight:'normal', //字体的粗细
fontStretch:1//刻度值在所在方向(坐标轴外)上的伸展(拉伸)度
}
}
},
series:[
{
label: "--",
lineWidth:4,
markerOptions:{
style:"square"
}
}
]
});

but result:
Y coordinates are not displayed on the date, the line char is not displayed
xy

@johanbove johanbove added the bug label Sep 27, 2018
@johanbove johanbove added this to the jQplot 1.0.10 milestone Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants