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 alifarahani, Today, 09:40 AM
    3 responses
    15 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by RookieTrader, Today, 09:37 AM
    4 responses
    18 views
    0 likes
    Last Post RookieTrader  
    Started by PaulMohn, Today, 12:36 PM
    0 responses
    5 views
    0 likes
    Last Post PaulMohn  
    Started by love2code2trade, 04-17-2024, 01:45 PM
    4 responses
    40 views
    0 likes
    Last Post love2code2trade  
    Started by junkone, Today, 11:37 AM
    3 responses
    26 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X