Telerik Forums
Kendo UI for jQuery Forum
5 answers
308 views

Hi,

 

I have a PivotGrid (MVC) and im using it's datasource to generate the Chart. This has gone well, apart from the Series. I've worked out how to get one working using the example here: https://docs.telerik.com/kendo-ui/controls/data-management/pivotgrid/how-to/integration/chart-integration

 

For my PivotGrid i have two values for my 'Rows', but the Chart only displays one, see attached image, here's my Chart:

$(container).kendoChart({
               title: {
                   text: title
               },
               dataSource: {
                   data: data,
                   group: "row"
               },
               series: [{
                   type: "column",
                   field: "measure",
                   name: "#= group.value # (category)",
                   categoryField: "column"
               }],
               legend: {
                   position: "bottom"
               },
               valueAxis: {
                   labels: {
                       format: "{0:N}"
                   }
               },
               dataBound: function (e) {
                   var categoryAxis = e.sender.options.categoryAxis;
 
                   if (categoryAxis && categoryAxis.categories) {
                       categoryAxis.categories.sort();
                   }
               }
           });

 

I'm sure it's most likely to-do with the Series, but using the integration provide i'm not sure how to add it.

 

Thanks,

Lee.

Konstantin Dikov
Telerik team
 answered on 13 Apr 2018
8 answers
856 views
I know that it is currently possible to refresh or redraw a Kendo chart, by using a chart bound to a datasource. However, is it possible, using Kendo UI to update a chart by just adding the updated data, so that the bar grows, rather than having to be refreshed in its entirety?Thanks in advance.
Sam
Top achievements
Rank 2
 answered on 13 Apr 2018
7 answers
767 views
I am testing similar to the demo: http://demos.kendoui.com/dataviz/bar-charts/remote-data.html

How can I update the remote data (without refreshing the chart altogether). I want to get updated data from the server and have the bars change their values accordingly.
Sam
Top achievements
Rank 2
 answered on 13 Apr 2018
17 answers
768 views
Hello, is there anyway to make the charts animate more slowly (like a chart animation speed/duration)? When loading a single chart on a webpage, the animation is noticeable but we'd like it to be slower so its more apparent. When we loading 12 charts onto a single webpage, the animation is not noticeable anymore.

We're using the setTimeout() function thats shown in the examples.
$(document).ready(function () {   
        setTimeout(function () {
             
            createBarChart('#chart1');
            createBarStackedChart('#chart2');
            createPieChart('#chart3');
 
            createBarChart('#chart4');
            createBarStackedChart('#chart5');
            createPieChart('#chart6');
 
            createBarChart('#chart7');
            createBarStackedChart('#chart8');
            createPieChart('#chart9');
 
            createBarChart('#chart10');
            createBarStackedChart('#chart11');
            createPieChart('#chart12');
 
             //Initialize the chart with a delay to make sure
             //the initial animation is visible
        }, 400);
});

Any feedback would be appreciated.

Chris
Sam
Top achievements
Rank 2
 answered on 13 Apr 2018
7 answers
375 views
I'm updating pie charts on a page using signalr and I would like  the animations to be different than what is shown when the page initially loads. I've seen fadIn as one of the supported animations but I would like to know if there are more.
Sam
Top achievements
Rank 2
 answered on 13 Apr 2018
2 answers
164 views

Is it possible to animate the bubbles when the data changes?  I mean that the attributes (x,y,size,color) transition from the current to the new.

(Syntax includes TypeScript)

var opt: kendo.dataviz.ui.ChartOptions = {};
opt.title = { text: 'Plot' };
opt.transitions = true;
opt.dataSource = this.dataSource;
opt.series = [{ type: 'bubble', yField: 'price', xField: 'time', sizeField: 'size', categoryField: 'id' }];//, overlay: { gradient:'glass'} }]; // colorField
opt.xAxis = [{ title: { text: 'Time' }, crosshair: { visible: true, tooltop: { visible: true, format: "n0" } } }];
opt.yAxis = [{ title: { text: 'Change' }, crosshair: { visible: true, tooltop: { visible: true, format: "n0" } } }];
opt.tooltip = { visible : true, format : "{3}", opacity : 1 };

