<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to support-requests</title><link href="https://sourceforge.net/p/zedgraph/support-requests/" rel="alternate"/><link href="https://sourceforge.net/p/zedgraph/support-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/zedgraph/support-requests/</id><updated>2022-10-28T17:23:38.200000Z</updated><subtitle>Recent changes to support-requests</subtitle><entry><title>Loading custom fonts</title><link href="https://sourceforge.net/p/zedgraph/support-requests/155/" rel="alternate"/><published>2022-10-28T17:23:38.200000Z</published><updated>2022-10-28T17:23:38.200000Z</updated><author><name>Geoff Greene</name><uri>https://sourceforge.net/u/goofwithz3/</uri></author><id>https://sourceforge.net1609ccb66b6746d287c913b44aea08265cd18896</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Im using zedgraph in a csharp page to generate a graph. I'd like to try to make it load a custom font (a .ttf file) to use as the font.&lt;/p&gt;
&lt;p&gt;This is running in an environment in which I do not have access to the standard windows fonts directory. In fact, the only font installed on this machine is courier (yuck).&lt;/p&gt;
&lt;p&gt;How do I make zedgraph use a font that is not in my c:\windows directory&lt;/p&gt;
&lt;p&gt;I've looked at microsoft's PrivateFont Collection &lt;a href="https://learn.microsoft.com/en-us/dotnet/desktop/winforms/advanced/how-to-create-a-private-font-collection?view=netframeworkdesktop-4.8&amp;amp;redirectedfrom=MSDN" rel="nofollow"&gt;https://learn.microsoft.com/en-us/dotnet/desktop/winforms/advanced/how-to-create-a-private-font-collection?view=netframeworkdesktop-4.8&amp;amp;redirectedfrom=MSDN&lt;/a&gt; and thats close to what I want. but I don't know what do after I create a privateFontCollection. all I did was :&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="c1"&gt;// i've tried the below in a using statement, too but no love&lt;/span&gt;
&lt;span class="n"&gt;PrivateFontCollection&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;privateFontCollection&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;new&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;PrivateFontCollection&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;string&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;fontsDir&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;LocateDirectory&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"fonts"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;@"&lt;/span&gt;&lt;span class="se"&gt;\"&lt;/span&gt;&lt;span class="s"&gt;;&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;privateFontCollection&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;AddFontFile&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;fontsDir&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;"PLAYBILL.ttf"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="c1"&gt;// playbill not installed on local machine&lt;/span&gt;

&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;using&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ZedGraphControl&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;zedGraph&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;new&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;ZedGraphControl&lt;/span&gt;&lt;span class="p"&gt;())&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;&lt;span class="n"&gt;zedGraph&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;GraphPane&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;new&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;GraphPane&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;&lt;span class="n"&gt;zedGraph&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;GraphPane&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Title&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Text&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;title&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;&lt;span class="n"&gt;zedGraph&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;GraphPane&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Title&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;FontSpec&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;new&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;FontSpec&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Playbill"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;16&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Color&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Black&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb"&gt;false&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="c1"&gt;// the font is always the default, not the one i want.&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;&lt;span class="n"&gt;zedGraph&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;GraphPane&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Title&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;FontSpec&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Border&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;new&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Border&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Color&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;White&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;&lt;span class="c1"&gt;// other zedgraph stuff goes here, but the last line renders it to a file.&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;So? how do you load a new font so ZedGraph can see it&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#154 errors on older project</title><link href="https://sourceforge.net/p/zedgraph/support-requests/154/?limit=25#662b" rel="alternate"/><published>2016-10-24T16:38:20.614000Z</published><updated>2016-10-24T16:38:20.614000Z</updated><author><name>discomurray</name><uri>https://sourceforge.net/u/discomurray/</uri></author><id>https://sourceforge.net2e7a18b0c29c2957c07abfe2bd0d598d10b9d995</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Ryan,&lt;/p&gt;
&lt;p&gt;It appears that the version that you were compiliing to was a much older version that you think. &lt;/p&gt;
&lt;p&gt;John introduced the Scale class in Dec 2005 v4.3.2. This class extracted the min/max and step configuration to a seperate class. &lt;/p&gt;
&lt;p&gt;to set the Axis min/max use&lt;br/&gt;
&lt;code&gt;currentPlot.YAxis.Scale.Min = 0&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;currentPlot.YAxis.Scale.Max = 2.5&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;The axis title properties have been changed to an AxisLabel in v5. Access its title&lt;br/&gt;
&lt;code&gt;currentPlot.XAxis.Title.Text&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;currentPlot.YAxis.Title.Text&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Title has changed from a string to a Label&lt;br/&gt;
access the title&lt;br/&gt;
&lt;code&gt;currentPlot.Title.Text&lt;/code&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>errors on older project</title><link href="https://sourceforge.net/p/zedgraph/support-requests/154/" rel="alternate"/><published>2016-10-24T14:11:22.439000Z</published><updated>2016-10-24T14:11:22.439000Z</updated><author><name>Ryan Sargent</name><uri>https://sourceforge.net/u/sargent11235/</uri></author><id>https://sourceforge.net14988c9d2cb77b96539cfff323cfadd71a82971c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am using Zedgraph version 5.1.5.28844 with VS 2015.  This project compiled about a year ago but now after opening I am getting errors that don't make sense.  I am getting errors like &lt;em&gt;Title is readonly&lt;/em&gt; and &lt;em&gt;Min is not a member of Yaxis&lt;/em&gt;.   I know that a year ago it was.  Don't know what the deal is.  I tried reloading the older resource but still getting the same errors.  Does anyone have an explainination? &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>how to zoom in and zoom out?</title><link href="https://sourceforge.net/p/zedgraph/support-requests/152/" rel="alternate"/><published>2015-03-16T07:22:32.782000Z</published><updated>2015-03-16T07:22:32.782000Z</updated><author><name>Sabir</name><uri>https://sourceforge.net/u/sabirmgd/</uri></author><id>https://sourceforge.netb97a089ce10408e848ff8d65e2bc625343767586</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I can't zoom in and zoom out, when I left click in the graph area, I can't drag out a new rectangle ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#135 Number of points vs screen resolution</title><link href="https://sourceforge.net/p/zedgraph/support-requests/135/?limit=25#c53c" rel="alternate"/><published>2015-02-10T12:56:14.037000Z</published><updated>2015-02-10T12:56:14.037000Z</updated><author><name>Steve Levitt</name><uri>https://sourceforge.net/u/srlevitt/</uri></author><id>https://sourceforge.net52b971fd05983ba017879c3aa64def9ccb9ad277</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I too suffer from this problem. Has anybody looked at inside Zedgraph, or come up with a workaround before the data set is passed to zedgraph?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>XML to Graph </title><link href="https://sourceforge.net/p/zedgraph/support-requests/151/" rel="alternate"/><published>2015-02-09T07:51:33.464000Z</published><updated>2015-02-09T07:51:33.464000Z</updated><author><name>PW_Felso</name><uri>https://sourceforge.net/u/pfelso/</uri></author><id>https://sourceforge.netcf0fcccce33af593af9f101f11ff52281afe1096</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello everyone, &lt;/p&gt;
&lt;p&gt;is it possible to  read a XML File like this one &lt;/p&gt;

