xyvalue not showing in graph area

xyvalue not showing in graph area

Forum member · Nov 7, 2021
I've been at this for a few hours trying every which way to write this. What I want: make a multi-series XYScatterplot chart Code: Chart pumpChart = new Chart(350, -20, 225, 225); PlotArea pumpPlotArea = pumpChart.PrimaryPlotArea; XYScatterSeries xyScatterPump = new XYScatterSeries("Pump Performance Curve"); xyScatterPump.Values.Add(30, 0); xyScatterPump.Values.Add(25, 10); xyScatterPump.Values.Add(20, 15); xyScatterPump.Values.Add(15, 30); xyScatterPump.Values.Add(5, 40); XYScatterSeries xyScatterSystem = new XYScatterSeries("System Requirement"); float fakeX = 43.08f; float fakeY = 18.27f; xyScatterSystem.Values.Add(fakeY, fakeX); pumpPlotArea.Series.Add(xyScatterSystem); pumpPlotArea.Series.Add(xyScatterPump); Title titleTdh = new Title("Total Dynamic Head (ft.)"); Title titleGpm = new Title("Gallons Per Minute (gpm)"); xyScatterSystem.YAxis.Titles.Add(titleTdh); xyScatterSystem.XAxis.Titles.Add(titleGpm); page.Elements.Add(pumpChart); I can't seem to get the xyScatterSystem to plot inside the graph. If someone could please check this out and let me know why this is not working. Thanks

Re: xyvalue not showing in graph area

Forum member · Nov 14, 2021
I was able to figure this out. I was able to get the series to plot inside the graph if I added more than 1 XYScatterSeries value. If I just had one XYScatterSeries value it wouldn't plot inside the graph.

Re: xyvalue not showing in graph area

Support · Nov 15, 2021
Hi, We tested this and are able to recreate the behavior with only one value for XYScatterSeries on the chart. We will be forwarding this information on to our development team for further investigation and post it on the form once a new build of our product including this fix is ready for download. Until our developers fix this issue, you can continue using the workaround you found (adding more than one value to XYScatterSeries). Thanks, ceTe Software Support Team

Re: xyvalue not showing in graph area

Support · Nov 19, 2021
Hi, We have an update from our development team, and this issue is fixed in the latest release, DynamicPDF Core Suite for .NET(v11.21). You can download the latest version from NuGet (Package ID: ceTe.DynamicPDF.CoreSuite.NET) or from our website here . Thanks, ceTe Software Support Team