jquery - remove labels in flot -


enter image description herei have 2 same graph.i want remove label second 1 not required. below code input:

var d =                  [                      {                          "label": "absolute return", "data": [[18, 40], [19, 20], [20, 100], [21, 100], [22, 100],                            [23, 100], [24, 100], [25, 100], [26, 100], [27, 100], [28, 100], [29, 100], [30, 100],                            [31, 50], [32, 40], [33, 60], [34, 70], [35, 40], [36, 100], [37, 100], [38, 100],                            [39, 100], [40, 100], [41, 100], [42, 100], [43, 100], [44, 100], [45, 100], [46, 100], [47, 100]], "color": "#395a85"                      }, {                          "label": "emerging markets equity (mgi)", "data": [[18, 30], [19, 20], [20, 0], [21, 0],                              [22, 0], [23, 0], [24, 0], [25, 0], [26, 0], [27, 0], [28, 0], [29, 0],                              [30, 0], [31, 50], [32, 20], [33, 0], [34, 0], [35, 0], [36, 0], [37, 0],                              [38, 0], [39, 0], [40, 0], [41, 0], [42, 0], [43, 0], [44, 0], [45, 0],                              [46, 0], [47, 0]], "color": "#6eaa38"                      }, {                          "label": "active global equity (mgi) hedged version", "data": [[18, 30], [19, 80], [20, 0], [21, 0], [22, 0],                              [23, 0], [24, 0], [25, 0], [26, 0], [27, 0], [28, 0], [29, 0], [30, 0], [31, 0], [32, 20], [33, 20], [34, 40],                              [35, 0], [36, 0], [37, 0], [38, 0], [39, 0], [40, 0], [41, 0], [42, 0], [43, 0], [44, 0], [45, 0], [46, 0], [47, 0]], "color": "#00a8c8"                      }]; 

in scree shot there 3 labels. not want label in second graph. there specific property that?

add options second chart:

    legend: {         show: false        }, 

see updated fiddle.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -