Welcome Guest Search | Active Topics |

Unable to see complete data labels when the data reached to Y-axis
zetazes01
#1 Posted : Monday, May 12, 2014 9:15:04 AM(UTC)
Rank: Newbie

Groups: jQueryChart, Registered
Joined: 10/15/2012(UTC)
Posts: 4

Thanks: 1 times
Was thanked: 0 time(s) in 0 post(s)
Hi,
We have an application which is integrated with JQ Chart's. When the data reached to peak of Y-axis, unable to see the data labels completely. Please follow the below URL for the chart.

http://s12.postimg.org/e...9/Data_Lables_Issue.jpg

Thanks,
Ramasubrahmanyam T.

Contact Info:
T. Ramasubrahmanyam
Zeta Interactive Systems Pvt Ltd.
Email : rtatavarti@zetainteractive.com
Dragan
#2 Posted : Wednesday, May 14, 2014 5:07:34 AM(UTC)
Rank: Advanced Member

Groups: Administrators, DataVizJavaScript, jQueryChart, jQueryDV, MvcChart, Registered
Joined: 1/3/2011(UTC)
Posts: 483

Thanks: 0 times
Was thanked: 87 time(s) in 87 post(s)
Hi,

it seems that you are set axis maximum to 100. In this case there is no place for the labels. You can set the maximum to a little bigger value.
Best Regards,
Dragan Matek
jqChart Inc.
1 user thanked Dragan for this useful post.
zetazes01 on 5/14/2014(UTC)
zetazes01
#3 Posted : Thursday, May 15, 2014 1:24:00 AM(UTC)
Rank: Newbie

Groups: jQueryChart, Registered
Joined: 10/15/2012(UTC)
Posts: 4

Thanks: 1 times
Was thanked: 0 time(s) in 0 post(s)
HI,
We are not manually setting any Y-axis maximum value. The Y-axis value might not be limited to 100 it might move to 1000 as well. As per our product behavior the Y-axis for some of reports will cross the 100.

Thanks,
Ramasubrahmanyam T.

Contact Info:
T. Ramasubrahmanyam
Zeta Interactive Systems Pvt Ltd.
Email : rtatavarti@zetainteractive.com
Dragan
#4 Posted : Thursday, May 15, 2014 3:25:07 AM(UTC)
Rank: Advanced Member

Groups: Administrators, DataVizJavaScript, jQueryChart, jQueryDV, MvcChart, Registered
Joined: 1/3/2011(UTC)
Posts: 483

Thanks: 0 times
Was thanked: 87 time(s) in 87 post(s)
Is it possible to send me your jqChart configuration ( $('selector').jqChart({...}) ), so we can check it?
Best Regards,
Dragan Matek
jqChart Inc.
zetazes01
#5 Posted : Friday, May 16, 2014 9:15:10 AM(UTC)
Rank: Newbie

Groups: jQueryChart, Registered
Joined: 10/15/2012(UTC)
Posts: 4

Thanks: 1 times
Was thanked: 0 time(s) in 0 post(s)
Hi,
Please find the code we have used to generate the JQ chart.

$('#'+id).jqChart({
background: background,
animation: { duration: 1 },
strokeStyle: '#FEFEFE',
border: { strokeStyle: '#FEFEFE' },
legend: {
border:{lineWidth:0},
font: '12px RobotoRegular',
marker: { visible: true,type: 'rectangle',fillStyle: '#2EB3E0', } ,
location:'bottom',
} ,
series: getSeries(seriesData,series,chartType),
height: height,
axes:getAxes(id,chartDP,showLogChart),
tooltips: {
type: 'both'
}

});


function getSeries(seriesData,series,chartType){
var arr = [];
for(var i=0;i<series.length;i++){
arr.push({
type: chartType,
title: series[i],
data: seriesData[i],
labels:{visible:true},
fillStyle:legendColors[i],
});
}
return arr;
}

function getAxes(id,chartDP,showLogChart){
var arr = [];
var minValue=0;
if(showLogChart)
minValue=undefined;
arr.push({
type: 'category',
categories: chartDP.xaxis,
location: 'bottom',
zoomEnabled: id=="reportSummaryGraph"? true :false,
strokeStyle: '#ADADAD',
majorTickMarks: { strokeStyle: '#ADADAD' },
labels: {
font: '10px RobotoRegular',
fillStyle: '#ADADAD',
angle: -45,
visible: id=="reportSummaryGraph"? true :false
},
});
arr.push( {
logarithmic:showLogChart,
logBase:10,
minimum: minValue,
majorTickMarks: { strokeStyle: '#ADADAD' },
strokeStyle: '#ADADAD',
majorGridLines: {visible: true, strokeStyle: '#E6E6E6'},
labels: {
font: '10px RobotoRegular',
fillStyle: '#ADADAD'
}
});
return arr;
}
Dragan
#6 Posted : Friday, May 16, 2014 11:29:58 AM(UTC)
Rank: Advanced Member

Groups: Administrators, DataVizJavaScript, jQueryChart, jQueryDV, MvcChart, Registered
Joined: 1/3/2011(UTC)
Posts: 483

Thanks: 0 times
Was thanked: 87 time(s) in 87 post(s)
Hi,

Please, download and use our latest version with your account from:
http://www.jqchart.com/Account/MyAccount.aspx

The issue should be fixed.

Best Regards,
Dragan Matek
jqChart Inc.
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

FlatEarth Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.191 seconds.