Help for this page

Select Code to Download


  1. or download this
    (chart ((1 ((title title-1) (xlable X-lab) (ylable Y-lab) (description
    + desc1) (type line) (series ((1 ((x-data (1 2 3 4 5)) (y-data (20 90 
    +60 50 30))))))))))
    
  2. or download this
    [
      "chart",
    ...
        ],
      ],
    ]
    
  3. or download this
    {
      chart => {
    ...
            ylable      => "Y-lab",
          },
    }
    
  4. or download this
    use Data::Dump qw(dump);
    print "x_data: ", dump($keyed_list->{chart}->{series}->{"x-data"}), "\
    +n";
    ...
    # which outputs
    #x_data: [1, 2, 3, 4, 5]
    #y_data: [20, 90, 60, 50, 30]
    
  5. or download this
    package Data::SExpression::Special;
    
    ...
    # and then you got
    #x_data: [1, 2, 3, 4, 5]
    #y_data: [20, 90, 60, 50, 30]