Tick on Arc Gauge having problems

I have included an image of the problem I'm getting. When I run it from visual studio it works. but when I put it into production the above image is what I get. Does anyone have any ideas as to why this is happening?

 <div class="col-6 p-4">
            <RadzenArcGauge Style="margin-bottom: -250px; width: 100%; height: 500px;">
                <RadzenArcGaugeScale Step="10000" Min="0" Max="@target" MinorStep="1000" TickPosition="@tickPosition">
                    <RadzenArcGaugeScaleValue Value="@value" ShowValue="@showValue">
                        <Template Context="pointer">
            <div class="mx-auto" style="width: 200px;">
                <h3>Current Sales (Target: @target.ToString("C0"))</h3>
@code {

    public string init { get; set; }

    private ISalesReport Report { get; set; }
    private int workingDays { get; set; }
    private double AmountLeftToTarget { get; set; }
    private double avgDailySales { get; set; }
    private double avgDailySalesRemianing { get; set; }
    private double avgDailySalesLimit => avgDailySales * 2;

    bool showValue = true;
    double value = 0;
    double target = 0;
    IEnumerable<GaugeTickPosition> tickPositions = Enum.GetValues(typeof(GaugeTickPosition)).Cast<GaugeTickPosition>();
    GaugeTickPosition tickPosition = GaugeTickPosition.Outside;

    protected override async Task OnInitializedAsync()
        Report = new SalesReportV2(dbOptions);
        target = Report.Rep.Target;
        value = Report.TotalSales[0].Amount;

        AmountLeftToTarget = target - value;

        DateTime date = DateTime.Now;
        var firstDayOfMonth = new DateTime(date.Year, date.Month, 1);
        var lastDayOfMonth = firstDayOfMonth.AddMonths(1).AddDays(-1);
        workingDays = firstDayOfMonth.BusinessDaysUntil(lastDayOfMonth);
        avgDailySales = target / workingDays;
        avgDailySalesRemianing = AmountLeftToTarget / DateTime.Today.BusinessDaysUntil(lastDayOfMonth);


    class DataItem
        public string Quarter { get; set; }
        public double Revenue { get; set; }

    string FormatAsUSD(object value)
        return ((double)value).ToString("C0", CultureInfo.CreateSpecificCulture("en-US"));


I'm publishing with a self-contained kestrel app.
If you need more information that would help please let me know I'm new to this. and couldn't find a topic that helped.

Hi @carlw94,

The provided information is not sufficient. Please check our forum FAQ for tips how to improve your question by providing more details.

Hi @korchev
What that be enough information?

I am afraid not. The provided code uses unknown types - SalesReportV2. We need a runnable example.

It's just returning Double and Int of target and sales totals etc from the database.

We can't help unless we have a reproduction.

I found where the problem was coming from. How do I make the post inactive?

You can either delete it or share the problem/solution with the rest of the community.