Loading ...
Sorry, an error occurred while loading the content.

how to customize the line & point of chart

Expand Messages
  • huu2uan
    i want customize size of line,point on LineChart type. example, i have many data in a chart, and i want size of line,point smaller (clean to see) please help
    Message 1 of 6 , Dec 26, 2007
    • 0 Attachment
      i want customize size of line,point on LineChart type.
      example, i have many data in a chart, and i want size of line,point
      smaller (clean to see)

      please help me
      thanks!
    • huu2uan
      anyone help me?
      Message 2 of 6 , Dec 26, 2007
      • 0 Attachment
        anyone help me?
      • Josh Tynjala
        Please take a look at the YUI Charts skinning example, which shows you how to customize the size of markers in a series. The example shows you how to set the
        Message 3 of 6 , Dec 28, 2007
        • 0 Attachment

          Please take a look at the YUI Charts skinning example, which shows you how to customize the size of markers in a series. The example shows you how to set the “size” style for a series in a ColumnChart, but it will work for a LineChart too.

           

          http://developer.yahoo.com/yui/examples/charts/charts-skins.html

           

          It appears that the line size has not been exposed as a style. I’ll make sure that gets fixed in an upcoming release.

           

          Josh Tynjala

          Yahoo! Flash Platform

           


          From: ydn-javascript@yahoogroups.com [mailto: ydn-javascript@yahoogroups.com ] On Behalf Of huu2uan
          Sent: Wednesday, December 26, 2007 6:07 AM
          To: ydn-javascript@yahoogroups.com
          Subject: [ydn-javascript] how to customize the line & point of chart

           

          i want customize size of line,point on LineChart type.
          example, i have many data in a chart, and i want size of line,point
          smaller (clean to see)

          please help me
          thanks!

        • huu2uan
          thanks for support
          Message 4 of 6 , Dec 28, 2007
          • 0 Attachment
            thanks for support
          • huu2uan
            i add style in code of lineChart example like : var seriesDef = [ { displayName: Rent , yField: rent , style: { size: 1 } }, { displayName: Utilities ,
            Message 5 of 6 , Dec 29, 2007
            • 0 Attachment
              i add style in code of lineChart example like :

              var seriesDef =
              [
              {
              displayName: "Rent",
              yField: "rent",
              style:
              {
              size: 1
              }
              },
              {
              displayName: "Utilities",
              yField: "utilities",
              style:
              {
              size: 1
              }
              }
              ];

              but only point is smaller, nothing change with line
              how to customize line
            • huu2uan
              anyone help me,please!
              Message 6 of 6 , Jan 1, 2008
              • 0 Attachment
                anyone help me,please!
              Your message has been successfully submitted and would be delivered to recipients shortly.