////////////////////////////////////////////////////////////////////////////////
public mergeDataArray( items : Array<any> ) : void
{
//this.dataSource.data(item);
var item : any;
var src: any;
var i : number;
var j : number;
var n : number = this.dataSource.total();
var nout : number = items.length;
var found: boolean;

console.log('outter ' + nout + ' ' + n );
for(j = 0; j < nout; j++)
{
src = items[j];
found = false;
//console.log('outter ' + src['id']);
for(i = 0; i < n; i++)
{
item = this.dataSource.at(i);
if( src.id == item.id )
{
item.set('price', src.price);
item.set('time', src.time);
found = true;
break;
}
} // endfor

if(!found)
{
// add in new item
}
} // endfor
//this.dataSource.sync();
console.log('changed ' + this.dataSource.hasChanges() );
}

The data source does see that the data has changed, but it just does a quick set with no transition/animation from current condition to the new condition.

Sam
Top achievements
Rank 2
 answered on 13 Apr 2018
7 answers
2.4K+ views
In in-cell edit mode, grid values do not update when I click a different row.  The update is only triggered when the user hits enter, when clicking outside of the grid, OR by tabbing/clicking to another cell in the same row.  The other examples I've seen don't have this behavior so I'm wondering what I might be doing wrong.  This has been an issue for sometime now and it has to be fixed before going live.
Konstantin Dikov
Telerik team
 answered on 12 Apr 2018
1 answer
125 views

     Hi, i am having trouble with Editor on a textarea. It works on my Mac/PC but not on Iphone X, safari.

It autoexpands the editors height to be same height as the content. Instead of using set height and show scrollbars.

I've tried setting alot of different CSS heights, min heights. using delay and setting after a while using jquery, setting height on parent div,

etc. but i can't get it to behave like on the pc.

 

 

Dimitar
Telerik team
 answered on 12 Apr 2018
1 answer
151 views

Is it possible to use the MaskedTextBox for entering a software version string? major.minor.revision.build? 

 

Viktor Tachev
Telerik team
 answered on 11 Apr 2018
1 answer
5.1K+ views

Hello 

 

​I have a grid with remote json kendo datasource. In this model I have dateTime type field. I want to filter all records, which is equal to date chosen in column filter and ignore the time part. I'll give an example:

 

I have records: 08/05/15 7:23:00, 08/05/15 ​16:46:00, 10/05/15 20:31:00

I write in filter: 08/05/15

I want to get rec​ords: 08/05/15 7:23:00, 08/05/15 ​16:46:00.

 

Generally speaking, this thread is similar to http://www.telerik.com/forums/grid-filters-with-date-and-time#zyQCkkICqE6c-MSzxNvGcg. There is the project, which works well, but only ​in Telerik version 2012.1. Could you provide an example project with this feature in Telerik version 2015.2.805?

Petar
Top achievements
Rank 1
 answered on 11 Apr 2018
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
DatePicker
Spreadsheet
Upload
ListView (Mobile)
ComboBox
TabStrip
MultiSelect
AutoComplete
ListView
Menu
Templates
Gantt
Validation
TreeList
Diagram
NumericTextBox
Splitter
PanelBar
Application
Map
Drag and Drop
ToolTip
Calendar
PivotGrid
ScrollView (Mobile)
Toolbar
TabStrip (Mobile)
Slider
Button (Mobile)
Filter
SPA
Drawing API
Drawer (Mobile)
Globalization
LinearGauge
Sortable
ModalView
Hierarchical Data Source
Button
FileManager
MaskedTextBox
View
Form
NavBar
Notification
Switch (Mobile)
SplitView
ListBox
DropDownTree
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
ColorPicker
Pager
Styling
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
ScrollView
Switch
TextArea
BulletChart
Licensing
QRCode
ResponsivePanel
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
TimePicker
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
AIPrompt
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?