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

euro numbernotation and pie chart

Expand Messages
  • sjacobs81
    Ploticus does ignore the euro numbernotation along with a pie chart. It sill displays the percentage labels with dots instead of commas. Is this a bug? This is
    Message 1 of 2 , May 5, 2003
    • 0 Attachment
      Ploticus does ignore the euro numbernotation along with a pie chart.
      It sill displays the percentage labels with dots instead of commas. Is
      this a bug? This is the template I am using:

      #setifnotgiven delim = ""

      #include $chunk_read.chunk

      #musthave data

      #proc settings
      numbernotation: euro

      #proc pie
      center: 4 4
      radius: 1.2
      labelfield: 1
      datafield: 2
      labelfarout: 1.3
      labelmode: labelonly
      colors: rgb(1,0,0) rgb(0.796,0.609,0.796) rgb(0,0,1) rgb(0,0.5,0.5)
      rgb(1,1,0.597) rgb(0.41,1,1)
      outlinedetails: color=black
      pctformat: %.1f
      firstslice: 270
      textdetails: size=8 style=B
    • Stephen C. Grubb
      This is a bug. Here s the fix (proc_pie.c line ~260): 251 /* labeling */ /* if doing legend, handle this during j == 0 because .. 252 otherwise do labeling
      Message 2 of 2 , May 5, 2003
      • 0 Attachment
        This is a bug.

        Here's the fix (proc_pie.c line ~260):

        251 /* labeling */ /* if doing legend, handle this during j == 0 because ..
        252 otherwise do labeling during j == 1 to avoid color fill.. */
        253 if( ( j == 0 && ilabmode == LEGEND ) || ( j == 1 && ilabmode != 0 ) ) {
        254 strcpy( label, "" );
        255 if( lblfld >= 0 ) strcpy( label, da( irow, lblfld ) );
        256 else if( lbltextgiven ) GL_getseg( label, PL_bigbuf, &ibb, "\n" );
        257
        258 sprintf( pctstr, pctfmt, (atof( da( irow, df ) ) / total)*100.0 );
        259
        260 if( PLS.bignumspacer ) rewritenums( pctstr ); /* added 4/5/03 */
        261
        262 GL_varsub( label, "@PCT", pctstr );
        263 convertnl( label );

        Fix will be present in next release.

        Thanks for finding this problem.



        On Mon, 5 May 2003, sjacobs81 wrote:

        > Ploticus does ignore the euro numbernotation along with a pie chart.
        > It sill displays the percentage labels with dots instead of commas. Is
        > this a bug? This is the template I am using:
        >
        > #setifnotgiven delim = ""
        >
        > #include $chunk_read.chunk
        >
        > #musthave data
        >
        > #proc settings
        > numbernotation: euro
        >
        > #proc pie
        > center: 4 4
        > radius: 1.2
        > labelfield: 1
        > datafield: 2
        > labelfarout: 1.3
        > labelmode: labelonly
        > colors: rgb(1,0,0) rgb(0.796,0.609,0.796) rgb(0,0,1) rgb(0,0.5,0.5)
        > rgb(1,1,0.597) rgb(0.41,1,1)
        > outlinedetails: color=black
        > pctformat: %.1f
        > firstslice: 270
        > textdetails: size=8 style=B
        >
        >
        >
        > To unsubscribe from this group, send an email to:
        > ploticus-unsubscribe@yahoogroups.com
        >
        >
        >
        > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
        >
        >
        >


        Stephen C. Grubb scg@...
        Scientific Software Engineer, The Jackson Laboratory
        600 Main Street Bar Harbor, Maine 04609 USA
      Your message has been successfully submitted and would be delivered to recipients shortly.