Jump to content
Software FX Community

How to hide Y axis labels?


User (Legacy)

Recommended Posts

Anybody know how to hide Y axis labels? Basically what I'm trying to do is

create 2 charts of the same data. One chart will be small and act as a

thumbnail while the other will be a large one that you can zoom in too. The

small one will have ONLY the line chart with no Y or X axis labeling. Anyone

know the syntax to do that in cold fusion?

On a seperate note, I assume there is not way to create one chart that can

display in thumbtack mode versus full picture mode, eh?

Thanks.

Link to comment
Share on other sites

Playing with Designer, it looks like I have figured out to to not display

the X and Y axis labels, BUT what remains is a lot of blank space where

those labels should be. The graph itself is not filling up the entire box.

Any ideas on how to get the chart to fill up the entire box?

"Joe Ambrose" <joe-a@vips.com> wrote in message

news:RRCM0pPACHA.1088@webserver1.softwarefx.com...

> Anybody know how to hide Y axis labels? Basically what I'm trying to do is

> create 2 charts of the same data. One chart will be small and act as a

> thumbnail while the other will be a large one that you can zoom in too.

The

> small one will have ONLY the line chart with no Y or X axis labeling.

Anyone

> know the syntax to do that in cold fusion?

>

> On a seperate note, I assume there is not way to create one chart that can

> display in thumbtack mode versus full picture mode, eh?

>

> Thanks.

>

>

>

Link to comment
Share on other sites

You can use the LeftGap, TopGap, RightGap and BottomGap properties to

specify the gaps between the chart border and the "display" area.

--

Regards

JC

Software FX Support

"Joe Ambrose" <joe-a@vips.com> wrote in message

news:ir844ZQACHA.1088@webserver1.softwarefx.com...

> Playing with Designer, it looks like I have figured out to to not display

> the X and Y axis labels, BUT what remains is a lot of blank space where

> those labels should be. The graph itself is not filling up the entire box.

> Any ideas on how to get the chart to fill up the entire box?

>

> "Joe Ambrose" <joe-a@vips.com> wrote in message

> news:RRCM0pPACHA.1088@webserver1.softwarefx.com...

> > Anybody know how to hide Y axis labels? Basically what I'm trying to do

is

> > create 2 charts of the same data. One chart will be small and act as a

> > thumbnail while the other will be a large one that you can zoom in too.

> The

> > small one will have ONLY the line chart with no Y or X axis labeling.

> Anyone

> > know the syntax to do that in cold fusion?

> >

> > On a seperate note, I assume there is not way to create one chart that

can

> > display in thumbtack mode versus full picture mode, eh?

> >

> > Thanks.

> >

> >

> >

>

>

Link to comment
Share on other sites

Even when specifying all 4 gaps to ZERO, I get a left gap and and bottom gap

where the 'invisible' labels are... How do I get rid of those gaps when

hiding the labels?

I am using Cold Fusion 5.0 with ChartFXIE 5.5

Here is a sample of the code I'm using, any ideas why those gaps still

exist?

<CFOBJECT ACTION="Create" NAME="Chart1a" CLASS="ChartFX.WebServer">

<CFSET Chart1a.UserAgent = #HTTP_USER_AGENT#>

<!-- General Settings -->

<CFSET Chart1a.TypeMask = 109576193>

<CFSET Chart1a.Style = -8388610>

<CFSET Chart1a.LeftGap = 0>

<CFSET Chart1a.RightGap = 0>

<CFSET Chart1a.TopGap = 0>

<CFSET Chart1a.BottomGap = 0>

<CFSET Chart1a.MarkerShape = 4>

<!-- Axis Settings -->

<CFSET Chart1aAxis = Chart1a.Axis>

<CFSET Chart1aAxis0 = Chart1a.GetArrayProp("Item",0,Chart1aAxis)>

<CFSET Chart1aAxis0.Style = 14377>

<CFSET Chart1aAxis0.TickMark = -32767>

<CFSET Chart1aAxis2 = Chart1a.GetArrayProp("Item",2,Chart1aAxis)>

<CFSET Chart1aAxis2.Style = 14440>

<!-- Data Settings -->

<CFSET Chart1a.OpenDataEx(1,1,5)>

<cfloop index="RowCounter" from="1" to="5">

<CFSET Chart1a.SetArrayProp("Value",#evaluate(RowCounter -

1)#,RandRange(1000000,10000000))>

</cfloop>

<CFSET Chart1a.CloseData(1)>

<CFOUTPUT> # Chart1a.GetHtmlTag(201,135,"Image","Chart1a") # </CFOUTPUT>

"Software FX Support" <support@softwarefx.com> wrote in message

news:TyGaQmQACHA.1088@webserver1.softwarefx.com...

> You can use the LeftGap, TopGap, RightGap and BottomGap properties to

> specify the gaps between the chart border and the "display" area.

>

> --

> Regards

>

> JC

> Software FX Support

>

> "Joe Ambrose" <joe-a@vips.com> wrote in message

> news:ir844ZQACHA.1088@webserver1.softwarefx.com...

> > Playing with Designer, it looks like I have figured out to to not

display

> > the X and Y axis labels, BUT what remains is a lot of blank space where

> > those labels should be. The graph itself is not filling up the entire

box.

> > Any ideas on how to get the chart to fill up the entire box?

> >

> > "Joe Ambrose" <joe-a@vips.com> wrote in message

> > news:RRCM0pPACHA.1088@webserver1.softwarefx.com...

> > > Anybody know how to hide Y axis labels? Basically what I'm trying to

do

> is

> > > create 2 charts of the same data. One chart will be small and act as a

> > > thumbnail while the other will be a large one that you can zoom in

too.

> > The

> > > small one will have ONLY the line chart with no Y or X axis labeling.

> > Anyone

> > > know the syntax to do that in cold fusion?

> > >

> > > On a seperate note, I assume there is not way to create one chart that

> can

> > > display in thumbtack mode versus full picture mode, eh?

> > >

> > > Thanks.

> > >

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...