Telerik Forums
UI for Blazor Forum
1 answer
24 views

I keep getting these errors after i updated to the latest release for a lot of charting components. This one is with ChartSeriesType.Area. The areas are there but don't have any coloring and are invisible.

 

telerik-blazor.js:1 Error: <path> attribute d: Expected number, "M140.35 13 L NaN 13 NaN 173.2…".
attr @ telerik-blazor.js:1
geometryChange @ telerik-blazor.js:1
trigger @ telerik-blazor.js:1
geometryChange @ telerik-blazor.js:1
trigger @ telerik-blazor.js:1
geometryChange @ telerik-blazor.js:1
trigger @ telerik-blazor.js:1
geometryChange @ telerik-blazor.js:1
trigger @ telerik-blazor.js:1
geometryChange @ telerik-blazor.js:1
(anonymous) @ telerik-blazor.js:1
_setEnd @ telerik-blazor.js:1
step @ telerik-blazor.js:1
t @ telerik-blazor.js:1
(anonymous) @ telerik-blazor.js:1
setTimeout
play @ telerik-blazor.js:1
(anonymous) @ telerik-blazor.js:1
traverse @ telerik-blazor.js:1
traverse @ telerik-blazor.js:1
traverse @ telerik-blazor.js:1
traverse @ telerik-blazor.js:1
traverse @ telerik-blazor.js:1
_redraw @ telerik-blazor.js:1
(anonymous) @ telerik-blazor.js:1
loadFonts @ telerik-blazor.js:1
preloadFonts @ telerik-blazor.js:1
ad @ telerik-blazor.js:1
createChart @ telerik-blazor.js:1
createWidget @ telerik-blazor.js:1
l @ telerik-blazor.js:1
(anonymous) @ telerik-blazor.js:1
(anonymous) @ telerik-blazor.js:1
processJSCall @ blazor.web.js:1
beginInvokeJSFromDotNet @ blazor.web.js:1
Xr @ blazor.web.js:1
(anonymous) @ invoke-js.ts:323
Mc @ invoke-js.ts:82
$func298 @ dotnet.native.53ez3dx5uy.wasm:0x1f797
$func222 @ dotnet.native.53ez3dx5uy.wasm:0x1ca98
$func213 @ dotnet.native.53ez3dx5uy.wasm:0xebe7
$func291 @ dotnet.native.53ez3dx5uy.wasm:0x1f22d
$func327 @ dotnet.native.53ez3dx5uy.wasm:0x203be
$func184 @ dotnet.native.53ez3dx5uy.wasm:0xc3a3
$mono_background_exec @ dotnet.native.53ez3dx5uy.wasm:0x48887
Ko @ scheduling.ts:53
callUserCallback @ dotnet.native.ykrnppwhq2.js:8
(anonymous) @ dotnet.native.ykrnppwhq2.js:8
setTimeout
safeSetTimeout @ dotnet.native.ykrnppwhq2.js:8
Mc @ scheduling.ts:63
$func793 @ dotnet.native.53ez3dx5uy.wasm:0x48825
$func298 @ dotnet.native.53ez3dx5uy.wasm:0x1f773
$func222 @ dotnet.native.53ez3dx5uy.wasm:0x1ca98
$func213 @ dotnet.native.53ez3dx5uy.wasm:0xebe7
$func291 @ dotnet.native.53ez3dx5uy.wasm:0x1f22d
$func327 @ dotnet.native.53ez3dx5uy.wasm:0x203be
$func184 @ dotnet.native.53ez3dx5uy.wasm:0xc3a3
$mono_background_exec @ dotnet.native.53ez3dx5uy.wasm:0x48887
Ko @ scheduling.ts:53
callUserCallback @ dotnet.native.ykrnppwhq2.js:8
(anonymous) @ dotnet.native.ykrnppwhq2.js:8
setTimeout
safeSetTimeout @ dotnet.native.ykrnppwhq2.js:8
Mc @ scheduling.ts:63
$func793 @ dotnet.native.53ez3dx5uy.wasm:0x48825
$func298 @ dotnet.native.53ez3dx5uy.wasm:0x1f773
$func222 @ dotnet.native.53ez3dx5uy.wasm:0x1ca98
$func213 @ dotnet.native.53ez3dx5uy.wasm:0xebe7
$func291 @ dotnet.native.53ez3dx5uy.wasm:0x1f22d
$func327 @ dotnet.native.53ez3dx5uy.wasm:0x203be
$func184 @ dotnet.native.53ez3dx5uy.wasm:0xc3a3
$mono_background_exec @ dotnet.native.53ez3dx5uy.wasm:0x48887
Ko @ scheduling.ts:53
Zo @ scheduling.ts:42
8Error: <g> attribute transform: Expected number, "matrix(NaN,NaN,NaN,NaN,…".
telerik-blazor.js:1 Error: <path> attribute d: Expected number, "M57 40.301 L NaN 40.301 NaN 2…".
attr @ telerik-blazor.js:1
geometryChange @ telerik-blazor.js:1
trigger @ telerik-blazor.js:1
geometryChange @ telerik-blazor.js:1
trigger @ telerik-blazor.js:1
geometryChange @ telerik-blazor.js:1
trigger @ telerik-blazor.js:1
geometryChange @ telerik-blazor.js:1
trigger @ telerik-blazor.js:1
geometryChange @ telerik-blazor.js:1
(anonymous) @ telerik-blazor.js:1
_setEnd @ telerik-blazor.js:1
step @ telerik-blazor.js:1
t @ telerik-blazor.js:1
(anonymous) @ telerik-blazor.js:1
setTimeout
play @ telerik-blazor.js:1
(anonymous) @ telerik-blazor.js:1
traverse @ telerik-blazor.js:1
traverse @ telerik-blazor.js:1
traverse @ telerik-blazor.js:1
traverse @ telerik-blazor.js:1
traverse @ telerik-blazor.js:1
_redraw @ telerik-blazor.js:1
redraw @ telerik-blazor.js:1
setOptions @ telerik-blazor.js:1
setWidgetOptions @ telerik-blazor.js:1
setOptions @ telerik-blazor.js:1
a @ telerik-blazor.js:1
(anonymous) @ telerik-blazor.js:1
processJSCall @ blazor.web.js:1
beginInvokeJSFromDotNet @ blazor.web.js:1
Xr @ blazor.web.js:1
(anonymous) @ invoke-js.ts:323
Mc @ invoke-js.ts:82
$func298 @ dotnet.native.53ez3dx5uy.wasm:0x1f797
$func222 @ dotnet.native.53ez3dx5uy.wasm:0x1ca98
$func213 @ dotnet.native.53ez3dx5uy.wasm:0xebe7
$func291 @ dotnet.native.53ez3dx5uy.wasm:0x1f22d
$func327 @ dotnet.native.53ez3dx5uy.wasm:0x203be
$func184 @ dotnet.native.53ez3dx5uy.wasm:0xc3a3
$mono_background_exec @ dotnet.native.53ez3dx5uy.wasm:0x48887
Ko @ scheduling.ts:53
callUserCallback @ dotnet.native.ykrnppwhq2.js:8
(anonymous) @ dotnet.native.ykrnppwhq2.js:8
setTimeout
safeSetTimeout @ dotnet.native.ykrnppwhq2.js:8
Mc @ scheduling.ts:63
$func793 @ dotnet.native.53ez3dx5uy.wasm:0x48825
$func298 @ dotnet.native.53ez3dx5uy.wasm:0x1f773
$func222 @ dotnet.native.53ez3dx5uy.wasm:0x1ca98
$func213 @ dotnet.native.53ez3dx5uy.wasm:0xebe7
$func291 @ dotnet.native.53ez3dx5uy.wasm:0x1f22d
$func327 @ dotnet.native.53ez3dx5uy.wasm:0x203be
$func184 @ dotnet.native.53ez3dx5uy.wasm:0xc3a3
$mono_background_exec @ dotnet.native.53ez3dx5uy.wasm:0x48887
Ko @ scheduling.ts:53
callUserCallback @ dotnet.native.ykrnppwhq2.js:8
(anonymous) @ dotnet.native.ykrnppwhq2.js:8
setTimeout
safeSetTimeout @ dotnet.native.ykrnppwhq2.js:8
Mc @ scheduling.ts:63
$func793 @ dotnet.native.53ez3dx5uy.wasm:0x48825
$func298 @ dotnet.native.53ez3dx5uy.wasm:0x1f773
$func222 @ dotnet.native.53ez3dx5uy.wasm:0x1ca98
$func213 @ dotnet.native.53ez3dx5uy.wasm:0xebe7
$func291 @ dotnet.native.53ez3dx5uy.wasm:0x1f22d
$func327 @ dotnet.native.53ez3dx5uy.wasm:0x203be
$func191 @ dotnet.native.53ez3dx5uy.wasm:0xc747
$mono_wasm_execute_timer @ dotnet.native.53ez3dx5uy.wasm:0x10b011
Zo @ scheduling.ts:38

<TelerikChart @ref="_chart" >
<ChartTooltip Visible="true" />
<ChartSeriesItems>
<ChartSeries Type="ChartSeriesType.Line" Size="3" Name="Estimate Goal" Data="@_seriesPlanned" >
<ChartSeriesLabels Visible="true" Background="transparent" Position="ChartSeriesLabelsPosition.Top"  />
<ChartSeriesMarkers Type="ChartSeriesMarkersType.RoundedRect" Size="0" Background="transparent"  />
<ChartSeriesLine Color="blue" Width="5" ></ChartSeriesLine>
</ChartSeries>
<ChartSeries Type="@ChartSeriesType.Area" Color="dodgerblue" Name="Hours Awarded" Data="@_seriesReceived" MissingValues="ChartSeriesMissingValues.Interpolate">
<ChartSeriesLine Color="blue" Width="1" Style="@ChartSeriesLineStyle.Normal" />
</ChartSeries>
<ChartSeries Type="@ChartSeriesType.Area" Color="teal" Name="Contract Changes" Data="@_seriesChanges" MissingValues="ChartSeriesMissingValues.Interpolate">
<ChartSeriesLine Color="darkgreen" Width="100" Style="@ChartSeriesLineStyle.Normal" />
</ChartSeries>
<ChartSeries Type="@ChartSeriesType.Area" Color="salmon" Name="Orders" Data="@_seriesOrders" MissingValues="ChartSeriesMissingValues.Interpolate">
<ChartSeriesLine Color="red" Width="2" Style="@ChartSeriesLineStyle.Normal" />
</ChartSeries>
</ChartSeriesItems>
<ChartCategoryAxes>
<ChartCategoryAxis Categories="@_xAxisItems" />
</ChartCategoryAxes>
<ChartLegend Position="ChartLegendPosition.Left" />
</TelerikChart>

