Skip to main content
14-Alexandrite
April 15, 2024
Solved

legend not showing for line chart with multiple series

  • April 15, 2024
  • 1 reply
  • 751 views

Thingworx 9.0.4

 

I have a mashup that retrieves data via a service. The data is then bound to a contained mashup with the appropriate datashape for the mashup property. This mashup has a line chart and the mashup data property is bound to this line chart. The data is displayed without issue but the legend will not appear. I have ensured the "hide legend" checkbox is unchecked. When I did not have the contained mashup, I believe the legend was working.

JO_9930585_0-1713218556449.png

 

JO_9930585_1-1713218605743.png

 

Best answer by TonyZhang

Hi @JO_9930585 ,

Could you please make sure you manually configure the NumberOfSeries property, if only 1 series, set to 1.

and configure XAxisField, DataField with the corresponding column name?

TonyZhang_1-1718693561184.png

 

TonyZhang_0-1718693523614.png

If that doesn't resolve your issue, could you please try upgrading your ThingWorx to currently supported version like 9.4.x or 9.5.x?

Or please provide Entities and dummy data that can reproduce this issue here so that we can check bindings and other configurations in your mashup.

1 reply

TonyZhang16-PearlAnswer
16-Pearl
June 18, 2024

Hi @JO_9930585 ,

Could you please make sure you manually configure the NumberOfSeries property, if only 1 series, set to 1.

and configure XAxisField, DataField with the corresponding column name?

TonyZhang_1-1718693561184.png

 

TonyZhang_0-1718693523614.png

If that doesn't resolve your issue, could you please try upgrading your ThingWorx to currently supported version like 9.4.x or 9.5.x?

Or please provide Entities and dummy data that can reproduce this issue here so that we can check bindings and other configurations in your mashup.