Telerik Forums
Kendo UI for Angular Forum
2 answers
540 views

I am using Kendo scatter chart by default x and y axis data are coming decimal. i want integer only. i don't want to use Majorunit because it has to be calculated based on series.

<kendo-chart-series>
<kendo-chart-series-item type="scatter" [data]="graphData" xField="inc_margin_amt" yField="inc_sales_amt">
</kendo-chart-series-item>
</kendo-chart-series>
<kendo-chart-x-axis>
<kendo-chart-x-axis-item [min]="graph.xModel.min" [max]="graph.xModel.max">
</kendo-chart-x-axis-item>
</kendo-chart-x-axis>
<kendo-chart-y-axis>
<kendo-chart-y-axis-item [min]="graph.yModel.min" [max]="graph.yModel.max">
</kendo-chart-y-axis-item>
</kendo-chart-y-axis>

Attaching the image for your reference .

Sam
Top achievements
Rank 1
 answered on 22 Apr 2020
2 answers
63 views

Hello,

What i see from documentation there is an interface AddEvent with "parent" property, but i don't see it on my local version.

I installed it from npm
"ng add @progress/kendo-angular-treelist"

Plase see attached pictures.

Thanks.

 
Svet
Telerik team
 answered on 21 Apr 2020
4 answers
2.0K+ views

interface Item {
  text: string,
  value: string
}

@Component({
  selector: 'my-app',
  template: `
    <div class="example-config">
        Selected Value: {{selectedValue}}
    </div>
    <kendo-dropdownlist
        [data]="listItems"
        textField="text"
        valueField="value"
        [valuePrimitive]="true"
        [(ngModel)]="selectedValue"
    >
    </kendo-dropdownlist>
  `
})
class AppComponent {
    public listItems: Array<Item> = [
        { text: 'Small', value: 's' },
        { text: 'Medium', value: 'm' },
        { text: 'Large', value: 'l' }
    ];

    public selectedValue: number = 'S';
}

 

Since this is an uppercase "S" the selected value does not pre-select.

 

Filtering works - case insensitive?

 

There must be some way of making this be case-insensitive without manipulating the data? The data comes from a backend db that is case-insensitive (MySql).

 

 

Steven
Top achievements
Rank 1
 answered on 20 Apr 2020
1 answer
823 views

Hi,

I have implemented a Multiselect control with Filtering. It contains more then 10k items. My initial load is only 50 items as default items and all others need to be found over the filtering. 

When user filters and select various items and saves them everything works as expected. But when I load my edit page and patch values I see in tags only the values that are in the initial load (50 items). So if I have selected and saved one outside the first 50 it is not visible in edit mode. And this is also ok us I understand it per documentation: 

https://www.telerik.com/kendo-angular-ui/components/dropdowns/api/MultiSelectComponent/#toc-value

All selected values which are not present in the source are ignored.

It works if I load all items in the multiselect but with 10k items its not very good for performance reasons. What would be a better approach.

 

Thanks

T. Tsonev
Telerik team
 answered on 20 Apr 2020
1 answer
106 views
I am trying to add kendo scheduler to my Angular project. I got a lot of errors in this process. But I could not overcome the last mistake. Could you help?
Hetali
Telerik team
 answered on 20 Apr 2020
1 answer
3.7K+ views
I have column upload date filter with datepicker. How to add a date column filter with from and to datepickers. please suggest i am new to kendo UI.
Svet
Telerik team
 answered on 17 Apr 2020
1 answer
129 views
Hi!
We are having trouble rendering events with the EditService modified in the scheduler. The problem is visible when events are grouped. Our groupheader is modified with groupHeaderTemplate.

Each event has a group ID. And each group has its ID defined.

But events are rendered only when there are no groupings.
Martin Bechev
Telerik team
 answered on 16 Apr 2020
2 answers
1.3K+ views

I'm creating an image that has an image that uses a variable to complete the src of the image, as shown below:

<kendo-pdf-export #pdfProfile paperSize="A4" margin="0.2cm" [scale]="0.5" [imageResolution]="72">
<img src="{{URL_Image + bull.image}}" class="img-fluid rounded" alt="" />

When I use this form, the image appears on the page, but in the creation of the PDF it is not shown.
When I switch to a still image, as shown below, it works.

<img src="https://c2.staticflickr.com/2/1574/25734996011_637430f5d8_c.jpg" class="img-fluid rounded" alt="" />

Do you have any configuration, or how to resolve this?

Juuso
Top achievements
Rank 1
 answered on 16 Apr 2020
4 answers
325 views
in the latest version of the material theme (4.16), Locked columns in the grid have lost their "elevated" (box shadow) styling and have a gray background instead of transparent.   If I revert to what i was using before, 4.12.2, it works fine again.  Not sure which version introduced the problem.
Martin Bechev
Telerik team
 answered on 16 Apr 2020
3 answers
693 views

Hi all,

I've tried using kendo-chart, when setting Opacity property for tool-tip, it's not working while the javascript version does.

I've also tried to use inspect element tool in browser to determine what html will be rendered. 

I recognized that the html code rendered by Angular is not the save as the version rendered by Javascript

Please be informed.

Kendo-angular:

<kendo-chart-tooltip [shared]="true" [border]="{color:'red'}" [opacity]="0.8" >

</kendo-chart-tooltip>

kendo-angular-html rendered:

<kendo-popup class="k-animation-container k-chart-tooltip-wrapper k-animation-container-shown" style="left: 650px; top: 414px;">
<div class="k-popup">
<div ng-reflect-ng-class="[object Object]" ng-reflect-ng-style="[object Object]" class="k-chart-shared-tooltip k-chart-tooltip" style="border-color: red; opacity: 0.5; border-width: 1px;">

Kendo-javascript :

<script>
$("#chart").kendoChart({
  series: [{
    data: [1,2,3]
  },{
    data: [1,2,3]
  },{
    data: [1,2,3]
  }],
  tooltip: {
    visible: true,
    shared: true,
    opacity : 0.5
  }
});
</script>

html render

<div class="k-tooltip k-chart-tooltip k-chart-shared-tooltip" style="position: absolute; opacity: 0.5; border-width: 1px; top: 342px; left: 201px; display: flex;">
</div>

 

 

Martin Bechev
Telerik team
 answered on 15 Apr 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?