Hello Vinay,
       Thanks for the reply .I solved the problem as per sankar's reply
,however to display  labels I had to  use ColumnChart as
labelposition="outside" is ColumnChart property


Regards
Kalavati

On Wed, Aug 19, 2009 at 5:55 PM, Vinay <vinay...@gmail.com> wrote:

>
> var unknownChart:*;
>
> if(unKnownchart is LineChart){
>   // set LineChart properties
> }
> if(unknownChart is ColumnChart){
>  //set ColumnChart properties
> }
>
>
>
> On Aug 19, 9:12 am, kalavati singh <kalavati.si...@gmail.com> wrote:
> > Hi Sankar,
> >       Thanks for the reply  I  am able to  remove the error but not  the
> > labels are still not displaying.I am using multi series graphs in a Line
> > chart.
> >
> > Regards
> > Kalavati
> >
> > On Wed, Aug 19, 2009 at 12:36 AM, sankar swaroop <sankaras...@gmail.com
> >wrote:
> >
> >
> >
> >
> >
> > > Hi kalavathi,
> > > This is an error.
> > > You cannot use labelposition="outside" in line chart. This is column
> > > chart property.
> > > When u use this in column chart the label will be displayed on top of
> each
> > > bar.
> > > so u can use only labelPosition="callout" in line chart.
> >
> > > Thanks...
> >
> > > On Mon, Aug 17, 2009 at 11:17 PM, kalavati
> > > singh<kalavati.si...@gmail.com> wrote:
> > > > Hi,
> >
> > > >      I tried by  replacing  label function with labelposition="
> outside"
> > > &
> > > > labelFeild="id" in column series
> >
> > > >     I get en error
> >
> > > > TypeError: Error #1034: Type Coercion failed: cannot convert
> > > > mx.charts::linech...@583c5c1 to mx.charts.ColumnChart.
> > > >     at
> >
> > >
> mx.charts.series::ColumnSeries/updateTransform()[C:\work\flex\dmv_automatio­n\pr
> > > > ojects\datavisualisation\src\mx\charts\series\ColumnSeries.as:1295]
> > > >     at
> >
> > >
> mx.charts.chartClasses::Series/validateTransform()[C:\work\flex\dmv_automat­ion\
> > > > projects\datavisualisation\src\mx\charts\chartClasses\Series.as:1571]
> > > >     at
> >
> > >
> mx.charts.chartClasses::Series/updateDisplayList()[C:\work\flex\dmv_automat­ion\
> > > > projects\datavisualisation\src\mx\charts\chartClasses\Series.as:828]
> > > >     at
> >
> > >
> mx.charts.series::ColumnSeries/updateDisplayList()[C:\work\flex\dmv_automat­ion\
> > > > projects\datavisualisation\src\mx\charts\series\ColumnSeries.as:1354]
> > > >     at
> >
> > >
> mx.core::UIComponent/validateDisplayList()[C:\autobuild\3.2.0\frameworks\pr­ojec
> > > > ts\framework\src\mx\core\UIComponent.as:6351]
> > > >     at
> >
> > >
> mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.2.0\framewo­rks\
> > > > projects\framework\src\mx\managers\LayoutManager.as:622]
> > > >     at
> >
> > >
> mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frame­work
> > > > s\projects\framework\src\mx\managers\LayoutManager.as:677]
> > > >     at 
> > > > Function/http://adobe.com/AS3/2006/builtin::apply()<http://adobe.com/AS3/2006/builtin::apply%28%29>
> <http://adobe.com/AS3/2006/builtin::apply%28%29>
> > > >     at
> >
> > >
> mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\p­roje
> > > > cts\framework\src\mx\core\UIComponent.as:8628]
> > > >     at
> >
> > >
> mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\pr­ojec
> > > > ts\framework\src\mx\core\UIComponent.as:8568]
> >
> > > >    after googling for some time i donot know if its a bug or error
> >
> > > > Regards
> >
> > > > Kalavati- Hide quoted text -
> >
> > - Show quoted text -
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to