Tsvetomir
Telerik team
 answered on 13 Apr 2026
1 answer
32 views

I have a Telerik Blazor chart with time-based data updating in real time. The X-axis labels are not aligned with the major ticks — they are showing between two ticks instead of directly on them.

I am currently using CategoryField for the time values.

How can I make the labels align with the major ticks?

Code Snippet:

<!-- Category Axis -->
<ChartCategoryAxes>
    <ChartCategoryAxis Type="ChartCategoryAxisType.Date"
                       BaseUnit="@GetBaseUnit()"
                       BaseUnitStep="@GetAutoBaseUnitStep()"
                       Min="@VisibleMin"
                       Max="@VisibleMax"
                       AxisCrossingValue="@GetCategoryAxisCrossings()"
                       Visible="@XAxisConfig.Visible"
                       Color="@XAxisConfig.AxisColor">

        <ChartCategoryAxisMajorTicks Visible="@ShowMajorTicks"
                                     Size="@XAxisConfig.MajorTickSize"
                                     Color="@XAxisConfig.MajorTickColor"
                                     Step="@MajorTickStep" />

        <ChartCategoryAxisMinorTicks Visible="@ShowMinorTicks"
                                     Size="@XAxisConfig.MinorTickSize"
                                     Color="@XAxisConfig.MinorTickColor"
                                     Step="@MinorTickStep" />

        <ChartCategoryAxisMajorGridLines Visible="@(ShowMajorTicks && XAxisConfig.ShowMajorGridLines)"
                                         Width="@XAxisConfig.MajorGridWidth"
                                         Step="@MajorTickStep"
                                         Color="@XAxisConfig.MajorGridColor"
                                         DashType="@GetDashType(XAxisConfig.MajorGridDash)" />

        <ChartCategoryAxisMinorGridLines Visible="@(ShowMinorTicks && XAxisConfig.ShowMinorGridLines)"
                                         Width="@XAxisConfig.MinorGridWidth"
                                         Step="@MinorTickStep"
                                         Color="@XAxisConfig.MinorGridColor"
                                         DashType="@GetDashType(XAxisConfig.MinorGridDash)" />

        <ChartCategoryAxisTitle Text="@(string.IsNullOrEmpty(XAxisConfig.Title) ? GetXAxisTitle() : XAxisConfig.Title)" />

        <ChartCategoryAxisLabels Format="@GetAxisLabelFormat()"
                                 Step="@(ShowMajorTicks ? MajorTickStep : 1)">
            <ChartCategoryAxisLabelsRotation Angle="@CategoryLabelRotation"
                                             Align="ChartAxisLabelsRotationAlignment.Center" />
        </ChartCategoryAxisLabels>

    </ChartCategoryAxis>