&amp;lt;data&amp;gt;
  &amp;lt;general&amp;gt;
    &amp;lt;comission&amp;gt;788945&amp;lt;/comission&amp;gt;
    &amp;lt;name&amp;gt;TEST&amp;lt;/name&amp;gt;
    &amp;lt;datetime&amp;gt;Mon Feb 2 2015 ; 16:02:20&amp;lt;/datetime&amp;gt;
  &amp;lt;/general&amp;gt;
  &amp;lt;M1.7&amp;gt;
    &amp;lt;name&amp;gt;M1&amp;lt;/name&amp;gt;
    &amp;lt;value timestamp="16:02:20"&amp;gt;false&amp;lt;/value&amp;gt;
    &amp;lt;value timestamp="16:02:21"&amp;gt;true&amp;lt;/value&amp;gt;
    &amp;lt;value timestamp="16:02:22"&amp;gt;false&amp;lt;/value&amp;gt;
.
.
.

&lt;p&gt;and set the timestamp as x-Axis and value as y-Axis directly? &lt;br /&gt;
Or is there an easy way to do it with XML Writer and ZedGraph?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>PointValueEvent never firing</title><link href="https://sourceforge.net/p/zedgraph/support-requests/150/" rel="alternate"/><published>2014-06-13T05:07:58.394000Z</published><updated>2014-06-13T05:07:58.394000Z</updated><author><name>ben</name><uri>https://sourceforge.net/u/mcmillab/</uri></author><id>https://sourceforge.net83dd5e60a447745044712ae0b25e33ad8963819d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I can't get this event to fire at all.&lt;br /&gt;
I have added the handler:&lt;br /&gt;
this.zg1.PointValueEvent += new ZedGraph.ZedGraphControl.PointValueHandler(this.myPointValueHandler3);&lt;/p&gt;
&lt;p&gt;but myPointValueHandler3 is never reached.&lt;/p&gt;
&lt;p&gt;What could I be doing wrong?&lt;br /&gt;
thanks&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#149 Drawing Circles/Ellipses</title><link href="https://sourceforge.net/p/zedgraph/support-requests/149/?limit=25#0249" rel="alternate"/><published>2014-05-23T20:19:28.841000Z</published><updated>2014-05-23T20:19:28.841000Z</updated><author><name>Chae Kim</name><uri>https://sourceforge.net/u/chaekim/</uri></author><id>https://sourceforge.net75c8f19659e143ac3b1e0d691e817098607e52f0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;...&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Drawing Circles/Ellipses</title><link href="https://sourceforge.net/p/zedgraph/support-requests/149/" rel="alternate"/><published>2014-05-23T20:18:09.644000Z</published><updated>2014-05-23T20:18:09.644000Z</updated><author><name>Chae Kim</name><uri>https://sourceforge.net/u/chaekim/</uri></author><id>https://sourceforge.net1e93028a39ac4383d66fad8074cb6f748e87d4b5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, is there a way to draw multiple circles/ellipses on the ZedGraphControl, just like the way you can add multiple curves, using format similar to .net DrawEllipse function?  If so can you provide some examples?&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#137 error encountered in accessing page </title><link href="https://sourceforge.net/p/zedgraph/support-requests/137/?limit=25#72ec" rel="alternate"/><published>2013-08-07T15:19:20.887000Z</published><updated>2013-08-07T15:19:20.887000Z</updated><author><name>Joe Pool</name><uri>https://sourceforge.net/u/jp2code/</uri></author><id>https://sourceforge.netcefd30a340a9c7fca85bdd012c6499c99a436eea</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Looks like there is more than one:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Server: zedgraph.sourceforge.net &lt;/li&gt;
&lt;li&gt;URL path: /source/verticalbarswithlabels.html &lt;/li&gt;
&lt;li&gt;Error notes: NONE &lt;/li&gt;
&lt;li&gt;Error type: 404 &lt;/li&gt;
&lt;li&gt;Request method: GET &lt;/li&gt;
&lt;li&gt;Request query string: NONE &lt;/li&gt;
&lt;li&gt;Time: 2013-08-07 15:08:31 UTC (1375888111)&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;</summary></entry></feed>