Jump to content
Software FX Community

AndreG

Staff
  • Posts

    333
  • Joined

  • Last visited

Posts posted by AndreG

  1. I am assuming you are rendering the chart as an image. Am I correct? Therefore if you need to resize the chart you would have to go back to the server to get a new image (just resizing the already downloaded image would distort it). I have created a sample that auto resizes the chart according to the browser and I think it can help you .

  2. I am happy to report that we are releasing a Service Pack for Chart FX 7 that makes it compatible with Visual Studio 2010 today. Please allow some time for the installer to replicate through our severs and try downloading it tomorrow, from the link you have received when you purchased the product. If you do not have the link anymore, please contact support [at] softwarefx.com

  3. I am happy to report that we are releasing a Service Pack for Chart FX 7 that makes it compatible with Visual Studio 2010 today. Please allow some time for the installer to replicate through our severs and try downloading it tomorrow, from the link you have received when you purchased the product. If you do not have the link anymore, please contact support [at] softwarefx.com

  4.  It seems to be working for me. Code and screenshot.

    chart1.Data.Series = 3;   chart1.Data.Points = 10;   Random r = new Random();   for (int i = 0; i < chart1.Data.Series; i++)   {   for (int j = 0; j < chart1.Data.Points; j++)   {   chart1.Data[i, j] = r.Next(100);   }   }   chart1.Series[0].Line.Style = System.Drawing.Drawing2D.DashStyle.Dash;

  5.  That format is used in galleries like bubble and OHLC, where each plot takes more than one series. In your chart, each curve is one series, not multiple.

    Try changing the text on the tooltip on the GetTip event, something like this:

    void chart1_GetTip(object sender, GetTipEventArgs e)   {   if (e.Point >= 0)   {   e.Text = chart1.Data[0, e.Point].ToString() + " - " + chart1.Data[1, e.Point].ToString();   }   }

  6.  Working for me. How did u pass the data to Tag?

      Chart.DataSourceSettings.Fields.Add(new FieldMap("valueofX", FieldUsage.XValue));   Chart.DataSourceSettings.Fields.Add(new FieldMap("valueofY", FieldUsage.Value));   Chart.DataSourceSettings.Fields.Add(new FieldMap("Timedata", FieldUsage.Label));   Chart1.DataSource = table1;   int i = 0;   foreach (string tag in Chart1.AxisX.Labels)   {   Chart1.Points[0, i].Tag = tag;   i++;   }   Chart1.AxisX.Labels.Clear();

  7. Note: This post makes use of the XYZExtension, which at the time the post was written was not available on the public version of Chart FX for WPF. If you are interested in using the extension before its release with the next Service Pack you may download the hotfix at http://support.softwarefx.com/cfxwpf/update/hotfix/hotfix.htm.

    Chart FX for WPF is about to introduce a brand new feature: the XYZExtension. This extension will allow us to add and control a third axis (Z axis) on a 3D chart. For the first time it will be possible to plot X, Y and Z values to a Chart FX chart. Right out of the gate there are two different galleries that can use this extension: SurfaceXYZ and ScatterXYZ. Multiple series of each or even combinations are also possible.

    One of the cool things I was able to accomplish with the new SurfaceXYZ chart was create geographically accurate surface with data from different cities. I can see multiple uses for a chart like this, from temperature plotting, revenue per county or even sales per store in one state.

    Suppose for the sake of this example that we need to plot the customer satisfaction rating on a little more than 800 stores across Florida. Plotting it on a bar chart will create more than 800 bars. And even if we order the cities alphabetically, while locating the score of a specific store should be easy, it is not so simple to understand which areas of the state are doing better than the others. Plotting it on a surface, on the other hand, will group all the stores by proximity allowing us to locate the best and worse regions. Particularly if we can do so over a map of the state. Here is what our final surface chart should look like.

    Posted Image

    Looking at that map it is very easy to spot that the cities stores around Jacksonville and the west coast are doing better than the ones on the east coast of Florida. Let

  8.  Licensing issues are usually solved by reinstalling. I would make sure to download the latest installer and then try a uninstall/reinstall. The link to the latest installer should be on the email we sent you when you purchased the product. If you do not have that link, contact support at softwarefx dot com

  9.  You can't access what you pass to the chart as NotUsed. But I might have a little work around that might work for you. In the BubbleChart sample (that comes with the installer), the "Symbol" column is passed as Label. Then, on a foreach loop passed to array of strings and the labels are cleared. Maybe you could do something similar, but instead of passing the values to a array of strings you could use the Tag property of Point. Then access it in obj.Point.Item(<point>).Tag.

    Let me know if that works for you.

    post-6009-13922409743729_thumb.jpg

×
×
  • Create New...