Hi, what is the best way to define proper titles f...
# gooddata-ui
d
Hi, what is the best way to define proper titles for aggregations of measures? If I simply use for ex.
Md.SoldPieces.Sum
using the automatically generated model, I see an identifier in the tooltip and axis labels instead of a proper title. This only happens with GD.UI; if I open the GD site and create graphs with sums of measures, it displays "Sum of X" as expected. I figured out a solution by modifying the measure to add a title manually. Is that the expected solution, or am I missing something?
Copy code
const sum = modifySimpleMeasure(Md.SoldPieces.Sum, b => b.title("Sum of Sold Pieces"));
j
Hello Dan, I believe that using the modifySimpleMeasure is the expected solution. GD.UI comes as a more minimalistic JavaScript wrapper around our APIs, and does not seek parity in some of the more "fancy" stuff happening in Analytical Designer and KPI Dashboards.
1