Telerik Forums
Kendo UI for jQuery Forum
1 answer
207 views

After upgrading to 2024 Q4, the function to export charts to images no longer works.

var chart = $("#chart").getKendoChart();
    chart.exportImage().done(function(data) {
        kendo.saveAs({
            dataURI: data,
            fileName: "chart.png"
        });
    });

The error received is: Uncaught TypeError: chart.exportImage(...).done is not a function.

This can also been seen in the API examples.
https://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart/methods/exportimage

Nikolay
Telerik team
 answered on 22 Nov 2024
1 answer
61 views

I am attempting to change my existing NumericTextBox to do something custom when the value is zero. It was requested that we display a double zero in that one scenario. All other scenarios should act the same as they do out of the box for the NumericTextBox. Is this do-able with the existing functionality of the NumericTextBox?

Basically the request is to do this --

Value: 0

Display: 00

 

Value: 234

Display 234

Nikolay
Telerik team
 answered on 22 Nov 2024
0 answers
159 views

When hovering over the legend of a series in a Line Chart, the chart is rendering a marker for every data point in the series. I was wondering how I can disable this functionally so that only the series line gets highlighted when a legend item is hovered.

In the series object I am setting the markers visible value to false and setting the highlight's opacity.

highlight: {
    inactiveOpacity: .3,
    opacity: 1
},
markers: { visible: false },

When no series is highlighted, no markers appear: I wish to keep this.


When a series is highlighted, only the marker at the data point appears: I wish to keep this.


When a series legend is hovered, a marker for every data point appears. How can I get it to look like the second image to where no markers are shown and only the legend item's associated series is highlighted?

Kenny
Top achievements
Rank 1
 asked on 21 Nov 2024
0 answers
79 views

Hi All, I have just updated to 2024.4.1112 from 2024.1.130 and the fist thing I notice is that the selected tab in a tabstrip appears differently to how it was before - now it has bold text and a strange border (when hovering).  Looking in the release notes there is a note saying "TabStrip rendering mismatch more info here" which takes me to a page with info about modifying CSS rules (which I don't want to do).

Here's what it used to look like (nice):

Here's what it looks like now (harsh):

Here's how I create the TabStrip:

        var tabStrip = e.detailRow.find("#leadDetailsTabstrip").kendoTabStrip({
            animation: { open: { effects: "fadeIn" } },
            activate: dcLead.onActivateTab,
        }).data("kendoTabStrip");

Have I missed something?

Gordon

Gordon
Top achievements
Rank 1
Iron
 asked on 21 Nov 2024
1 answer
64 views

Hi,

I need to know that is it possible to change the order of Kendo Grid Footer components like Pagination, Refresh button, Items Per page etc.

Nikolay
Telerik team
 answered on 21 Nov 2024
1 answer
155 views

Having a Kendo editor declared like this:

                @(Html.Kendo().EditorFor(m => m.MyEditor)
                            .Name("MyEditor")
                            .Resizable(true)
                            .StyleSheets(css => css.Add(Url.Content("~/Content/EditorStyles.css")))
                            .Messages(messages => messages
                                .FontNameInherit("Default")
                                .FontSizeInherit("Default")
                            )
                            .Tools(tools => tools
                                .Clear()
                                .Bold()
                                .Italic()
                                .Underline()
                                .JustifyLeft()
                                .JustifyCenter()
                                .JustifyRight()
                                .InsertUnorderedList()
                                .InsertOrderedList()
                                .Indent()
                                .FontName(fonts => fonts
                                    .Add("Arial", "Arial")
                                    .Add("Courier New", "Courier New")
                                    .Add("Helvetica", "Helvetica")
                                    .Add("Times New Roman", "TimesNewRoman")
                                    .Add("Verdana", "Verdana")
                                )
                                .FontSize(sizes => sizes
                                    .Add("8", "8pt")
                                    .Add("9", "9pt")
                                    .Add("10", "10pt")
                                    .Add("12", "12pt")
                                    .Add("14", "14pt")
                                    .Add("16", "16pt")
                                    .Add("18", "18pt")
                                    .Add("20", "20pt")
                                )
                        ))
Is there any way to programmatically add the font sizes instead of with the fixed .Add method?  I need to read a configuration file in the model then based on the font sizes of the configuration, add only those font sizes to the dropdown.  I am a little stumped on how to do this using the EditorDropDownItemBuilder approach.  Thanks for any help.

 

 

 

 

Alexander
Telerik team
 answered on 20 Nov 2024
1 answer
68 views

We have a kendo grid using a number of features including sticky and nested columns.   The non-sticky (nested) columns are sluggish when trying to resize.   It does work, but the animation is slow. 

Is there anyway to improve the performance of the grid resizing in this situation?   There doesn't appear to be an animation option behind that that could be disabled.   

Martin
Telerik team
 answered on 20 Nov 2024
1 answer
79 views
Hello,

I'm trying to configure a radar chart using Kendo UI to display data for our dimensions. The chart should only display three axis values: 0, 40, and 100. These values are the only possible ones for our dimensions, and we'd like to make the chart more readable by displaying only these three values.

I've tried to configure the chart using the following code:


$("#graph").kendoChart({
    title: {
        text: "Dimensions"
    },
    legend: {
        position: "bottom"
    },
    seriesDefaults: {
        type: "radarArea",
        color: "#0033c4"
    },
    series: [{
        name: "",
        data: ["40", "100", "0", "0", "40"]
    }],
    categoryAxis: {
        categories: [
            "Dimension 1", "Dimension 2", "Dimension 3",
            "Dimension 4", "Dimension 5"
        ],
        color: "black",
        majorGridLines: {
            visible: false
        }
    },
    valueAxis: {
        max: 100, 
        min: 0,   
        majorUnit: 20,
        labels: {
            visible:true,
            format: "{0}%"
        },
        majorGridLines: {
            visible: true 
        },
        line: {
            visible: true 
        }
    }
});
However, I'm having trouble finding a way to display only the axis values 0, 40, and 100. I've tried using the majorUnit property to set the major unit of the axis, but it doesn't seem to work as desired. ( If I put 40....i will get 0, 40 and 80 ).

Could you please help me configure the chart to display only the axis values 0, 40, and 100?

Additional Information:
Kendo UI version used: kendoui.for.jquery.2024.3.806.commercial

Thank you !
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
 answered on 19 Nov 2024
0 answers
67 views

I have been looking at kendo.drawing to render some charts to PDF and that has been working. Now we have the need to automate rendering the charts and attaching them to an email which then gets sent as part of a batch process.

Is it possible to invoke kendo.drawing.drawDom and kendo.saveAs from the server side?

Jay
Top achievements
Rank 3
Bronze
Iron
Iron
 asked on 18 Nov 2024
0 answers
57 views

Hi everyone.

My multiselect works fine, but it adds a completely useless extra select at the bottom.
How can I remove it?

This is my code. The multiselect is fired by mvvm.

<select id="categories" 
    data-placeholder="Seleziona le categorie"
    data-role="multiselect" 
    data-bind="source: categories, value: detailForm.data.selectedCategories" 
    data-value-field="id"
    data-text-field="name"
    >
</select>

Any hint?
Thanks in advance.

Marco
Top achievements
Rank 2
Iron
Iron
 asked on 18 Nov 2024
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
Dialog
Chat
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Effects
Accessibility
PivotGridV2
ScrollView
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
TextArea
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
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?