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

Re: Chart set() problem

Expand Messages
  • tntnashtm123
    ... Thanks very much. Tim
    Message 1 of 3 , Feb 2, 2008
    • 0 Attachment
      --- In ydn-javascript@yahoogroups.com, "Josh Tynjala" <jtynjala@...>
      wrote:
      >
      > You need to wait for the contentReady event before setting attributes on
      > the chart.
      >
      > Josh Tynjala
      > Yahoo! Flash Platform
      >
      >
      >
      > ________________________________
      >
      > From: ydn-javascript@yahoogroups.com
      > [mailto:ydn-javascript@yahoogroups.com] On Behalf Of tntnashtm123
      > Sent: Thursday, January 31, 2008 10:27 PM
      > To: ydn-javascript@yahoogroups.com
      > Subject: [ydn-javascript] Chart set() problem
      >
      >
      >
      > Hi
      >
      > Am I overlooking something obvious as set() not working for me.
      >
      > var yAxis = new YAHOO.widget.NumericAxis();
      > yAxis.alwaysShowZero = true;
      > panelId = panelId+"_c";
      > var mychart = new YAHOO.widget.LineChart(panelId, xmlData,
      > {
      > xField: "Name",
      > series: seriesDef
      > //yAxis: yAxis
      > });
      >
      > mychart.set("yAxis", yAxis );
      > mychart.set("request", "yyyyy");
      > return mychart;
      >
      > thanks
      > Tim
      >

      Thanks very much.

      Tim
    Your message has been successfully submitted and would be delivered to recipients shortly.