jQWidgets Forums
Forum Replies Created
-
Author
-
April 28, 2014 at 6:14 am in reply to: Set width of calendar object for Filtertype : " date" in filter row Set width of calendar object for Filtertype : " date" in filter row #53634
Thank you Peter.
Regards,
SnehalApril 28, 2014 at 6:02 am in reply to: Set width of calendar object for Filtertype : " date" in filter row Set width of calendar object for Filtertype : " date" in filter row #53631Hi Peter,
Thank You,I used createfilterwidget callback function.
createfilterwidget: function (column, columnElement, widget) {
widget.jqxDateTimeInput({width: 150});
}
It is changing the width of text box, but i want to change width of calendar object which gets open on click of calendar button/icon.Regards,
SnehalFebruary 3, 2014 at 8:14 am in reply to: Apply default filter on row type Filter Apply default filter on row type Filter #48832Hi,
For example : i have a Column named “Type” contains only “A” and “B” values.
Filter type “checkedlist” is used in filter row.when grid is initialized, I want to show filtered grid with type “A” only , and on click of remove filter button it will show all rows with both types.
January 20, 2014 at 4:11 am in reply to: Change default placeholder text in filter Change default placeholder text in filter #48066Thanks Mariya.
January 17, 2014 at 4:38 am in reply to: Change default placeholder text in filter Change default placeholder text in filter #47977Hi Mariya,
Thank you, i have seen this example, but i am not getting exactly what to use for changing “Select Filter” placeholder of “checkedlist” filter type.
can you please help me?Thanks & Regards,
SnehalOK Peter, Thank you.
Regards,
SnehalPlease check this sample code.
<!DOCTYPE html>
<html lang=”en”>
<head>
<title id=’Description’>jqxChart Bar Series Example</title>
<link rel=”stylesheet” href=”../../jqwidgets/styles/jqx.base.css” type=”text/css” />
<script type=”text/javascript” src=”../../scripts/jquery-1.10.2.min.js”></script>
<script type=”text/javascript” src=”../../jqwidgets/jqxcore.js”></script>
<script type=”text/javascript” src=”../../jqwidgets/jqxchart.js”></script>
<script type=”text/javascript” src=”../../jqwidgets/jqxdata.js”></script>
<script type=”text/javascript”>
$(document).ready(function () {
// prepare chart data
var sampleData = [
{ Country: ‘China’, Population: 1347350000, Percent: 19.18},
{ Country: ‘India’, Population: 1210193422, Percent: 17.22},
{ Country: ‘USA’, Population: 313912000, Percent: 4.47},
{ Country: ‘Indonesia’, Population: 237641326, Percent: 3.38},
{ Country: ‘Brazil’, Population: 192376496, Percent: 2.74}];
// prepare jqxChart settings
var settings = {
title: “Top 5 most populated countries”,
description: “Statistics for 2011″,
showLegend: true,
enableAnimations: true,
padding: { left: 20, top: 5, right: 20, bottom: 5 },
titlePadding: { left: 90, top: 0, right: 0, bottom: 10 },
source: sampleData,
categoryAxis:
{
dataField: ‘Country’,
showGridLines: true,
flip: false
},
colorScheme: ‘scheme01’,
seriesGroups:
[
{
type: ‘pie’,
valueAxis:
{
displayValueAxis: true,
description: ”,
formatFunction: function (value) {
return parseInt(value / 1000000);
}
},
series: [
{ dataField: ‘Population’,
displayText: ‘Country’,
toolTipFormatFunction: function(value){
return “Country : “+value;
}
}
]
}
]
};
// setup the chart
$(‘#jqxChart’).jqxChart(settings);
});
</script>
</head>
<body class=’default’>
<div id=’jqxChart’ style=”width:680px; height:400px; position: relative; left: 0px; top: 0px;”>
</div>
</body>
</html>Hi,
Please help me with this, it is affecting all pie charts legends.
Thanks & Regards,
Snehal.Hi Dimitar,
Thank you… ,
I tried this example, but the data that i change is not setting back the old data.
e.g Edit product cell value “Green Tea” with “Black Tea” , and now if don’t want this edited value then click on cancel button to set it’s
old value ,
and see it cancels the editing but not setting “Green Tea” value back into that cell, even if i cancels the changes.
Thanks & Regards,
SnehalHi Dimitar,
I have already asked question for this in forum, that line chart starts on value axis. I want to set its values on ticks but, don’t want its starts point on value axis..what needs to do for that, any solution ?
http://www.jqwidgets.com/community/topic/line-chart-starts-on-value-axis/
Please , provide any solution for this.
Thanks & Regards,
SnehalHi Dimitar,
I have used valuesOnTicks property for chart type “line” also, but there is also the same issue, that line’s first point starts on value axis.. which is exactly the same thing that is happening with bar chart.
Regards,
Snehal
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html lang="en"><head> <title id='Description'>jqxChart Stacked Column Series Example</title> <link rel="stylesheet" href="../../jqwidgets/styles/jqx.base.css" type="text/css" /> <script type="text/javascript" src="../../scripts/jquery-1.10.2.min.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxdata.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxchart.js"></script><script type="text/javascript"> $(document).ready(function () { // prepare chart data as an array var sampleData = [ { Day: 'Monday', Running: 30, Swimming: 0, Cycling: 25 }, { Day: 'Tuesday', Running: 25, Swimming: 25, Cycling: 0 }, { Day: 'Wednesday', Running: 30, Swimming: 0, Cycling: 25 }, { Day: 'Thursday', Running: 35, Swimming: 25, Cycling: 45 }, { Day: 'Friday', Running: 0, Swimming: 20, Cycling: 25 }, { Day: 'Saturday', Running: 30, Swimming: 0, Cycling: 30 }, { Day: 'Sunday', Running: 60, Swimming: 45, Cycling: 0 } ]; // prepare jqxChart settings var settings = { title: "Fitness & exercise weekly scorecard", description: "Time spent in vigorous exercise by activity", enableAnimations: true, showLegend: true, padding: { left: 5, top: 5, right: 5, bottom: 5 }, titlePadding: { left: 90, top: 0, right: 0, bottom: 10 }, source: sampleData, categoryAxis: { text: 'Category Axis', textRotationAngle: 0, dataField: 'Day', showTickMarks: true, tickMarksInterval: 1, tickMarksColor: '#888888', unitInterval: 1, showGridLines: true, valuesOnTicks: true, showTickMarks :true, gridLinesInterval: 1, gridLinesColor: '#888888', axisSize: 'auto' }, colorScheme: 'scheme06', seriesGroups: [ { type: 'stackedcolumn', columnsGapPercent: 100, seriesGapPercent: 5, valueAxis: { unitInterval: 10, minValue: 0, maxValue: 100, displayValueAxis: true, description: 'Time in minutes', axisSize: 'auto', tickMarksColor: '#888888' }, series: [ { dataField: 'Running', displayText: 'Running' }, { dataField: 'Swimming', displayText: 'Swimming' }, { dataField: 'Cycling', displayText: 'Cycling' } ] } ] }; // setup the chart $('#jqxChart').jqxChart(settings); }); </script></head><body class='default'> <div id='jqxChart' style="width:680px; height:400px;"/></body></html>
Hi Peter,
Thanks, actually CSS file were missed to update..
Now its working..Regards,
Snehal
September 13, 2013 at 4:56 am in reply to: Line Chart starts on value axis Line Chart starts on value axis #28910Thank you Peter.
September 6, 2013 at 4:48 am in reply to: Line Chart starts on value axis Line Chart starts on value axis #28417Hi Dimitar,
I have specified minValue property for ” line” Chart, but it is giving exception
“uncaught exception: Invalid min/max category values”., and not displaying the chart.
Thanks & Regards,
Snehal -
AuthorPosts