[Razor] How to add Chart in Panel

  1. #1

    [Razor] How to add Chart in Panel

    I use this code to add Chart in Panel:
    @(Html.X().Window().Title("Speed Report(Line Chart)").Layout(LayoutType.Fit).Width(1000).Height(500).Hidden(true).ID("ParkReportWindow").Add(
            Html.X().Panel().Add(Html.X().Chart()) 
        )
    )
    But after i use it, my Page is white and not display anything.
  2. #2
    - your window is hidden
    - chart has no store
    - need use Items instead Add

Similar Threads

  1. [Razor] Porting the Bar Chart Sample
    By Stijn in forum 2.x Help
    Replies: 1
    Last Post: Nov 26, 2012, 11:48 AM
  2. [CLOSED] Problem to draw a chart into a panel
    By feanor91 in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: May 23, 2012, 11:01 AM
  3. [RAZOR] How to add tips to chart
    By Natalie in forum 2.x Help
    Replies: 0
    Last Post: May 15, 2012, 3:20 PM
  4. [CLOSED] [Razor] Setup Auto load panel in razor
    By UnifyEducation in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 27, 2012, 10:54 AM
  5. [CLOSED] Chart ReRender after Panel Resize
    By ljankowski in forum 1.x Legacy Premium Help
    Replies: 23
    Last Post: Jan 12, 2012, 4:09 PM

Posting Permissions