When creating custom widgets is there a way to change the text at the top where is says " My Custom Widget"
Hey @dblackmon
The “My Custom Widget” text is the default title shown when a report widget doesn’t define its own default title. To change it, define a title property with a default value in your widget’s defineProperties() method:
public function defineProperties()
{
return [
'title' => [
'title' => 'Widget title',
'default' => 'Traffic Sources',
'type' => 'string',
],
// ... other properties
];
}
The default value is what appears in the widget header. Once the widget is on the dashboard, users can also change the title through the widget’s Inspector (right-click the widget to configure it).
You can find more details in the Report Widget Properties section of the documentation.