Telerik Forums
Kendo UI for jQuery Forum
0 answers
1.2K+ views

Hi,

 

I am getting an error on the pie chart. I am simply using  array to set the datasource:

Here's the code:

$("#chartSales").kendoChart({
                chartArea: {
                    height: 400
                },
                legend: { position: "bottom" },
                title: { text: '<%=GetLocalResourceString("lbl_Sales")%>', font: "26px Arial,Helvetica,sans-serif" },
                seriesClick: onSeriesClick,
                dataSource: {
                    data: seriesArraySales
                },
                seriesDefaults: {
                    type: 'pie',
                    labels: {
                        visible: false
                    },
                    autoFit: true,
                    pie: { color: "red" }
},

                series: [{ categoryField: "name", field: "amount"}],
                seriesColors: ["#03a9f4", "#ff9800", "#fad84a", "#4caf50", "#003f5c", "#58508d", "#bc5090", "#ff6361", "#ffa600", "#488f31", "#83af70", "#bad0af", "#f0b8b8", "#9fb494", "#c6c6c6"],
                tooltip: {
                    visible: true,
                    template: "${ category } - ${ value }"
},
                dataBound: function (e) {
                    var view = e.sender.dataSource.view();
                    $(".overlay").toggle(view.length === 0);
                }
            });

 

Can someone please help.

using libraries : jquery-ui-1.9.1.custom.min.js

jquery.ui.widget.js

jquery.min.js

jquery.min.js

Thanks!

Nav

Navdeep
Top achievements
Rank 1
 asked on 06 Aug 2021
1 answer
300 views

I have a timepicker field. The built in required rule is ignored since I am using a dateInput field for the masking. When the user types something wrong in the field such as "1:mm PM" (meaning they just typed a 1 in the field) it throws an error that says "A time is required". The console logs out "null" as the value of the time picker field. When the user then goes and types in the 00 so it reads "1:00 PM" it  still says "A time is required" and still logs out "null" as the value. If the user then changes anything in the field to some other valid time the message goes away an it validates. How do I fix this?

Here is a Dojo demonstrating the issue:

https://dojo.telerik.com/@dojolee/AyuyAtaG/3

Georgi Denchev
Telerik team
 answered on 06 Aug 2021
1 answer
122 views

After trying to get my code to work for 2 hours now, I've found the source, which is explained exactly as SO question from years back: https://stackoverflow.com/questions/26723566/kendoui-datasource-schema-errors-not-firing-when-the-server-returns-400

Basically comes down to having a 4xx request (tried with 400 and 422), then the function inside errors won't be called and I can't properly propagate this to the error callback.

How should I approach this? It works fine on a 200 request, but that would be using the wrong http status code for the response.

Veselin Tsvetanov
Telerik team
 answered on 05 Aug 2021
1 answer
362 views

Hi,

Is there a way we can add custom images(blob) to Kendo Upload list using jQuery (Before upload to the server)?

 

Martin
Telerik team
 answered on 05 Aug 2021
0 answers
145 views

hi,

The calendar cannot be clicked. There is' class = "k-state-disabled" on the td label of the calendar.

thanks,

Shen
Top achievements
Rank 1
 asked on 05 Aug 2021
1 answer
501 views

Hi All,

I want to add custom button to Kendo Upload, which we can add images to list from clipboard.

 

Thanks,

Supun

Martin
Telerik team
 answered on 04 Aug 2021
1 answer
610 views

After changing the data source on a kendo dropdownlist for jquery I am seeing the change event fire upon clicking away from the box without actually selecting anything. Here is the example:

Dojo

To reproduce the error do the following: 

  1. Click on the dropdownlist to expand the options.
  2. Click anywhere off of the list to deselect the list.
  3. Notice that the change event is fired  "Change" is written below the dropdownlist.

How do I work around this?

Martin
Telerik team
 answered on 04 Aug 2021
1 answer
500 views
how can I add a custom button to the home tab of the spreadsheet toolbar?
Neli
Telerik team
 answered on 04 Aug 2021
3 answers
198 views

Hi,

I would like to be able to toggle planned vs actual view on gantt outside of gantt toolbar as I have a few other steps and conditions to fulfill before I show the data.

Is there any method for doing this or any way you would recommend?

Thank you and regards,

Vedad

Neli
Telerik team
 answered on 04 Aug 2021
3 answers
6.3K+ views

Please open Dialog form.

How can I change title for dialog opened with kendo.confirm(... ?

May I suggest that you extend kendo.confirm method with optional second parameter for title.

 

Chuck
Top achievements
Rank 1
Iron
 answered on 03 Aug 2021
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
MultiColumnComboBox
Chat
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Effects
Accessibility
PivotGridV2
ScrollView
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Breadcrumb
Collapsible
Localization
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
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?