Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Blazor Radzen Sparkline Area Chart - Remove extra space on both sides around the actual graph

$
0
0

I am trying to use Radzen to build KPI Cards that would show a sparkline chart within this card.When doing so, I am facing an extra space around the tag under the tag.

enter image description here

As you can see on the image above, the yellow border applies to the chart itself. and within the Chart, we can see an extra space that is not trivial (for me) to remove.

The code I use is pretty simple and looks like this :

<RadzenSparkline Style="height: max-content; width: 100%; padding:0px; margin:0px; border: 1px solid yellow; "><RadzenAreaSeries Smooth="true"                      Data="@DataProvider.Data"                      ValueProperty="DataPoint"                      CategoryProperty="DateAsString"                      Stroke="white"                      StrokeWidth="1"                      Fill="rgba(255, 255, 255, 0.2)"                      LineType="LineType.Solid"></RadzenAreaSeries></RadzenSparkline>

Is there a simple way to remove this extra space?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>