scatter chart does not display dots wo hover

bhomass
2012-10-24
2013-05-28
  • bhomass
    bhomass
    2012-10-24

    I am using open-flash-chart.swf thru Sencha GXT 2.2.5

    I have a problem with the scatter chart where the dots don't display until I hover the mouse over the chart.

    The json which was sent to the flash client was

    {"title":{"text":"NewExplorer_Order_9441", "style":"font-size: 14px; font-family: Verdana; text-align: center;"},
    "y_axis":{"min":0, "max":24, "steps":2}, "legend":{"position":"top", "visible":true, "shadow":true, 
    "bg_colour":"#fefefe", "border":true}, "bg_colour":"#fefefe", "elements":[{"colour":"0000FF", 
    "values":[
    {"on-click":"ofc_onclick('extswfxauto632',0,0)", "value":1, "type":"point", "y":2.788, "x":2},
    {"on-click":"ofc_onclick('extswfxauto632',0,1)", "value":1, "type":"point", "y":0.7524, "x":3},
    {"on-click":"ofc_onclick('extswfxauto632',0,2)", "value":1, "type":"point", "y":4.3264, "x":4},
    {"on-click":"ofc_onclick('extswfxauto632',0,3)", "value":1, "type":"point", "y":21.23, "x":4},
    {"on-click":"ofc_onclick('extswfxauto632',0,4)", "value":1, "type":"point", "y":3.4914, "x":3},
    {"on-click":"ofc_onclick('extswfxauto632',0,5)", "value":1, "type":"point", "y":3.34, "x":3},
    {"on-click":"ofc_onclick('extswfxauto632',0,6)", "value":1, "type":"point", "y":3.682, "x":4},
    {"on-click":"ofc_onclick('extswfxauto632',0,7)", "value":1, "type":"point", "y":3.9032, "x":4}], "on-show":{"type":""}, "type":"scatter"}], "x_axis":{"labels":{"text":null, "labels":["2","3","4","4","3","3","4","4"]}}}
    {"title":{"text":"NewExplorer_Order_9441", "style":"font-size: 14px; font-family: Verdana; text-align: center;"}, 
    "y_axis":{"min":0, "max":1, "steps":0}, "legend":{"position":"top", "visible":true, "shadow":true, "bg_colour":"#fefefe", "border":true}, 
    "bg_colour":"#fefefe", "elements":[{"colour":"0000FF", 
    "values":[
    {"on-click":"ofc_onclick('extswfxauto632',0,0)", "value":1, "type":"point", "y":0.7524, "x":3}],
    "on-show":{"type":""}, "type":"scatter"}], "x_axis":{"labels":{"text":null, "labels":["3"]}}}
    

    any one sees anything wrong with it?

     
  • bhomass
    bhomass
    2012-10-24

    I accidentally added two sets of returned json. Please just look at the first set.