* start with clean set of ChartStyles (no customs)
* create new chart style with all defaults in wizard (will be named MyCustomChartStyle)
* in editor change the MyCustomChartStyle ChartStyleType to a value of 4123000
ChartStyleType = (ChartStyleType) 4123000;
* everything ok at this point
* use wizard to create another new chart style, again with all defaults in wizard
When you click finish in the wizard, an exception is generated:
"Unhandled exception: Value was either too large or too small for an Int16."
The issue seems to be having a custom chart style with a larger ChartStyleType value. The value above is fine according to the doc, which says you can use values up to 2,147,483,647. So either the doc is wrong, or more likely the wizard has a bug in that it is using an Int16 instead of Int32.
Comment