mirror of
https://github.com/radzenhq/radzen-blazor.git
synced 2026-07-08 18:16:08 +00:00
Merge pull request #2608 from wimsoetens-cmd/feat/AddSeriesDataAttribute
Add the seriesindex as a data object on the label.
This commit is contained in:
@@ -111,7 +111,7 @@
|
|||||||
var position = new Point { X = x, Y = chip ? y + 1 : y };
|
var position = new Point { X = x, Y = chip ? y + 1 : y };
|
||||||
|
|
||||||
builder.AddContent(1,
|
builder.AddContent(1,
|
||||||
@<g class="rz-series-data-label-group" @key="@($"{label.Position}-{seriesIndex}")">
|
@<g class="rz-series-data-label-group" data-seriesindex="@seriesIndex" @key="@($"{label.Position}-{seriesIndex}")">
|
||||||
@if (chip)
|
@if (chip)
|
||||||
{
|
{
|
||||||
<rect class="rz-series-data-label-chip" x="@rectX.ToInvariantString()" y="@rectY.ToInvariantString()" width="@width.ToInvariantString()" height="@height.ToInvariantString()" rx="4" ry="4"></rect>
|
<rect class="rz-series-data-label-chip" x="@rectX.ToInvariantString()" y="@rectY.ToInvariantString()" width="@width.ToInvariantString()" height="@height.ToInvariantString()" rx="4" ry="4"></rect>
|
||||||
|
|||||||
Reference in New Issue
Block a user