Hello,
I have a problem with gridlines not showing, when i use multiple axes.
In the image below, the MajorGridLines of the axis to the right should be shown as red, and the MinorGridLines should also be visible. Is this a bug, intended or am i just doing something wrong.
I have posted the code used for generating the chart at the bottom of this post.
<TelerikChart>
<ChartTitle Text="Gross domestic product growth /GDP annual %/"></ChartTitle>
<ChartTooltip Visible="true"></ChartTooltip>
<ChartLegend Position="ChartLegendPosition.Top" Align="ChartLegendAlign.Start"></ChartLegend>
<ChartSeriesItems>
<ChartSeries Type="ChartSeriesType.Line" Style="ChartSeriesStyle.Normal" Name="Chile" Data="@Data" Field="@nameof(ModelData.Series1)"></ChartSeries>
<ChartSeries Type="ChartSeriesType.Line" Style="ChartSeriesStyle.Step" Name="India" Data="@Data" Field="@nameof(ModelData.Series2)"></ChartSeries>
<ChartSeries Type="ChartSeriesType.Line" Style="ChartSeriesStyle.Smooth" Name="Haiti" Data="@Data" Axis="Secondary" Field="@nameof(ModelData.Series3)"></ChartSeries>
</ChartSeriesItems>
<ChartCategoryAxes>
<ChartCategoryAxis AxisCrossingValue="crossingValues" Categories="@Categories"></ChartCategoryAxis>
</ChartCategoryAxes>
<ChartValueAxes>
<ChartValueAxis ZIndex="1" Max="100">
<ChartValueAxisLabels Format="{0}%"></ChartValueAxisLabels>
<ChartValueAxisMajorGridLines Visible="true"></ChartValueAxisMajorGridLines>
</ChartValueAxis>
<ChartValueAxis Name="Secondary" ZIndex="12">
<ChartValueAxisLabels Format="{0}%"></ChartValueAxisLabels>
<ChartValueAxisMajorGridLines Color="Red" Visible="true" DashType="DashType.Solid"></ChartValueAxisMajorGridLines>
<ChartValueAxisMinorGridLines Visible="true" DashType="DashType.Dot"></ChartValueAxisMinorGridLines>
</ChartValueAxis>
</ChartValueAxes>
</TelerikChart>
Best Regards,
Emil
I am trying to style the TexArea component.
Unfortunately the class attribute only affects the span wrapper element, Why?
I found that this is expected after reading the manual, so it's not a bug or is it (-.
I ended up using the standard textarea
While data binding is great for a lot of reasons, I am building a series of images on a page that each need their own context menu. In addition, based on the JSON I am reading from, some menu items will be disabled and/or have different icons.
To this end, on the Razor frontend page, I need to manually build the TelerikContextMenu out but I cannot figure out how to do so. I have the following, based on my destruction of a perfect valid Telerik online example, but I do not know what to add into the ItemTemplate nor do I understand how to map that, whatever it is, back to the public class.
{ var menuCounter = 0; var targetName = ""; var targetNameWithDot = ""; var menuId = "";
@foreach (Device thisDevice in CurrentSystem.LocalDevices)
{
menuCounter++;
targetName = "target" + @menuCounter;
targetNameWithDot = "." + @targetName;
menuId = "contextMenu" + @menuCounter;
<TelerikContextMenu IdField="@menuId" Selector="@targetNameWithDot" Data="@MenuItems" OnClick="@((MenuItem item) => OnItemClick(item, @thisDevice.DeviceIDHash))">
<ItemTemplate>
</ItemTemplate>
</TelerikContextMenu>
<div style="width: 100%" class="target-wrapper @CssClass">
<div class="@targetName">
<p class="placeholder">Right-click to open Context menu</p>
</div>
</div>
<tr>
<td>
@thisDevice.DeviceName
</td>
<td>@thisDevice.DeviceIDHash</td>
</tr>
}
}
}
Any help would be GREATLY appreciated!
Upon sending the values to the attributes for the TelerikGrid the UI part of them displays, but I noticed even though I send default 5 for the pagesize it loads the full list regardless. The Sortable columns on the grid has the icon, but when clicking it actually doesn't trigger off anything. Filter shows up the icon, but when i click it nothing happens. Just to make the paging in footer of the grid show up for dropdownlist to select row size i had to upgrade to 2.28 to make it work with GridPagerSettings.
I am sure someone else has experience this, can any assistance happen here. below is what i have in the component.
<TelerikGrid @ref="grid"
I am trying to get rid of bootstrap and looking in the telerik sass source for inspiration.
Would like to know
In general where can I find information for all the kendo classes?
Hi setting the Expanded property of the node object don't expand the selected node.
Do I really need to load everything again to expand a node?
I need to trigger the click event and expand a node in code.
As a minimum I would like to expand a node on click if it has children
Blazor has no concept of nested routing which I don't understand
Any way I need to find a way to avoid loading a lot of component in a tabstrip.
If this was Angular I would define sub routes and clicking on a tab would navigate to that page.
What patterns are you using when having a lot of tab items?
Hi I would like to make a better filter function for the TreeView. Some of the features I would like are.
Has any one created such a function?
I have a grid with a column that has department code as its data. I use templates to display the actual department name in the grid and for editing, grouping, and filtering. When I sort the column, it sorts it by the department code and not the displayed department name. How can I get it to sort by the department name and not the department code?
<GridColumn Field="DeptCode" Width="200px" title="Department" Editable="CurrentUser.IsAdmin" >
I don't see it listed in the Blazor themebuilder, am I missing something?
https://themebuilder.telerik.com/blazor-ui