User (Legacy) Posted January 9, 2004 Report Share Posted January 9, 2004 1) I have made a line graph. The Y-Axis shows % and the X-Axis is made up of month&date IE- 2003-01 How can I format my graph so that the very first month IE-2003-01 starts where the X and Y axis intersect? I also want my last point IE - 2003-10 to be where the x and y axis intersect on the right hand side. Also the part that is shaded blue is done with an area. How can you tell area to color in everything above a certain point instead of below. Ie- If I had a value of 40%, I want 40-100% highlighted instead of 0-40%. 2) I want to display a pie chart and a legend on the side. I have a legend that displays fields that contain 0% (but I want them displayed in a legend). IE- Item A 0% Item B 0% Item C 25% Item D 75% Since Item A and B don't appear on the pie chart, I get an unhandled error when I move my mouse over those items. I have tried to turn the highlighting property off by using this line, but it doesn't work: ChartPie.DataEditorObj.Highlight.Enabled = False Any ideas? I have attached to images of my charts. Thanks Link to comment Share on other sites More sharing options...
Software FX Posted January 9, 2004 Report Share Posted January 9, 2004 1) It seems (I can not tell for sure just with the screenshot) that you are not assigning those dates as X-Values but rather as labels. This makes the X-Axis to be "Categorical" an starts a little to the right of the Y-Axis to accommodate all chart types (e.g. bars, etc.) What you want to do is use these dates as X-Values and then format the X-Axis to display the format you want. This will not only eliminate the gaps at the beginning and end of the chart but it will let Chart FX know that the X-Values are actually dates and as such have an intrinsic value (as oppose to string labels) that can be validated, formatted, etc. 2) This looks indeed like a bug. We will check it and if it is in fact a bug, we will include the fix in the next SP. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Software FX Posted January 9, 2004 Report Share Posted January 9, 2004 We are not able to reproduce the unhandled exception that you described. I moving the mouse over the series legend and the data editor in the attached chart and got no problem at all. Can you please attached the binary file that produced this chart ? You can get the binary file from your server, Do a "View Source" in the browser and look at the DataPath property, then look for that file in your server's Chart FX Temp folder. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
User (Legacy) Posted January 9, 2004 Author Report Share Posted January 9, 2004 I have attached a binary file for the line graph and the pie chart. For the line graph, I had set the dates as an x value. But it still doesn't graph it the way I want to. Also, you didn't answer my question whether you can force gallery type area to fill above the point provided. IE- If point was 60%, highlight 60-100% instead of 0-60%. I am still getting an error with my pie chart. Please let me know what you come up with. Thanks, "SoftwareFX Support" <support@softwarefx.com> wrote in message news:zMXj0$s1DHA.3072@WEBSERVER1... > We are not able to reproduce the unhandled exception that you described. I > moving the mouse over the series legend and the data editor in the attached > chart and got no problem at all. > > Can you please attached the binary file that produced this chart ? You can > get the binary file from your server, Do a "View Source" in the browser and > look at the DataPath property, then look for that file in your server's > Chart FX Temp folder. > > > -- > FP > Software FX, Inc. > > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted January 9, 2004 Author Report Share Posted January 9, 2004 I guess it removed my attachments. The zip file contains both binary files. "Joanne" <jsam@hydro.mb.ca> wrote in message news:URDJVbt1DHA.3512@WEBSERVER1... > I have attached a binary file for the line graph and the pie chart. > > For the line graph, I had set the dates as an x value. But it still doesn't > graph it the way I want to. > Also, you didn't answer my question whether you can force gallery type area > to fill above the point provided. IE- If point was 60%, highlight 60-100% > instead of 0-60%. > > I am still getting an error with my pie chart. > > Please let me know what you come up with. > Thanks, > > > "SoftwareFX Support" <support@softwarefx.com> wrote in message > news:zMXj0$s1DHA.3072@WEBSERVER1... > > We are not able to reproduce the unhandled exception that you described. I > > moving the mouse over the series legend and the data editor in the > attached > > chart and got no problem at all. > > > > Can you please attached the binary file that produced this chart ? You can > > get the binary file from your server, Do a "View Source" in the browser > and > > look at the DataPath property, then look for that file in your server's > > Chart FX Temp folder. > > > > > > -- > > FP > > Software FX, Inc. > > > > > > > > > Attachments.zip Link to comment Share on other sites More sharing options...
Software FX Posted January 9, 2004 Report Share Posted January 9, 2004 1) Please contact our support dept. for a HotFix that fixes the problem with the Highlight (both the crash and the Enabled=False not being saved) a SP will be coming soon. 2) Make sure you assign: chart.Gallery = Gallery.Lines; To ensure that the X-Value are indeed used. By the fault the gallery is set to Gallery.Bar which does NOT support X-Values. 3) You can use the IniValue property (also available through data binding) to specify the starting point of the area, this allows you to start form an arbitrary value (instead of zero) and end at another (100 for all the points in your case). Check out the following sample in the programmer's guide for details: "Gallery Types - Gantt Charts" Although the section describes Gantt chart, IniValues can also be used in Area charts in exactly the same way. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
User (Legacy) Posted January 14, 2004 Author Report Share Posted January 14, 2004 I have attached the binary file (this file doesn't load ini values). I am trying to show one tick mark per month, however it appears to be displaying a tick mark for every day in the month. The dates have been assigned to the x-values. I have used the step property, and assigned a step property of 1. Is there a way that you format it so that it only display a tick mark for month? FYI- It dates have been formatted to YYYY-MM Also, when I try to get the same graph to plot ini values, it only displays the area series and not the series corresponding to my line graph. I have attached an image of what happens to the graph. The code I use to load the ini values is as follows (series 0 is- area, series 1 is- line): Dim i As Integer Dim icounter As Integer icounter = 0 i = oDataset.Tables(0).Rows.Count chartReport.OpenData(COD.IniValues, 1, i) While icounter < i chartReport.IniValue(0, icounter) = 1 icounter = icounter + 1 End While chartReport.CloseData(COD.IniValues) "SoftwareFX Support" <support@softwarefx.com> wrote in message news:Xz3TPvw1DHA.3512@WEBSERVER1... > 1) Please contact our support dept. for a HotFix that fixes the problem with > the Highlight (both the crash and the Enabled=False not being saved) a SP > will be coming soon. > > 2) Make sure you assign: > > chart.Gallery = Gallery.Lines; > > To ensure that the X-Value are indeed used. By the fault the gallery is set > to Gallery.Bar which does NOT support X-Values. > > 3) You can use the IniValue property (also available through data binding) > to specify the starting point of the area, this allows you to start form an > arbitrary value (instead of zero) and end at another (100 for all the points > in your case). Check out the following sample in the programmer's guide for > details: > > "Gallery Types - Gantt Charts" > > Although the section describes Gantt chart, IniValues can also be used in > Area charts in exactly the same way. > > -- > FP > Software FX, Inc. > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted January 14, 2004 Author Report Share Posted January 14, 2004 I have attached the binary file (this file doesn't load ini values). I am trying to show one tick mark per month, however it appears to be displaying a tick mark for every day in the month. The dates have been assigned to the x-values. I have used the step property, and assigned a step property of 1. Is there a way that you format it so that it only display a tick mark for month? FYI- It dates have been formatted to YYYY-MM Also, when I try to get the same graph to plot ini values, it only displays the area series and not the series corresponding to my line graph. I have attached an image of what happens to the graph. The code I use to load the ini values is as follows (series 0 is- area, series 1 is- line): Dim i As Integer Dim icounter As Integer icounter = 0 i = oDataset.Tables(0).Rows.Count chartReport.OpenData(COD.IniValues, 1, i) While icounter < i chartReport.IniValue(0, icounter) = 1 icounter = icounter + 1 End While chartReport.CloseData(COD.IniValues) "SoftwareFX Support" <support@softwarefx.com> wrote in message news:Xz3TPvw1DHA.3512@WEBSERVER1... > 1) Please contact our support dept. for a HotFix that fixes the problem with > the Highlight (both the crash and the Enabled=False not being saved) a SP > will be coming soon. > > 2) Make sure you assign: > > chart.Gallery = Gallery.Lines; > > To ensure that the X-Value are indeed used. By the fault the gallery is set > to Gallery.Bar which does NOT support X-Values. > > 3) You can use the IniValue property (also available through data binding) > to specify the starting point of the area, this allows you to start form an > arbitrary value (instead of zero) and end at another (100 for all the points > in your case). Check out the following sample in the programmer's guide for > details: > > "Gallery Types - Gantt Charts" > > Although the section describes Gantt chart, IniValues can also be used in > Area charts in exactly the same way. > > -- > FP > Software FX, Inc. > > Attachments.zip Link to comment Share on other sites More sharing options...
User (Legacy) Posted January 14, 2004 Author Report Share Posted January 14, 2004 I have attached the binary file (this file doesn't load ini values). I am trying to show one tick mark per month, however it appears to be displaying a tick mark for every day in the month. The dates have been assigned to the x-values. I have used the step property, and assigned a step property of 1. Is there a way that you format it so that it only display a tick mark for month? FYI- It dates have been formatted to YYYY-MM Also, when I try to get the same graph to plot ini values, it only displays the area series and not the series corresponding to my line graph. I have attached an image of what happens to the graph. The code I use to load the ini values is as follows (series 0 is- area, series 1 is- line): Dim i As Integer Dim icounter As Integer icounter = 0 i = oDataset.Tables(0).Rows.Count chartReport.OpenData(COD.IniValues, 1, i) While icounter < i chartReport.IniValue(0, icounter) = 1 icounter = icounter + 1 End While chartReport.CloseData(COD.IniValues) "SoftwareFX Support" <support@softwarefx.com> wrote in message news:Xz3TPvw1DHA.3512@WEBSERVER1... > 1) Please contact our support dept. for a HotFix that fixes the problem with > the Highlight (both the crash and the Enabled=False not being saved) a SP > will be coming soon. > > 2) Make sure you assign: > > chart.Gallery = Gallery.Lines; > > To ensure that the X-Value are indeed used. By the fault the gallery is set > to Gallery.Bar which does NOT support X-Values. > > 3) You can use the IniValue property (also available through data binding) > to specify the starting point of the area, this allows you to start form an > arbitrary value (instead of zero) and end at another (100 for all the points > in your case). Check out the following sample in the programmer's guide for > details: > > "Gallery Types - Gantt Charts" > > Although the section describes Gantt chart, IniValues can also be used in > Area charts in exactly the same way. > > -- > FP > Software FX, Inc. > > Attachments.zip Link to comment Share on other sites More sharing options...
User (Legacy) Posted January 14, 2004 Author Report Share Posted January 14, 2004 I have attached the binary file (this file doesn't load ini values). I am trying to show one tick mark per month, however it appears to be displaying a tick mark for every day in the month. The dates have been assigned to the x-values. I have used the step property, and assigned a step property of 1. Is there a way that you format it so that it only display a tick mark for month? FYI- It dates have been formatted to YYYY-MM Also, when I try to get the same graph to plot ini values, it only displays the area series and not the series corresponding to my line graph. I have attached an image of what happens to the graph. The code I use to load the ini values is as follows (series 0 is- area, series 1 is- line): Dim i As Integer Dim icounter As Integer icounter = 0 i = oDataset.Tables(0).Rows.Count chartReport.OpenData(COD.IniValues, 1, i) While icounter < i chartReport.IniValue(0, icounter) = 1 icounter = icounter + 1 End While chartReport.CloseData(COD.IniValues) "SoftwareFX Support" <support@softwarefx.com> wrote in message news:Xz3TPvw1DHA.3512@WEBSERVER1... > 1) Please contact our support dept. for a HotFix that fixes the problem with > the Highlight (both the crash and the Enabled=False not being saved) a SP > will be coming soon. > > 2) Make sure you assign: > > chart.Gallery = Gallery.Lines; > > To ensure that the X-Value are indeed used. By the fault the gallery is set > to Gallery.Bar which does NOT support X-Values. > > 3) You can use the IniValue property (also available through data binding) > to specify the starting point of the area, this allows you to start form an > arbitrary value (instead of zero) and end at another (100 for all the points > in your case). Check out the following sample in the programmer's guide for > details: > > "Gallery Types - Gantt Charts" > > Although the section describes Gantt chart, IniValues can also be used in > Area charts in exactly the same way. > > -- > FP > Software FX, Inc. > > Attachments.zip Link to comment Share on other sites More sharing options...
User (Legacy) Posted January 14, 2004 Author Report Share Posted January 14, 2004 I have attached the binary file (this file doesn't load ini values). I am trying to show one tick mark per month, however it appears to be displaying a tick mark for every day in the month. The dates have been assigned to the x-values. I have used the step property, and assigned a step property of 1. Is there a way that you format it so that it only display a tick mark for month? FYI- It dates have been formatted to YYYY-MM Also, when I try to get the same graph to plot ini values, it only displays the area series and not the series corresponding to my line graph. I have attached an image of what happens to the graph. The code I use to load the ini values is as follows (series 0 is- area, series 1 is- line): Dim i As Integer Dim icounter As Integer icounter = 0 i = oDataset.Tables(0).Rows.Count chartReport.OpenData(COD.IniValues, 1, i) While icounter < i chartReport.IniValue(0, icounter) = 1 icounter = icounter + 1 End While chartReport.CloseData(COD.IniValues) "SoftwareFX Support" <support@softwarefx.com> wrote in message news:Xz3TPvw1DHA.3512@WEBSERVER1... > 1) Please contact our support dept. for a HotFix that fixes the problem with > the Highlight (both the crash and the Enabled=False not being saved) a SP > will be coming soon. > > 2) Make sure you assign: > > chart.Gallery = Gallery.Lines; > > To ensure that the X-Value are indeed used. By the fault the gallery is set > to Gallery.Bar which does NOT support X-Values. > > 3) You can use the IniValue property (also available through data binding) > to specify the starting point of the area, this allows you to start form an > arbitrary value (instead of zero) and end at another (100 for all the points > in your case). Check out the following sample in the programmer's guide for > details: > > "Gallery Types - Gantt Charts" > > Although the section describes Gantt chart, IniValues can also be used in > Area charts in exactly the same way. > > -- > FP > Software FX, Inc. > > Attachments.zip Link to comment Share on other sites More sharing options...
User (Legacy) Posted January 14, 2004 Author Report Share Posted January 14, 2004 I am have set the dates as x-values. I used step=1 to have the values show one tick mark per month. However it seems that it is making a tick mark for each day. How can I force my graph to only step by month? I have attached my binary file. Also, when I try setting the ini values for series 0, it displays that properly but the line corresponding to series 1 is no longer displayed. Any suggestions? I load my xvalues, and two series values using a dataset. The ini values for series0 is loaded as follows: Dim i As Integer Dim icounter As Integer icounter = 0 i = oDataset.Tables(0).Rows.Count chartReport.OpenData(COD.IniValues, 1, i) While icounter < i chartReport.IniValue(0, icounter) = 1 icounter = icounter + 1 End While chartReport.CloseData(COD.IniValues) "SoftwareFX Support" <support@softwarefx.com> wrote in message news:Xz3TPvw1DHA.3512@WEBSERVER1... > 1) Please contact our support dept. for a HotFix that fixes the problem with > the Highlight (both the crash and the Enabled=False not being saved) a SP > will be coming soon. > > 2) Make sure you assign: > > chart.Gallery = Gallery.Lines; > > To ensure that the X-Value are indeed used. By the fault the gallery is set > to Gallery.Bar which does NOT support X-Values. > > 3) You can use the IniValue property (also available through data binding) > to specify the starting point of the area, this allows you to start form an > arbitrary value (instead of zero) and end at another (100 for all the points > in your case). Check out the following sample in the programmer's guide for > details: > > "Gallery Types - Gantt Charts" > > Although the section describes Gantt chart, IniValues can also be used in > Area charts in exactly the same way. > > -- > FP > Software FX, Inc. > > Attachments.zip Link to comment Share on other sites More sharing options...
Software FX Posted January 18, 2004 Report Share Posted January 18, 2004 Right. Step = 1, means 1 day, Step = 30 mean 1 month. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.