I am having heartburn getting Chart Titles to properly update for Calendar Heat Charts and Clock Charts.
The application (Pro 2.7) iterates through all of the charts of a feature class. I have tracked the values through debugging and can see the title property is correctly defined. However, any Calendar Chart or Clock Chart do not honor the new title. Line Charts and Bar Charts work with no grief.
If I close the Calendar or Clock Chart pane and reopen it, it does then carry the correct title.
Here is the routine that I am using:
await QueuedTask.Run(() =>
{
var layd2 = SelectedCubeAnalysisLayer.GetDefinition();
if (layd2.Charts != null)
{
int i = 0;
foreach (var item in layd2.Charts)
{
string strMeasMethod = ReturnMeasMethod();
string strMeasType = ReturnMeasType();
string strCharType = ReturnChartTypeFromName(item.Name);
string strChartName = item.Name;
CIMChart theUniversalChart = (CIMChart)item;
CIMChartGeneralProperties CIMUniversalChartProps = theUniversalChart.GeneralProperties;
string strWatershedName = RetrieveWaterShedName();
CIMUniversalChartProps.Title = strWatershedName + " " + strMeasType + " " + strMeasMethod + " " + MinDate.Replace("12:00:00 PM","") + " to " + MaxDate.Replace("12:00:00 PM", "") + " " + strFilterMessage + strCharType;
CIMUniversalChartProps.SubTitle = "SubTitle";
CIMUniversalChartProps.ShowSubTitle = true;
theUniversalChart.GeneralProperties = CIMUniversalChartProps;
layd2.Charts[i] = theUniversalChart;
SelectedCubeAnalysisLayer.SetDefinition(layd2);
i++;
}
}
});
I have included some screen shots from Visual Studio that shows the values correctly populated for each chart Note the Title property value references the same dates ( 12-28-2019 to 1/3/2020 )
chart type. 


The following screen shots show the results from Pro of the Charts. The Bar Chart and the Line chart title contains the correct dates. The Calendar chart does not show the correct dates.
Bar Chart Result
Line Chart Result
Calendar Chart Result
Not sure why Calendar and Clock don't like having their title changed.
Any insight would be appreciated.
Cheers