</ChartCategoryAxes>
Dimo
Telerik team
 answered on 20 Mar 2026
4 answers
200 views

Hey,

I am working on a Telerik for Blazor UI project and I'm really liking alll the Telerik features so far. However, when there are too many data points on my graph, the x axis becomes really hard to read, so I added a feature to scale the number of visible x-axis categories based on the number of intervals.

For this purpose, I was hoping to add a feature so that when one zooms into the graph, more of the x-axis intervals become visible based on how many can comfortably fit on screen. To this end, I need to know how much a user has zoomed in so that I can scale things accordingly. However, from all I can find online, there is no way to query a TelerikChart for how zoomed in you are. I might be missing something, but in case I am not, I think this feature could be very helpful so that one can add events based on the zoom in and have things change accordingly.

Thanks

Peter
Top achievements
Rank 2
Iron
Iron
Veteran
 updated answer on 18 Feb 2026
1 answer
269 views

If my data for a Line Chart has only point set, the chart will place the single points in the center of the chart.  I'd prefer to see single point on the Left of the chart.

I'd like to see the data point (1st rate, 2nd rate, EIR Fee, Handling Fee) for year 2023 be left aligned in the chart, not centered.

Searched the documentation and can't find where I might be able to accomplish this?

Rob.

Dimo
Telerik team
 answered on 16 Jan 2026
1 answer
167 views

If I use ChartCategoryAxisBaseUnit.Years the X-axis looks great.

However, if the data doesn't have any entry for every year (rates don't necessarily change every year) I get an odd chart with dips for the years where no rate was changed, resulting in this:

As you can see, dip in 2011.  I don't want to see a dip as it's not representative, what I want to see is a straight line going up from 2010 to 2012 as the 2011 is really just an interpolated label for the X axis.

Is there a solution to this issue?

Rob

 

 

 

Dimo
Telerik team
 answered on 19 Dec 2025
1 answer
80 views

Hi, I try to use Gantt so i bump into it doesn't have summery row template?

I understood that everyone is busy, so i started to explore rendered html of gantt and found 3 timeline tables! while try to fix bug with not synced scroll this code o got from here https://www.telerik.com/blazor-ui/documentation/components/gantt/timeline/templates/task

