Telerik Forums
UI for Blazor Forum
1 answer
381 views
Hi All,
 
I'd like to make certain that I'm just showing one data line and no legends, tick marks, axes, padding and so on.  I would also like the first data point to be the center of the graph vertically.  

 

Here's my chart markup, please let me know if you have any suggestions.  Thank you so much.

 

 

<TelerikChart Width="100%" Height="100%" Transitions="false" RenderAs="Telerik.Blazor.RenderingMode.Canvas">
    <ChartSeriesItems>
        <ChartSeries Type="ChartSeriesType.Line" Name="" Data="@Data" Color="@LineColor">
            <ChartSeriesMarkers Visible="false" />
            <ChartSeriesLabels Visible="false" Background="transparent" />
        </ChartSeries>
    </ChartSeriesItems>
    <ChartCategoryAxes>
        <ChartCategoryAxis Visible="false"><ChartCategoryAxisMajorGridLines Visible="false" /></ChartCategoryAxis>
    </ChartCategoryAxes>
    <ChartValueAxes>
        <ChartValueAxis Visible="false"><ChartValueAxisMajorGridLines Visible="false" /></ChartValueAxis>
    </ChartValueAxes>
    <ChartTitle Visible="false" />
    <ChartLegend Visible="false" />
</TelerikChart>
Marin Bratanov
Telerik team
 answered on 16 Oct 2020
7 answers
164 views

I am getting a linker warning:

SeverityCodeDescriptionProjectFileLineSuppression State
WarningTelerik.DataSource.Extensions.QueryableExtensions.CallQueryableMethod(IQueryable,String,LambdaExpression): Could not resolve dependency type 'System.Linq.Queryable' specified in a `PreserveDependency` attributeBlazor Wasm Kendo 2.ServerILLink0

Error is from the Server project.

 

Blazor Webassembly Hosted app.

VS Version 16.8.0 Preview 4.0
Net5 Version 5.0.100-rc.2.20479.15

Blazor UI Version 2.17.0

Marin Bratanov
Telerik team
 answered on 15 Oct 2020
4 answers
510 views

 When using the GridSearchBox to filter the grid, is it possible to obtain the filtered row items?

I want to know what rows are currently displayed.

Marin Bratanov
Telerik team
 answered on 15 Oct 2020
11 answers
446 views
Hello!
I am trying to implement a box and whisker chart using a candlestick chart.
Everything looks good, but I can not display outliers in the form of points.
The problem is that you can't mix categorical candlestick chart type and numeric type. Using a categorical type of line chart also does not produce the desired result.
Can anyone tell me how to display a scatter chart on a candlestick chart?
Svetoslav Dimitrov
Telerik team
 answered on 15 Oct 2020
1 answer
211 views

Hi

I'm using treeview with Hierarchical data

Is it possible change the css for the text ? I need to change some char (color/bold) in some text near the icon.

Otherwise how is possibile to use the template with a list of item with parentid ?

Tnx

 

Marin Bratanov
Telerik team
 answered on 13 Oct 2020
2 answers
165 views

Code:

01.@page "/"
02.@layout MainLayout
03. 
04.<TelerikChart>
05.    <ChartTitle Text="Unrecoverable Errors Per Minute vs. Signal Level" />
06.    <ChartCategoryAxes>
07.        <ChartCategoryAxis Type="@ChartCategoryAxisType.Category" />
08.    </ChartCategoryAxes>
09.    <ChartValueAxes>
10.        <ChartValueAxis>
11.            <ChartValueAxisLabels Visible="true" />
12.        </ChartValueAxis>
13.    </ChartValueAxes>
14.    <ChartTooltip Visible="true">
15.        <Template>
16.            @{
17.                // Null for ChartData2 series
18.                var data = context.DataItem as ModelData;
19.                <div class="card" style="font-size: 0.8rem; color: black">
20.                    <span>@($"{data.Value}")</span>
21.                    <span>@($"{data.Type}")</span>
22.                </div>
23.            }
24.        </Template>
25.    </ChartTooltip>
26.    <ChartSeriesItems>
27.        <ChartSeries Type="ChartSeriesType.Line"
28.                     Data="@ChartData1"
29.                     CategoryField="@nameof(ModelData.Type)"
30.                     Field="@nameof(ModelData.Value)">
31.        </ChartSeries>
32.        <ChartSeries Type="ChartSeriesType.Line"
33.                     Data="@ChartData2"
34.                     CategoryField="@nameof(ModelData.Type)"
35.                     Field="@nameof(ModelData.Value)">
36.        </ChartSeries>
37.    </ChartSeriesItems>
38.</TelerikChart>
39. 
40.@code {
41.    public class ModelData
42.    {
43.        public string Type { get; set; }
44.        public double Value { get; set; }
45.    }
46. 
47.    public List<ModelData> ChartData1 = new List<ModelData>() { new ModelData() { Type = "S1", Value = 1 } };
48.    public List<ModelData> ChartData2 = new List<ModelData>() { new ModelData() { Type = "S2", Value = 5 } };
49.}

 

Getting runtine error "System.NullReferenceException" at line 18 while mouse hover on chartdata2 series point 

Ivan
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 13 Oct 2020
5 answers
453 views

How do you apply a class - text formatting to the tabstrip?

 

thx again

Jonathan
Top achievements
Rank 1
Iron
Veteran
 answered on 11 Oct 2020
1 answer
236 views
Would be fine if when you click on a filterable combobox the whole text in it will be selected, so you can click and start digit new text filter without delete the old text before.
Marin Bratanov
Telerik team
 answered on 09 Oct 2020
3 answers
2.1K+ views
How can I programmatically export the grid to excel?  I have a right click context menu that has an option for "export".  When I click this item I need to perform the export.
Marin Bratanov
Telerik team
 answered on 09 Oct 2020
1 answer
289 views

Any plans for a Gantt Chart?  

Any ideas how I can use the Ajax Gantt Control in a Blazor app / page?

thx again

Marin Bratanov
Telerik team
 answered on 08 Oct 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?