You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blazor/chart/strip-line.md
+80Lines changed: 80 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -248,6 +248,86 @@ To create a stripline in a specific region with respect to a segment (segmented
248
248
```
249
249
{% previewsample "https://blazorplayground.syncfusion.com/embed/rNLqMVhHrJGZtGLh?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Chart With Segmented Stripline](../chart/images/strip-line/blazor-chart-segmented-stripline.png)" %}
250
250
251
+
## Stripline tooltip
252
+
253
+
To enable the stripline tooltip add **ChartStriplineTooltip** inside the target Stripline and set **Enable** property to **true**. Use **Header** and **Content** properties to customize the tooltip's content, adjust visual emphasis with **Fill** and **Opacity** properties and style the tooltip's text and border with **ChartStriplineTooltipTextStyle** and **ChartStriplineTooltipBorder** properties.
254
+
255
+
- Enable - Enables the stripline tooltip.
256
+
- Header - Sets the tooltip title text.
257
+
- Fill - Sets background color of the tooltip.
258
+
- Opacity - Sets transparency of the tooltip (0 to 1).
259
+
- Content - Template string for tooltip body content.
260
+
- ShowHeaderLine - Shows or hides the header separator line.
261
+
- ChartStriplineTooltipTextStyle - Configures the tooltip text (size, color, weight, family).
262
+
- ChartStriplineTooltipBorder - Configures the tooltip border (color, width).
new RevenuePoint { Quarter = "Q1", Revenue = 78 },
313
+
new RevenuePoint { Quarter = "Q2", Revenue = 88 },
314
+
new RevenuePoint { Quarter = "Q3", Revenue = 99 },
315
+
new RevenuePoint { Quarter = "Q4", Revenue = 92 }
316
+
};
317
+
318
+
public List<RevenuePoint> SupportData = new()
319
+
{
320
+
new RevenuePoint { Quarter = "Q1", Revenue = 70 },
321
+
new RevenuePoint { Quarter = "Q2", Revenue = 83 },
322
+
new RevenuePoint { Quarter = "Q3", Revenue = 90 },
323
+
new RevenuePoint { Quarter = "Q4", Revenue = 85 }
324
+
};
325
+
}
326
+
327
+
```
328
+
329
+

330
+
251
331
N> Refer to our [Blazor Charts](https://www.syncfusion.com/blazor-components/blazor-charts) feature tour page for its groundbreaking feature representations and also explore our [Blazor Chart Example](https://blazor.syncfusion.com/demos/chart/line?theme=bootstrap5) to know various chart types and how to represent time-dependent data, showing trends at equal intervals.
0 commit comments