look:

Dimo
Telerik team
 answered on 18 Dec 2025
1 answer
104 views
Hi Telerik Team,

Tooltip information at the first {DataCollectionSizeNumber pasted here} values is incorrect when setting MissingValues="ChartSeriesMissingValues.Zero".
The chart series-line is displayed properly - the value that is missing should be 0 and it's displayed visually as 0.
<TelerikChart>
    <ChartTitle Text="MissingValues.Zero Tooltip Bug (No Nulls)"></ChartTitle>
    <ChartTooltip Visible="true"></ChartTooltip>
    <ChartLegend Position="ChartLegendPosition.Bottom"></ChartLegend>

    <ChartSeriesItems>
        <ChartSeries Type="ChartSeriesType.Line"
                     Name="Sample Series"
                     Data="@Data"
                     Field="@nameof(ChartP.Count)"
                     CategoryField="@nameof(ChartP.Category)"
                     MissingValues="ChartSeriesMissingValues.Zero"
                     Style="ChartSeriesStyle.Normal">
            <ChartSeriesTooltip Visible="true" Context="ctxt">
                <Template>
                    @{
                        var point = ctxt.DataItem as ChartP;
                    }
                    <div style="font-size:13px;">
                        <strong>Category:</strong> @point?.Category.ToString("yyyy-MM-dd HH:mm")<br />
                        <strong>Count:</strong> @point?.Count<br />
                        <strong>Extra:</strong> @point?.ExtraInfo
                    </div>
                </Template>
            </ChartSeriesTooltip>

            <ChartSeriesMarkers Visible="false" Type="ChartSeriesMarkersType.Circle" Size="6">
                <ChartSeriesMarkersBorder Width="1" />
            </ChartSeriesMarkers>
        </ChartSeries>
    </ChartSeriesItems>

    <ChartCategoryAxes>
        <ChartCategoryAxis Min="@StartOfDayLocal" Max="@EndOfDayLocal" Type="ChartCategoryAxisType.Date"
                           BaseUnit="ChartCategoryAxisBaseUnit.Minutes" BaseUnitStep="15">
            <ChartCategoryAxisLabels Format="{0:HH:mm}" Step="4">
                <ChartCategoryAxisLabelsRotation Angle="45" />
            </ChartCategoryAxisLabels>
        </ChartCategoryAxis>
    </ChartCategoryAxes>

    <ChartValueAxes>
        <ChartValueAxis>
            <ChartValueAxisLabels Format="{0}" />
        </ChartValueAxis>
    </ChartValueAxes>
</TelerikChart>

@code {
    public class ChartP
    {
        public DateTime Category { get; set; }  // X axis
        public int Count { get; set; }          // Y value
        public string? ExtraInfo { get; set; }  // Info for tooltip
    }

    private static DateTime StartOfDayLocal =>
    DateTime.SpecifyKind(DateTime.Today, DateTimeKind.Local);
    private DateTime EndOfDayLocal => StartOfDayLocal.AddDays(1);

    public List<ChartP> Data = new()
    {
        new ChartP { Category = StartOfDayLocal.AddHours(2), Count = 5, ExtraInfo = "Real Point A" },
        new ChartP { Category = StartOfDayLocal.AddHours(3), Count = 7, ExtraInfo = "Real Point B" },
        new ChartP { Category = StartOfDayLocal.AddHours(4), Count = 3, ExtraInfo = "Real Point C" },
        new ChartP { Category = StartOfDayLocal.AddHours(5), Count = 2, ExtraInfo = "Real Point D" },
    };
}


Am I doing something wrong or this is a bug?

Regards,
Bohdan

Dimo
Telerik team
 updated answer on 12 Sep 2025
1 answer
96 views

I have a chart that shows different data but for same group data. I re-use the color between the area and column series since thay are about the same source data group. This makes my legend report each item tweice, which I do not want.

How can I disable legend item visibility for one series, but keep visibilitie for other series?

 

TIA - Hans

Dimo
Telerik team
 updated answer on 19 Aug 2025
1 answer
78 views

when i provide hardcoded data chart gets populated but on providing record from db the chart gets blank. 
this is my raozr page 
"    <div class="row ">
        <div class="col-12">
            <div id="chart-section" class="card chart-card">
                <div class="card-body">
                    <div class="d-flex justify-content-between align-items-center mb-4">
                        <h5 class="card-title mb-0">
                            <i class="fas fa-project-diagram me-2 text-primary"></i>
                            Deal Flow Analysis
                        </h5>
                     @*    <div class="d-flex gap-2">
                            <button class="btn btn-sm btn-outline-primary">
                                <i class="fas fa-expand-arrows-alt"></i>
                            </button>
                            <button class="btn btn-sm btn-outline-primary">
                                <i class="fas fa-cog"></i>
                            </button>
                        </div> *@
                    </div>
                    <TelerikSankey Data="@Data">

                        <SankeyLinks ColorType="@SankeyLinksColorType.Static"></SankeyLinks>
                        <SankeyLabels>
                            <SankeyLabelsStroke Color="none"></SankeyLabelsStroke>
                        </SankeyLabels>
                    </TelerikSankey>
                </div>
            </div>
        </div>
    </div>"
this is how i am binding my data 
"       private void GenerateSankeyData()
       {
           if (hubspotDealStagesDtos == null || !hubspotDealStagesDtos.Any() || hubDealData == null)
               return;

           var newNodes = new SankeyDataNodes();
           var newLinks = new SankeyDataLinks();

           
           var orderedStages = hubspotDealStagesDtos.OrderBy(s => s.DisplayOrder).ToList();
           foreach (var stage in orderedStages)
           {
               newNodes.Add(new SankeyDataNode
               {
                   Id = stage.HubspotId,
                   Label = new SankeyDataNodeLabel { Text = stage.Label }
               });
           }

           foreach (var group in hubDealData.GroupBy(x => x.DealStage))
           {
               if (!int.TryParse(group.Key.ToString(), out int validId))
                   continue;

               double value = selectedViewBy == "value"
                   ? group.Sum(x => x.Amount)
                   : group.Count();

               newLinks.Add(new SankeyDataLink
               {
                   SourceId = 0,       

                  TargetId = validId,
                   Value = value
               });
           }

           Data.Nodes.Clear();
           Data.Links.Clear();

           foreach (var node in newNodes)
               Data.Nodes.Add(node);

           foreach (var link in newLinks)
               Data.Links.Add(link);

           StateHasChanged();
       }"
need help in this regard

Dimo
Telerik team
 answered on 14 Jul 2025
0 answers
168 views

I am using a Column Chart component inside my Blazor application.

When viewed on a mobile screen, the user is unable to pan the window, because i think the chart registers this as an event. If the user touches the chart, they cannot scroll the window anymore.

I am not using any additional events on my chart, it does not need any interaction. 

How can I adjust the chart so that it can be touched and scrolled?

 

Code snippet:
<div style="@((DialogOpen) ? "visibility: hidden;" : "visibility: visible;")">
    <TelerikChart Height="200px">
        <ChartZoomable Enabled="false"></ChartZoomable>
        <ChartPannable Enabled="false"></ChartPannable>

        <ChartSeriesItems>
            <ChartSeries Type="ChartSeriesType.Column" Name="min/100m" Data="@GraphData" Field="@nameof(GraphData)" Color="#9edfff">
            </ChartSeries>
        </ChartSeriesItems>

        <ChartCategoryAxes>
            <ChartCategoryAxis Categories="@GraphX.ToArray()"></ChartCategoryAxis>
        </ChartCategoryAxes>

        <ChartLegend Position="ChartLegendPosition.Bottom">
        </ChartLegend>

        <ChartTitle Text=""></ChartTitle>
    </TelerikChart>
</div>

Kevin
Top achievements
Rank 1
 asked on 10 Jun 2025
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?