This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is now in read-only for platform upgrade. Learn more
Hello
I am not able to get a Symbol rendered. Text and lines are working fine. Now I am wonder what I am doing wrong.
Text I am showing with:
his.textPY = this.container.append("text")
.classed("textPY", true);
this.textPY
.text("PY")
.attr("x", "2%")
.attr("y", "94%")
.attr("text-anchor", "begin")
.style("font-size", fontSizeDiff + "px")
.style("fill", "black")
.attr("font-family", "Arial")
.attr("font-weight", 250);
The Symbol I am trying with:
this.Arrow1 = this.container.append("symbol")
.classed("Arrow1", true);
var sym = d3.symbol().type(d3.symbolCross).size(500);
this.Arrow1
.append("path")
.attr("d", sym)
.attr("fill", "green")
.attr("transform", "translate(50,50)");
But nothing is showing up.
Has anyone an idea?
Thanks
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |