Telerik Forums
UI for Blazor Forum
0 answers
79 views

Hi,

We have to migrate and modernize an old application using new development tools and I try to find the tools which can reproduce the features we had so far.

Having a background image in the chart is one of them.

So my question is, can your Blazor chart component have a background in the chart area only as shown in the attached image?

If yes, is it possible to get the position and the size of the chart area in pixels?

This is because the features in the image must fit to XY scales in the chart, so I need to resize the image accordingly.

I would like to make a Blazor Hybrid application.

Thank you

Bertrand

Bertrand
Top achievements
Rank 1
 asked on 06 Jan 2023
2 answers
63 views

Good day,

I would like to use the Gantt chart for industrial production planning. Independently of the bars, a color highlighting of individual columns (see picture) is to be inserted based on the personnel situation in available employee hours (e.g. workstation 2: 7h/...) and the workload according to the work plan ( workstation 2: .../7h). In addition, a mouse-over on the capacity situation is to be shown per day.

Can this be implemented by the current functions in the Gantt? So far I have not been able to find any configurable elements for the columns.
This is actually enormously important for our project and something like this (or similar) was confirmed in the initiation interview, which among other things prompted the purchase of the license.

Alternatively (even better) would be a dynamic capacity historygram under the Gantt, which is synchronously movable in vertical axe. Here, only a bar (required employee hours per day) would have to be displayed as a total and a constant line (available employee hours) would have to be inserted additionally.
Would a connection with a column chart be feasible from your point of view? (Kind a like: https://demos.telerik.com/blazor-financial-portfolio)


Many thanks in advance.

ProduktionsplanungIGP
Top achievements
Rank 1
Iron
Iron
 answered on 20 Dec 2022
1 answer
83 views

Is there a way to hide/remove markers from chart, so they also dont appear on hover. When setting visible on ChartSeriesMarker to false, the marker is hidden but will still show up when hovering.

 

Best Regards,

Emil

Nadezhda Tacheva
Telerik team
 answered on 16 Dec 2022
0 answers
118 views
We would like to add horizontal lines (ideally) or points to each series in a bar chart to indicate minimum and maximum values. The closest solution I can find is to use a line chart, but that doesn't really make sense because there isn't really a relationship between the marks across the series. A different plot band for each series would work, but we need a separate plot band for each series. Another option would be to do the line chart but only show the marks and not the line itself. Any options currently available?
Chris
Top achievements
Rank 1
 asked on 10 Nov 2022
0 answers
132 views

Hello to all!
I want to share with you my experience of using Telerik charts to build a box and whisker chart.
This chart is extremely useful in statistical data processing to identify outliers in a data set.
https://en.wikipedia.org/wiki/Box_plot

Telerik doesn't have a special box and whisker chart component, but it's pretty easy to make one yourself.
To do this, we need a candlestick chart to visualize the range of data and a line chart to visualize outliers.
The open-source library MathNet.Numerics is used to calculate the summary statistics of five numbers.
https://numerics.mathdotnet.com

Attached is a sample code, enjoy!

Ivan
Top achievements
Rank 3
Iron
Iron
Iron
 asked on 07 Nov 2022
0 answers
112 views

Hi all

I've got a question related to chart layout.

In Blazor on the ChartSeries there is a property "Color". Per intellisense a function(point) can be used that will evaluate the series color on point-by-point basis.

But how do you exactly do that ?
Any help is very much appreciated.

FYI
I'm trying this on an Area chart.

opusnumeri
Top achievements
Rank 1
 asked on 04 Nov 2022
0 answers
61 views

Is there a way to change the animation type for ChartSeriesTooltip?

Now it's slides up

Ilan
Top achievements
Rank 1
Bronze
Iron
Veteran
 asked on 27 Oct 2022
1 answer
97 views

Hello,

We need to have string labels in our y-axis

Actually we have an int that matches to an Enum and instead of int number we want to print the Enum string representation

Based on the docs we can either use the Format expression or a Template but none of them allow us for example to use the expression


((MyEnum)value).ToString()

How can we do?
Also, is it possible to use Category axis on the ordinate (the y axis) ?

Thanks
Marin Bratanov
Telerik team
 answered on 08 Oct 2022
1 answer
89 views

Category labels dont appear on the bottom of the grid?

As far as I understood it, it should pick up the names for the label from @strLCCategory

<ChartCategoryAxis Categories="@strLCCategory">

Which has: "2022-07", "2022-08" in it.

What I am getting:

No labels below that 0 line!

Code below

<GridLayoutItem Column="2" Row="5">
            <TelerikChart Height="400px"
                          Width="700px">
                <ChartTitle Text="Line Counts"></ChartTitle>
                <ChartTooltip Visible="true"></ChartTooltip>
                <ChartLegend Position="ChartLegendPosition.Right"></ChartLegend>

                <ChartSeriesItems>
                    <ChartSeries Type="ChartSeriesType.Line"
                                 Name="@strLCSeries1Field"
                                 Data="@LineCounts"
                                 Width="2"
                                 DashType="@DashType.Solid"
                                 Field="@strLCSeries1Field">
                    </ChartSeries>
                    <ChartSeries Type="ChartSeriesType.Line"
                                 Name="@strLCSeries2Field"
                                 Data="@LineCounts"
                                 Width="2"
                                 DashType="@DashType.Solid"
                                 Field="@strLCSeries2Field">
                    </ChartSeries>
                    <ChartSeries Type="ChartSeriesType.Line"
                                 Name="@strLCSeries3Field"
                                 Data="@LineCounts"
                                 Width="2"                            
                                 DashType="@DashType.Solid"
                                 Field="@strLCSeries3Field">
                    </ChartSeries>
                </ChartSeriesItems>

                <ChartCategoryAxes>
                    <ChartCategoryAxis Categories="@strLCCategory">
                        @*<ChartCategoryAxisLabels>
                            <ChartCategoryAxisLabelsRotation Angle="-45" />
                        </ChartCategoryAxisLabels>*@
                    </ChartCategoryAxis>
                </ChartCategoryAxes>

               @* <ChartValueAxes>
                    <ChartValueAxis AxisCrossingValue="@AxisCrossingValue">
                        <ChartValueAxisLabels></ChartValueAxisLabels>
                    </ChartValueAxis>
                </ChartValueAxes>*@

            </TelerikChart>

        </GridLayoutItem>

private string[]? strLCCategory;
 List<chartLineCountsResult> LineCountsResults = new List<chartLineCountsResult>();
 LineCountsResults = clsDataAccessService.doChartInit("LineCounts", GlobalStuff.msDBEnvir);
 List<string> Categories = new List<string>();
 for (int i = 0; i < LineCountsResults.Count; i++)
            {
                Categories.Add(LineCountsResults[i].Periods.ToString());
            };        
 string[] strLCCategory = Categories.ToArray();

Can't see why the Category labels dont appear on the bottom of the grid?
Should be seeing:
2022-07  2022-08

Stamo Gochev
Telerik team
 answered on 23 Sep 2022
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?