Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
SteveOstroff
New Member

PlotlyJS Visual - Replace "trace o", "trace 1" with line parameter name

I have been looking at different visuals for complex line charts and settled on the relatively new PlotlyJS visual from Appsource.  It provides the flexibility I am looking for to show multiple likes and splits and aggregations where the basic Power BI charts cannot hand multiple lines with Legend in the same chart.

The interface allows the trace to be defined as follows.

SteveOstroff_0-1674164707320.png

where time is on the x-axis and Power is on the Y axis.  In the table, the power is representative of multiple entities that are indicated in the unitinSystem value so there is a Transform associated with the line (trace 0) as

SteveOstroff_1-1674164833924.png

In terms of data presentation, the data is there and looks as follows:

SteveOstroff_2-1674164985341.png

Now, when I do the same for a chart wherein there are multiple lines, for example.

SteveOstroff_3-1674165103530.png

... and with a Transform and Filter applied to the data...

SteveOstroff_4-1674165177305.png

 

The resulting graph shows the line as:

SteveOstroff_5-1674165255989.png

The primary problem is that I want to replace "trace 0" with HPolDL_AGCCap and "trace 1" with HPolDLOscGain which are more meaningful to the audience without having to look at the graph construction.

 

Any help is appreciated.

 

1 REPLY 1
Ilfat
Regular Visitor

Hello, 

 

Unfortunately the feature doesn't work properly with X axis. I will include the fix to the next version of the visual.

Thanks for question/idea.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors