Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ChartStyle wizard causes exception

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    ChartStyle wizard causes exception

    The following ChartStyle wizard use causes an exception:

    * 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
    Code:
    ChartStyleType = (ChartStyleType) 4123000;
    * compile
    * 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.

    #2
    Hello Aslane,

    I can see this as well on my end reporting the error : Value was either too large or too small for an Int16.

    I have reported this to development thank you for catching this.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by alrafer, Today, 05:39 AM
    0 responses
    1 view
    0 likes
    Last Post alrafer
    by alrafer
     
    Started by varun12343, Today, 03:09 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Marco  
    Started by Lance El Camino, Yesterday, 04:14 PM
    2 responses
    27 views
    0 likes
    Last Post NT-Roland  
    Started by MatthewLesko, Yesterday, 11:13 PM
    1 response
    15 views
    0 likes
    Last Post NT-Roland  
    Started by kevinenergy, Today, 01:44 AM
    0 responses
    8 views
    0 likes
    Last Post kevinenergy  
    Working...
    X