chart maps in 3.0

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

chart maps in 3.0

Doug Young

Hi,

  I have been playing with charts in 3.0 and I can not get the maps to work.

The map is generated and contains areas but the areas not have the title attributes as suggested by the documentation.

I also noticed that the charts on the examples web page on www.orbeon.com do not show any text when the mouse is hovered over parts of the graph.

 

I ran the Charts & graphs (xforms NG) example on my local machine and added a debug to the output of the chart processor in the model.xpl file, I got

 

<chart-info>

    <file>jfreechart-60178.png</file>

    <map name="fruits">

        <area shape="RECT" coords="207,355,248,371"/>

        <area shape="RECT" coords="248,355,292,371"/>

        <area shape="POLY" coords="71,308,103,308,103,322,71,322,71,308,71,308"/>

        <area shape="POLY" coords="148,308,187,308,187,322,148,322,148,308,148,308"/>

        <area shape="POLY" coords="230,308,271,308,271,322,230,322,230,308,230,308"/>

        <area shape="POLY" coords="322,308,354,308,354,322,322,322,322,308,322,308"/>

        <area shape="POLY" coords="412,308,438,308,438,322,412,322,412,308,412,308"/>

        <area shape="RECT" coords="72,62,98,304"/>

        <area shape="RECT" coords="107,38,133,304"/>

        <area shape="RECT" coords="156,86,182,303"/>

        <area shape="RECT" coords="191,110,217,303"/>

        <area shape="RECT" coords="240,110,266,303"/>

        <area shape="RECT" coords="275,159,301,304"/>

        <area shape="RECT" coords="324,134,350,303"/>

        <area shape="RECT" coords="359,62,385,304"/>

        <area shape="RECT" coords="408,159,434,304"/>

        <area shape="RECT" coords="443,207,469,303"/>

    </map>

</chart-info>

 

any ideas ?

 

    Doug Young



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

Doug Young.vcf (471 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: chart maps in 3.0

Erik Bruchez
Administrator
It looks like not all chart types generate the correct information. For
example, 3D pies do generate the correct title information which shows
on mouseover. I am not sure if this is a bug of JFreeChart or OPS.

-Erik

Doug Young wrote:

> Hi,
>
>   I have been playing with charts in 3.0 and I can not get the maps to
> work.
>
> The map is generated and contains areas but the areas not have the title
> attributes as suggested by the documentation.
>
> I also noticed that the charts on the examples web page on
> www.orbeon.com <http://www.orbeon.com/> do not show any text when the
> mouse is hovered over parts of the graph.
>
>  
>
> I ran the Charts & graphs (xforms NG) example on my local machine and
> added a debug to the output of the chart processor in the model.xpl
> file, I got
>
>  
>
> <chart-info>
>
>     <file>jfreechart-60178.png</file>
>
>     <map name="fruits">
>
>         <area shape="RECT" coords="207,355,248,371"/>
>
>         <area shape="RECT" coords="248,355,292,371"/>
>
>         <area shape="POLY"
> coords="71,308,103,308,103,322,71,322,71,308,71,308"/>
>
>         <area shape="POLY"
> coords="148,308,187,308,187,322,148,322,148,308,148,308"/>
>
>         <area shape="POLY"
> coords="230,308,271,308,271,322,230,322,230,308,230,308"/>
>
>         <area shape="POLY"
> coords="322,308,354,308,354,322,322,322,322,308,322,308"/>
>
>         <area shape="POLY"
> coords="412,308,438,308,438,322,412,322,412,308,412,308"/>
>
>         <area shape="RECT" coords="72,62,98,304"/>
>
>         <area shape="RECT" coords="107,38,133,304"/>
>
>         <area shape="RECT" coords="156,86,182,303"/>
>
>         <area shape="RECT" coords="191,110,217,303"/>
>
>         <area shape="RECT" coords="240,110,266,303"/>
>
>         <area shape="RECT" coords="275,159,301,304"/>
>
>         <area shape="RECT" coords="324,134,350,303"/>
>
>         <area shape="RECT" coords="359,62,385,304"/>
>
>         <area shape="RECT" coords="408,159,434,304"/>
>
>         <area shape="RECT" coords="443,207,469,303"/>
>
>     </map>
>
> </chart-info>
>
>  
>
> any ideas ?
>
>  
>
>     Doug Young
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws