Software FX Posted June 6, 2006 Report Share Posted June 6, 2006 Hello: I want to ask you a some question is about ChartFx. Can you tell me ? I wondering how to do it? My Question: -------------------------------------------------------- 1.How to achieve?Image perspective can continue to regulate? -------------------------------------------------------- please check my attachment description!!! Thanks. -------------------------------------------------------- attachment: ChartFx Issue.xls -------------------------------------------------------- Link to comment Share on other sites More sharing options...
Software FX Posted June 6, 2006 Author Report Share Posted June 6, 2006 I'm not really sure if you are asking about the positioning of the labels or the rotation of the pie, but thise code sample will produce a pie that looks very similar: ChartServer chart1 = new ChartServer(application,request,response); chart1.setGallery(Gallery.PIE); chart1.openData(COD.VALUES, 1, 3); chart1.getValue().setItem(0, 0, 20); chart1.getValue().setItem(0, 1, 45); chart1.getValue().setItem(0, 2, 30); chart1.closeData(COD.VALUES); chart1.setPointLabels(true); Pie myPie = (Pie)chart1.getGalleryObj(); myPie.setLabelsInside(false); myPie.setShowLines(false); chart1.setView3D(true); chart1.setAngleX(70); The image is attached. "news.softwarefx.com" <xlfei@unicomsys.net> wrote in message news:DROy1ZViGHA.1560@webserver3.softwarefx.com... > Hello: > > I want to ask you a some question is about ChartFx. > Can you tell me ? I wondering how to do it? > > My Question: > -------------------------------------------------------- > > 1.How to achieve?Image perspective can continue to regulate? > > -------------------------------------------------------- > please check my attachment description!!! > > Thanks. > -------------------------------------------------------- > attachment: ChartFx Issue.xls > -------------------------------------------------------- > > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted June 7, 2006 Report Share Posted June 7, 2006 Dear SoftwareFX Support Member: I'm Sorry,Perhaps I did not express clearly,My question is Not show percentage Only show text labels,Can do it? I still have a problem to want to ask.My Problem as follows: My Question: --------------------------------------------------------------- 1.Not show percentage Only show text labels,Can do it? 2.Multi-point line chart and single point scatter chart,Can together show? --------------------------------------------------------------- please check my attachment image!!! Thanks. ---------------------------------------------------------------- attachment: clip_image001.gif | clip_image002.gif ---------------------------------------------------------------- "SoftwareFX Support" <noreply> wrote in message news:GSbhDFbiGHA.1644@webserver3.softwarefx.com... > I'm not really sure if you are asking about the positioning of the labels or > the rotation of the pie, but thise code sample will produce a pie that looks > very similar: > > ChartServer chart1 = new ChartServer(application,request,response); > > chart1.setGallery(Gallery.PIE); > > chart1.openData(COD.VALUES, 1, 3); > chart1.getValue().setItem(0, 0, 20); > chart1.getValue().setItem(0, 1, 45); > chart1.getValue().setItem(0, 2, 30); > chart1.closeData(COD.VALUES); > > chart1.setPointLabels(true); > Pie myPie = (Pie)chart1.getGalleryObj(); > myPie.setLabelsInside(false); > myPie.setShowLines(false); > > chart1.setView3D(true); > chart1.setAngleX(70); > > The image is attached. > > > "news.softwarefx.com" <xlfei@unicomsys.net> wrote in message > news:DROy1ZViGHA.1560@webserver3.softwarefx.com... > > Hello: > > > > I want to ask you a some question is about ChartFx. > > Can you tell me ? I wondering how to do it? > > > > My Question: > > -------------------------------------------------------- > > > > 1.How to achieve?Image perspective can continue to regulate? > > > > -------------------------------------------------------- > > please check my attachment description!!! > > > > Thanks. > > -------------------------------------------------------- > > attachment: ChartFx Issue.xls > > -------------------------------------------------------- Link to comment Share on other sites More sharing options...
Software FX Posted June 7, 2006 Author Report Share Posted June 7, 2006 Thanks for clarifying. 1) Add these code lines to the previous sample to show your labels in the pie chart: chart1.setPointLabelMask("%l"); chart1.getLegend().setItem(0,"Label0"); chart1.getLegend().setItem(1,"Label1"); chart1.getLegend().setItem(2,"Label2"); 2) Yes you can combine line and scatter charts, but keep in mine that all series must have the same number of points, so you need to fill up the scatter series with hidden points (Chart.HIDDEN). You may be better of using Annotations for the single point. Take a look to the Annotation samples for more detail. "Vent" <hxzhang@unicomsys.net> wrote in message news:p9zMOAgiGHA.1200@webserver3.softwarefx.com... > Dear SoftwareFX Support Member: > > I'm Sorry,Perhaps I did not express clearly,My question is Not show > percentage Only show text labels,Can do it? > > I still have a problem to want to ask.My Problem as follows: > > My Question: > --------------------------------------------------------------- > 1.Not show percentage Only show text labels,Can do it? > > 2.Multi-point line chart and single point scatter chart,Can together > show? > --------------------------------------------------------------- > please check my attachment image!!! > Thanks. > ---------------------------------------------------------------- > attachment: clip_image001.gif | clip_image002.gif > ---------------------------------------------------------------- > > "SoftwareFX Support" <noreply> wrote in message > news:GSbhDFbiGHA.1644@webserver3.softwarefx.com... >> I'm not really sure if you are asking about the positioning of the labels > or >> the rotation of the pie, but thise code sample will produce a pie that > looks >> very similar: >> >> ChartServer chart1 = new ChartServer(application,request,response); >> >> chart1.setGallery(Gallery.PIE); >> >> chart1.openData(COD.VALUES, 1, 3); >> chart1.getValue().setItem(0, 0, 20); >> chart1.getValue().setItem(0, 1, 45); >> chart1.getValue().setItem(0, 2, 30); >> chart1.closeData(COD.VALUES); >> >> chart1.setPointLabels(true); >> Pie myPie = (Pie)chart1.getGalleryObj(); >> myPie.setLabelsInside(false); >> myPie.setShowLines(false); >> >> chart1.setView3D(true); >> chart1.setAngleX(70); >> >> The image is attached. >> >> >> "news.softwarefx.com" <xlfei@unicomsys.net> wrote in message >> news:DROy1ZViGHA.1560@webserver3.softwarefx.com... >> > Hello: >> > >> > I want to ask you a some question is about ChartFx. >> > Can you tell me ? I wondering how to do it? >> > >> > My Question: >> > -------------------------------------------------------- >> > >> > 1.How to achieve?Image perspective can continue to regulate? >> > >> > -------------------------------------------------------- >> > please check my attachment description!!! >> > >> > Thanks. >> > -------------------------------------------------------- >> > attachment: ChartFx Issue.xls >> > -------------------------------------------------------- > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.