@@ -373,56 +373,46 @@ class Events
373373 const std::string_view &categoryName,
374374 const std::string_view &categoryValue,
375375 const std::string &label,
376-
377376 const LegendProperties &properties)
378377 {
379378 return std::make_unique<CategoryInfo<Text<LegendChild>>>(
380379 categoryName,
381380 categoryValue,
382381 label,
383382 " label" ,
384-
385383 properties);
386384 }
387385
388386 static auto measLegendLabel (const std::string &label,
389-
390387 const LegendProperties &properties)
391388 {
392389 return std::make_unique<Text<LegendChild>>(label,
393390 " label" ,
394-
395391 properties);
396392 }
397393
398394 static auto legendTitle (const std::string &title,
399-
400395 const LegendProperties &properties)
401396 {
402397 return std::make_unique<Text<LegendChild>>(title,
403398 " title" ,
404-
405399 properties);
406400 }
407401
408402 static auto legendMarker (const std::string_view &categoryName,
409403 const std::string_view &categoryValue,
410-
411404 const LegendProperties &properties)
412405 {
413406 return std::make_unique<CategoryInfo<LegendChild>>(
414407 categoryName,
415408 categoryValue,
416409 " marker" ,
417-
418410 properties);
419411 }
420412
421413 static auto legendBar (const LegendProperties &properties)
422414 {
423- return std::make_unique<LegendChild>(" bar" ,
424-
425- properties);
415+ return std::make_unique<LegendChild>(" bar" , properties);
426416 }
427417
428418 static auto dimAxisLabel (const std::string_view &categoryName,
0 commit comments