Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am trying to create a dashed line chart but the lines remain solid in the plot area. Legend looks good. Any help would be appreciated. I am using sample stocks data here.
Below is my code
{
"config": {"view": {"continuousWidth": 400, "continuousHeight": 300}},
"data": {"name": "dataset"},
"mark": "line",
"encoding": {
"color": {"field": "symbol", "type": "nominal"},
"strokeDash": {"field": "symbol", "type": "nominal"},
"x": {"field": "date", "type": "temporal"},
"y": {"field": "price", "type": "quantitative"}
}
}
And below is what I am getting
This is what I am looking for
Solved! Go to Solution.
There is a setting in the Config that is providing a different default for the "line" mark. Delete this from the Config in the Deneb editor.
"line": {
"strokeWidth": 3,
"strokeCap": "round",
"strokeJoin": "round"
},
Pat
There is a setting in the Config that is providing a different default for the "line" mark. Delete this from the Config in the Deneb editor.
"line": {
"strokeWidth": 3,
"strokeCap": "round",
"strokeJoin": "round"
},
Pat
Thank You. It worked.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
2 | |
2 | |
2 | |
1 | |
1 |