Jump to content
Software FX Community

Smartie

Members
  • Posts

    18
  • Joined

  • Last visited

Smartie's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Smartie

    Area

    Hello, I want to produce an area chart like the one in the middle in the examples below. How pass one series two values to plot like that?
  2. Hey, The code I use is as follows: Dim lPointLabelOrganizer As PointLabelOrganizer = pChart.AllSeries.PointLabelOrganizer lPointLabelOrganizer.Enabled = True lPointLabelOrganizer.AutoArrange = True Thanks
  3. Hey, Both these charts have the exact same settings beside the gallery type. Why does the point label organizer work on the line chart and not the radar chart? Thanks
  4. I've had this error with certain gallery types when the image size specified is too small for the chart. I still have the support ticket open, they've not gotten back to me after saying they could re-create the error. [ArgumentException: Parameter is not valid.] System.Drawing.Graphics.CheckErrorStatus(Int32 status) +1503977 System.Drawing.Graphics.FillPie(Brush brush, Single x, Single y, Single width, Single height, Single startAngle, Single sweepAngle) +282 System.Drawing.Graphics.FillPie(Brush brush, Rectangle rect, Single startAngle, Single sweepAngle) +135 ChartFX.WebForms.Internal.GraphicsEx.FillPie(Brush brush, Rectangle r, Double dStartAngle, Double dSweepAngle) +219 ChartFX.WebForms.d.a(Brush A_0, Rectangle A_1, Double A_2, Double A_3) +64 ChartFX.WebForms.Galleries.Radar.a(PaintMarkBase A_0, Int32 A_1, Int32 A_2, Int32 A_3, Int32 A_4, Rectangle A_5, Double A_6) +5321 ChartFX.WebForms.Galleries.Radar.a(Int32 A_0, PaintMarkBase A_1, Int32& A_2, Int32& A_3) +4451 ChartFX.WebForms.v.a(Int32& A_0, Int32& A_1) +54 ChartFX.WebForms.v.u() +1438 ChartFX.WebForms.v.a(IFrame A_0, Int32& A_1) +953 ChartFX.WebForms.Chart.a(PaintBar A_0, IGraphicsEx A_1) +715 ChartFX.WebForms.Chart.a(PaintBar A_0, IGraphicsEx A_1, Rectangle& A_2) +118 ChartFX.WebForms.Chart.a(IGraphicsEx A_0, Rectangle A_1, Boolean A_2) +211 ChartFX.WebForms.Chart.a(Stream A_0, IOutputWriter A_1, OutputText A_2, OutputText A_3, OutputInfo A_4) +455 ChartFX.WebForms.Chart.a(OutputText A_0, OutputText A_1, Boolean A_2, String A_3, String A_4) +772 ChartFX.WebForms.Chart.Render(HtmlTextWriter writer) +88 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240 System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +13 System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +42 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240 System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +13 System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +42 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240 System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +253 System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +87 System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +53 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240 System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +42 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240 System.Web.UI.Page.Render(HtmlTextWriter writer) +38 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +11026875 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4240
  5. Hey, I'm having trouble setting the colours of "series" on a pie chart. I currently have a bar chart which I simply loop through the series, if a series name matches a certain value I set the series colour manually. I would like to do the same when the users chooses to output the chart as pie instead of bar. It still runs that code, and sets the series colours but it has no effect on the output of the chart as the pie chart "series" are not the same. So I though I would try looping through the points on my chart, assuming they were the new "series" but it says I have no points. Chart.Point.Count is 0. Please advise me how to loop through and change the colour of the "series" on a pie chart. Thank you.
  6. Hey, Here is the chart I have made using the above help: Why don't all the stack totals add up to 100%? Some are 99%, others 101%? Thanks
  7. Excellent, thank you.
  8. Hey, I have an chart with several series, the chart is set to stack to 100%. Is it possible to get the point lables to display the % that series plot takes up of the full 100% instead of the value? Thanks Leah
  9. Hey juan, Thanks for the reply. I have tried what you said but I am finding the points text property is nothing. So I am unable to check it to see what colour that point should be. Any ideas? Thanks For lIndex As Integer = 0 To pChart.Data.Points Select Case pChart.Points(lIndex).Text Case "Always" pChart.Points(lIndex).Color = Drawing.Color.Blue Case "Mostly" pChart.Points(lIndex).Color = Drawing.Color.Green Case "Sometimes" pChart.Points(lIndex).Color = Drawing.Color.Orange Case "Never" pChart.Points(lIndex).Color = Drawing.Color.Red Case "Not satisfied" pChart.Points(lIndex).Color = Drawing.Color.Red Case "Average" pChart.Points(lIndex).Color = Drawing.Color.Orange Case "Good" pChart.Points(lIndex).Color = Drawing.Color.LightGreen Case "Very Good" pChart.Points(lIndex).Color = Drawing.Color.DarkGreen Case "Excellent" pChart.Points(lIndex).Color = Drawing.Color.Blue End Select Next
  10. How do you know how many points there are from chart properties, the chart.points does not seem to know.
  11. Hey, I need to be able to loop through the points of a chart so I can set the colour of a pie charts slice depending on the text for that point. I cannot find a way to actually loop through them does anyone know how to do this? We are using Chart FX 7 (7.0.3306.26568) http://mysupport.softwarefx.com/help/supporttool/DownloadFile.aspx?FID=a9e4d15c-d038-4d6a-831e-dd4752ee78dc&InLine=true
  12. Smartie

    IE Issues

    Hey, We do have an option for the user to output the chart as auto (.net control if applicable) or image, but they love how they can resize it when its the .net control. Additionally the properties option is grayed out on the image version. Is there a nice document I can point people towards about the rescritions of each mode and how to resolve them? Regards Leah
  13. Smartie

    IE Issues

    Hey, This is going to be a real issue for us, alot of our customers are councils etc and even getting them to add us to the trusted sites was an effort. Getting their IT to run that command on all their pc's is certainly not going to happen. Not sure what to do now :S
  14. Smartie

    IE Issues

    Hey, I am getting two problems with IE and my chart. If I right click on my chart and select properties, the properties window opens and has a warning message in a tooltip in the top left corner with the message: Microsoft .NET Security Warning Never enter personal information or passwords into a windoe unless you can verify and trust the source of the request. I am also getting this error when selecting to copy the chart to bmp: --------------------------- Error --------------------------- The application does not have enough permissions to execute this operation. --------------------------- OK --------------------------- I have added the site to trused sites but this does not help. Any ideas? Why do these forums not replace line breaks with brs, I had to add tags to the end of all my lines.... -.-
  15. Thanks for the reply, shame the new version has less functionality. I am adding the conditional attributes in the new version as follows: pChart.ConditionalAttributes.Add(New ChartFX.WebForms.ConditionalAttributes(pReport.Range1From, pReport.Range1To, Drawing.ColorTranslator.FromHtml(pReport.Range1Colour))) These are not showing up in the legend automatically, nor am I able to name them. How would I do this? Also regarding the stipes on the backgrounds... I am adding them like this: pChart.AxisY.Sections.Add(New ChartFX.WebForms.AxisSection(pReport.Range1From, pReport.Range1To, Drawing.ColorTranslator.FromHtml(pReport.Range1Colour))) How do I add them to the legend also?
×
×
  • Create New...