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 toughiee, Today, 12:04 AM
    0 responses
    2 views
    0 likes
    Last Post toughiee  
    Started by vdoan20, Yesterday, 08:30 PM
    0 responses
    7 views
    0 likes
    Last Post vdoan20
    by vdoan20
     
    Started by gupagoer, Yesterday, 07:42 PM
    0 responses
    9 views
    0 likes
    Last Post gupagoer  
    Started by Holligoly, Yesterday, 05:13 PM
    2 responses
    11 views
    0 likes
    Last Post Holligoly  
    Started by Raginpower, Yesterday, 01:53 PM
    0 responses
    14 views
    0 likes
    Last Post Raginpower  
    Working...
    X