I have data showing on a Kendo chart almost exactly the way I want, with the exception I have to break out to of the series into the y2 axis.
function createMyChart(data) { var chart = $("#myChart").data("kendoChart"); chart.setOptions({ valueAxis: { min: 0 }, dataSource: { data: data.ChartModel, group: { field: "Series" } }, title: { text: "My Chart" }, legend: { position: "right" }, categoryAxis: { field: "Group" }, seriesColors:["blue", "red", "lightblue", "green"], series: [{ name: "#= group.value #", field: "Value", color: "blue", spacing: 0 }] });}
Essentially I have my data returning from an Ajax call, all properly formatted (Series = 1 of 4 possible series (string), Group = The desired grouping on the X-Axis (string), Value = self explanatory (int)). How can I tell the chart that I want Series 3-4 to be displayed on the y2 axis? All the examples I have seen want the series divided up and/or want a crossing point for the X-Axis to be a number.
Thanks,
Troy
Is there any way to stop the timeline view wrapping events?
I've made sure they don't overlap, but I've got a pair a minute apart and it wraps them.
I can't see anything in the settings to turn this off...?
It works fine in day and week view, but fails wraps in timelineMonth view?
$(".k-button.k-upload-button").addClass("btn btn-primary");<input name="files" id="files" type="file"/>
<script id="fileTemplate" type="text/x-kendo-template">
<div>
<button type='button' class='btn btn-primary' ></button>
</div>
</script>data-columns="[ {'template':'<input type=checkbox ><\/input>'}]"
How to call a remote API for add/edit/delete node when using a parent-child relationship JSON data?
I've created my scenario in dojo. In the example, when click on node, we are getting Add, Edit and delete options.
Also, the k-rebind is not working in our scenario. I'm loading the diagram by default with out data. I've a call to the rest to get the data for the diagram. Once I received the data. I want to rebind the diagram. but it is not rebinding.
Kindly help to resolve the above issues.
Thanks in advance!
When using the "overflow:always" option, how do I get this to work with tabindex? It seems like the bootstrap overflow menu does not have any real keyboard support.
See the following example (run in fullscreen to make tab usage easier inside the dojo):
http://dojo.telerik.com/@ake_krakbar/ERicu
How can I make it possible to use the tab key to navigate to the buttongroup using overflow?
Hi Telerik,
I have a kendopanelbar that contains 3 panel . I want to expand all panels to print details of gird in panels. I set expandMode is 'single'. The problem is In paper printer, It only show 1 panel and rest of panels collapse. I attempted to set expandMode is 'multiple' and It worked well But I just want expandMode is 'single'.
Here is my code:
function fqtt_PrintExpensesGrid() {
var gridElement = $("#expensesheetpanel");
gridElement.data("kendoPanelBar").expand($("li",gridElement.element)),
win = window.open('', '', 'width=1000, height=500'),
doc = win.document.open(),
htmlStart =
'<!DOCTYPE html>' +
'<html>' +
'<head>' +
'<meta charset="utf-8" />' +
'<title>' + ExpensesConstants.lbExpensesTitle + '</title>' +
'<link href="' + ExpensesConstants.cssKendoCommon + '" rel="stylesheet" /> ' +
'<link href="' + ExpensesConstants.cssKendoSilver + '" rel="stylesheet" /> ' +
'<link href="' + ExpensesConstants.cssQttlayout + '" rel="stylesheet" type="text/css"> ' +
'<link href="' + ExpensesConstants.cssQttprintreports + '" rel="stylesheet" type="text/css"> ' +
'</head>' +
'<body>',
htmlEnd =
'</body>' +
'</html>';
var decodedAddress = $('<div></div>').html(ExpensesConstants.lbCompanyAdress).text();
doc.write(htmlStart + gridElement.clone()[0].outerHTML + htmlEnd);
doc.close();
win.print();
}​
Please help me!
Many Thanks.
I have a grid that displays a subset of the entire column set of my model as follows as a result of my search form
$("#kendoResultGrid").kendoGrid({
dataSource: {
data:response
},
scrollable: true,
sortable: true,
columns: [
{ field: "EmpNo", template: "<a href='~/PMP/Index'>Select</a>" },
{ field:"EmpName" },
{ field:"EmpMgr" },
{ field:"ClientName" },
{ field: "FrameworkName",hidden:true }
]
});
I want to be able to pass the whole response object to my Index method on my PMP view and display employee id as a hyperlink. Can you please assist?
I have looked at a few samples but does not seem to work for me
I'm trying to use a custom UI element in my filter row in the grid, but I am having problems with my remote datasource.
The documentation states "Keep in mind that the passed dataSource instance may still not be populated at the time the template function is called, if the Grid uses remote binding", and the datasource received in the template function is indeed undefined.
Is there a way to update the filter templates when the datasource has finished fetching the data?