Telerik Forums
Kendo UI for jQuery Forum
1 answer
132 views
When my column chart is rendered with a few data points, they look thin and widely spaced apart. Have a look at the Current_state.png. I want it to look like the desired_state.png 

Here's my existing chart:

Html.Kendo().Chart<AccountPerformance>(Model.Results)
    .Name("chartPCT")
    .Title("% Return")
    .Legend(legend => legend.Visible(false))
    .Series(series =>
            series.Column(model => model.Metrics.Return)
                  .Name(Model.ColumnTitle)
                  .Labels(false)
    )
    .ValueAxis(axis => axis
        .Numeric()
        .Labels(labels => labels.Format("{0}%")))
    .CategoryAxis(axis => axis
                              .Date()
                              .MajorGridLines(builder => builder.Visible(false))
                              .Categories(model => model.Observation)
                              .Labels(labels => labels.Format("MMM")))
     .SeriesDefaults(builder => builder.Column().NegativeColor("#BE2D55").Color("#C0BD7F"))
     .Tooltip(tooltip => tooltip
          .Visible(true)
          .Color("white")
          .Background("black")
          .Format("{0:P2}")
          .Template("#= value #")
    )                             
                                   
    .Render();
Iliana Dyankova
Telerik team
 answered on 23 Jul 2013
4 answers
518 views
I'd like to know if this scenario is possible:
A user expands a row in a master/detail grid, and clicks on a cell with a link that redirects him to another page.
When the user comes back on the grid page, the previously expanded row is expanded.

It would mean saving the expanded row when the user leaves the page (is there a method to retrieve the expanded row?), and expand it again when he comes back (is there a method to expand a row based on for example the ID?)


Marcin
Top achievements
Rank 1
 answered on 23 Jul 2013
6 answers
334 views
Is there any way to get server side data passed into a view into a Kendo MVVM view model? Like with knockoutjs, we use the "ko.mapping" plugin... is there a way to define how to populate a view model with a given JSON object? Or the behaviors, etc?
Alexander Valchev
Telerik team
 answered on 23 Jul 2013
2 answers
148 views
Search is failing me. Is there a known issue with the performance of selecting grid rows in IE8? With 15 columns and 100 rows,selecting a row takes 3 seconds... 


.Selectable(select => select.Type(GridSelectionType.Row).Mode(GridSelectionMode.Multiple))


Works fine in Chrome. We don't have that option though.


Update: Upgrading to jQuery 1.8.2 may have resolved this.
Dimo
Telerik team
 answered on 23 Jul 2013
1 answer
193 views
Hi,

We have a grid with a lot of columns - inline editing. Some of these columns have custom validations. For example we have 3 date fields with custom validations attached to them.
If a validation fails then it will show the message next to the date column. But the problem is when this happens and we scroll to the right the grid columns become unaligned.
ie. the headers don't stay above the column values when we scroll to the right - perhaps to accomodate the validation messages.

1) Is there a way to rectify the above situation?
2) If it is not possible to fix the above, what is the name of the class that needs to be changed to reduce the left and right padding for the validation message - this is more than is needed currently - if we reduce this the grid might look a little better.

Thanks,

SJ
Daniel
Telerik team
 answered on 23 Jul 2013
3 answers
189 views
Hi!

On the Settings screen of my app, which has a left Drawer for the main menu,  I've put a ListView with text inputs inside.
The thing is: if you touch inside the input and try to scroll (i.e., touch and move), you'll be able to push the view to the left.

Noticed this because when you focus the text input for editing, the screen moves so the input is centered.

I'm testing on iOS.

Thanks in advance.
Petyo
Telerik team
 answered on 23 Jul 2013
3 answers
140 views
Hi!

In my application, I have a ListView that uses a DataSource with grouping.

After I updated to version 2013.2.716, the links are only created correctly if I put the class and the role on the a tag. Without them, the link just breaks the navigation.
However, if I remove the grouping from the DataSource, the item becomes clickable and works as expected, even without specifying class and role.

Here is my template:
<script id="list-indicator-template" type="text/x-kendo-template">
    <a href="views/valuesChart.html?IndicatorId=#: IndicatorId #&Attribute=#: Attribute #" class="km-listview-link" data-role="listview-link">
        #: Attribute #
        <span class="attribute-value">#: kendo.toString(Value, "n2") #</span>
    </a>
</script>
Am I missing something here? I don't think so.

Thanks!
Kiril Nikolov
Telerik team
 answered on 23 Jul 2013
2 answers
182 views

Hello,

 

We are looking for an expert who can help us customize Kendo UI framework to fit our custom build charts images. If you have experience working with Kendo UI then please email us back admin at FirePips .com

 

We will provide more details via email.

 

Regards

Victor

Sydney, Australia 

Dimo
Telerik team
 answered on 23 Jul 2013
3 answers
463 views
My chart looks fairly good. 2 questions though. (See attached screen shot)

1) How can I make the Series labels only appear when the mouse hovers?
2) How do I format the Category Axis (Date) to "MMM d". My attempt below doesn't do anything to the date displayed.

Html.Kendo().Chart<AccountPerformance>(Model.Results)
    .Name("chart")
    .Title("Market Value")
    .Legend(legend => legend.Visible(false))
    .Series(series =>
            series.Line(model => model.Metrics.MarketValue)
                    .Name(Model.ColumnTitle)
                    .Labels(false)
    )
    .ValueAxis(axis => axis.Numeric()
        .Labels(labels => labels.Format("{0:C0}")))
    .CategoryAxis(axis => axis
        .Categories(model => model.ObservationDate)
        .Labels(labels =>
            {
                labels.Format("MMM d");
                labels.Rotation(45);
            } ))
    .Render();


Ian
Top achievements
Rank 2
 answered on 22 Jul 2013
3 answers
1.0K+ views
I am trying to put two charts, 320px width each, inside a Window and have them beside each other like in the screen shot.

Putting the charts into <div>s set at that width with a float doesn't work, the charts end up still stacked on top of each other:

Html.Kendo().Window()
    .Name(windowId)
    .Width(650)
    .Title(Model.ChartTitle)
    .Content(@<text>
 
                  <div style="width: 320px;">
                              CHART
                 </div>
 
                  <div style="width: 320px; float:right">
                              CHART
                 </div>
Ian
Top achievements
Rank 2
 answered on 22 Jul 2013
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
Drag and Drop
Application
Map
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
Licensing
ScrollView
Switch
TextArea
BulletChart
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
TimePicker
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
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
SmartPasteButton
PromptBox
SegmentedControl
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?