/usr/share/gtk-doc/html/goffice-0.10/GogGraph.html is in libgoffice-0.10-doc 0.10.9-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GogGraph</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="GOffice Reference Manual">
<link rel="up" href="ch01.html" title="Objects">
<link rel="prev" href="ch01.html" title="Objects">
<link rel="next" href="GogChart.html" title="GogChart">
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="ch01.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GOffice Reference Manual</th>
<td><a accesskey="n" href="GogChart.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GogGraph.synopsis" class="shortcut">Top</a>
|
<a href="#GogGraph.description" class="shortcut">Description</a>
|
<a href="#GogGraph.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#GogGraph.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
<a href="#GogGraph.properties" class="shortcut">Properties</a>
|
<a href="#GogGraph.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry">
<a name="GogGraph"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GogGraph.top_of_page"></a>GogGraph</span></h2>
<p>GogGraph — The graph object.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GogGraph.synopsis"></a><h2>Synopsis</h2>
<a name="GogGraphView"></a><pre class="synopsis"> <a class="link" href="GogGraph.html#GogGraph-struct" title="GogGraph">GogGraph</a>;
<a class="link" href="GogGraph.html#GogGraphClass" title="GogGraphClass">GogGraphClass</a>;
<a class="link" href="GogGraph.html#GogGraphView-struct" title="GogGraphView">GogGraphView</a>;
<a class="link" href="GogGraph.html" title="GogGraph"><span class="returnvalue">GogGraph</span></a> * <a class="link" href="GogGraph.html#gog-graph-dup" title="gog_graph_dup ()">gog_graph_dup</a> (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> const *graph</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GogGraph.html#gog-graph-export-image" title="gog_graph_export_image ()">gog_graph_export_image</a> (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> *graph</code></em>,
<em class="parameter"><code><a class="link" href="GOImage.html#GOImageFormat" title="enum GOImageFormat"><span class="type">GOImageFormat</span></a> format</code></em>,
<em class="parameter"><code><span class="type">GsfOutput</span> *output</code></em>,
<em class="parameter"><code><span class="type">double</span> x_dpi</code></em>,
<em class="parameter"><code><span class="type">double</span> y_dpi</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GogGraph.html#gog-graph-force-update" title="gog_graph_force_update ()">gog_graph_force_update</a> (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> *graph</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="GogGraph.html#gog-graph-get-data" title="gog_graph_get_data ()">gog_graph_get_data</a> (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> const *graph</code></em>);
<a class="link" href="GODoc.html" title="GODoc"><span class="returnvalue">GODoc</span></a> * <a class="link" href="GogGraph.html#gog-graph-get-document" title="gog_graph_get_document ()">gog_graph_get_document</a> (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> *graph</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GogGraph.html#gog-graph-get-size" title="gog_graph_get_size ()">gog_graph_get_size</a> (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> *graph</code></em>,
<em class="parameter"><code><span class="type">double</span> *width</code></em>,
<em class="parameter"><code><span class="type">double</span> *height</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="GogGraph.html#gog-graph-get-supported-image-formats" title="gog_graph_get_supported_image_formats ()">gog_graph_get_supported_image_formats</a>
(<em class="parameter"><code><span class="type">void</span></code></em>);
<a class="link" href="goffice-0.10-Theming.html#GogTheme"><span class="returnvalue">GogTheme</span></a> * <a class="link" href="GogGraph.html#gog-graph-get-theme" title="gog_graph_get_theme ()">gog_graph_get_theme</a> (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> const *graph</code></em>);
<span class="returnvalue">unsigned</span> <a class="link" href="GogGraph.html#gog-graph-num-cols" title="gog_graph_num_cols ()">gog_graph_num_cols</a> (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> const *graph</code></em>);
<span class="returnvalue">unsigned</span> <a class="link" href="GogGraph.html#gog-graph-num-rows" title="gog_graph_num_rows ()">gog_graph_num_rows</a> (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> const *graph</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GogGraph.html#gog-graph-request-update" title="gog_graph_request_update ()">gog_graph_request_update</a> (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> *graph</code></em>);
<a class="link" href="GOData.html" title="GOData"><span class="returnvalue">GOData</span></a> * <a class="link" href="GogGraph.html#gog-graph-ref-data" title="gog_graph_ref_data ()">gog_graph_ref_data</a> (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> *graph</code></em>,
<em class="parameter"><code><a class="link" href="GOData.html" title="GOData"><span class="type">GOData</span></a> *dat</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GogGraph.html#gog-graph-render-to-cairo" title="gog_graph_render_to_cairo ()">gog_graph_render_to_cairo</a> (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> *graph</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cairo</code></em>,
<em class="parameter"><code><span class="type">double</span> w</code></em>,
<em class="parameter"><code><span class="type">double</span> h</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GogGraph.html#gog-graph-set-size" title="gog_graph_set_size ()">gog_graph_set_size</a> (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> *graph</code></em>,
<em class="parameter"><code><span class="type">double</span> width</code></em>,
<em class="parameter"><code><span class="type">double</span> height</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GogGraph.html#gog-graph-set-theme" title="gog_graph_set_theme ()">gog_graph_set_theme</a> (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> *graph</code></em>,
<em class="parameter"><code><a class="link" href="goffice-0.10-Theming.html#GogTheme"><span class="type">GogTheme</span></a> *theme</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GogGraph.html#gog-graph-unref-data" title="gog_graph_unref_data ()">gog_graph_unref_data</a> (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> *graph</code></em>,
<em class="parameter"><code><a class="link" href="GOData.html" title="GOData"><span class="type">GOData</span></a> *dat</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GogGraph.html#gog-graph-validate-chart-layout" title="gog_graph_validate_chart_layout ()">gog_graph_validate_chart_layout</a> (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> *graph</code></em>);
<a class="link" href="GogView.html" title="GogView"><span class="returnvalue">GogView</span></a> * <a class="link" href="GogGraph.html#gog-graph-view-get-selection" title="gog_graph_view_get_selection ()">gog_graph_view_get_selection</a> (<em class="parameter"><code><a class="link" href="GogGraph.html#GogGraphView"><span class="type">GogGraphView</span></a> *gview</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GogGraph.html#gog-graph-view-handle-event" title="gog_graph_view_handle_event ()">gog_graph_view_handle_event</a> (<em class="parameter"><code><a class="link" href="GogGraph.html#GogGraphView"><span class="type">GogGraphView</span></a> *gview</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk3/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
<em class="parameter"><code><span class="type">double</span> x_offset</code></em>,
<em class="parameter"><code><span class="type">double</span> y_offset</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GogGraph.html#gog-graph-view-set-selection" title="gog_graph_view_set_selection ()">gog_graph_view_set_selection</a> (<em class="parameter"><code><a class="link" href="GogGraph.html#GogGraphView"><span class="type">GogGraphView</span></a> *gview</code></em>,
<em class="parameter"><code><a class="link" href="GogObject.html" title="GogObject"><span class="type">GogObject</span></a> *gobj</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GogGraph.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+----<a class="link" href="GogObject.html" title="GogObject">GogObject</a>
+----<a class="link" href="GogStyledObject.html" title="GogStyledObject">GogStyledObject</a>
+----<a class="link" href="GogOutlinedView.html#GogOutlinedObject">GogOutlinedObject</a>
+----GogGraph
</pre>
<pre class="synopsis">
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+----<a class="link" href="GogView.html" title="GogView">GogView</a>
+----<a class="link" href="GogOutlinedView.html" title="GogOutlinedView">GogOutlinedView</a>
+----GogGraphView
</pre>
</div>
<div class="refsect1">
<a name="GogGraph.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GogGraph implements
<a class="link" href="GOStyledObject.html" title="GOStyledObject">GOStyledObject</a> and <a class="link" href="GOPersist.html" title="GOPersist">GOPersist</a>.</p>
</div>
<div class="refsect1">
<a name="GogGraph.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GogGraph.html#GogGraph--document" title='The "document" property'>document</a>" <a class="link" href="GODoc.html" title="GODoc"><span class="type">GODoc</span></a>* : Read / Write
"<a class="link" href="GogGraph.html#GogGraph--height-pts" title='The "height-pts" property'>height-pts</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> : Read / Write
"<a class="link" href="GogGraph.html#GogGraph--theme" title='The "theme" property'>theme</a>" <a class="link" href="goffice-0.10-Theming.html#GogTheme"><span class="type">GogTheme</span></a>* : Read / Write
"<a class="link" href="GogGraph.html#GogGraph--theme-name" title='The "theme-name" property'>theme-name</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
"<a class="link" href="GogGraph.html#GogGraph--width-pts" title='The "width-pts" property'>width-pts</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> : Read / Write
"<a class="link" href="GogGraph.html#GogGraphView--renderer" title='The "renderer" property'>renderer</a>" <a class="link" href="GogRenderer.html" title="GogRenderer"><span class="type">GogRenderer</span></a>* : Write
</pre>
</div>
<div class="refsect1">
<a name="GogGraph.signals"></a><h2>Signals</h2>
<pre class="synopsis">
"<a class="link" href="GogGraph.html#GogGraph-add-data" title='The "add-data" signal'>add-data</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
"<a class="link" href="GogGraph.html#GogGraph-remove-data" title='The "remove-data" signal'>remove-data</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
"<a class="link" href="GogGraph.html#GogGraphView-selection-changed" title='The "selection-changed" signal'>selection-changed</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
</pre>
</div>
<div class="refsect1">
<a name="GogGraph.description"></a><h2>Description</h2>
<p>
A graph (in the abstract sense) in GOffice is an hierarical object model,
with a <a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> object as the top-level object.
Objects that can be part of a graph is a subclass of <a class="link" href="GogObject.html" title="GogObject"><span class="type">GogObject</span></a>. Those, and
related objects have the prefix "Gog" in the class name.
See <a class="link" href="GogObject.html" title="GogObject"><span class="type">GogObject</span></a> for how to manipulate the object model, and the individual
classes for specifics.
</p>
<p>
A <a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> can have 1 or more children in the roles "Chart" and "Title".
</p>
</div>
<div class="refsect1">
<a name="GogGraph.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GogGraph-struct"></a><h3>GogGraph</h3>
<pre class="programlisting">typedef struct _GogGraph GogGraph;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GogGraphClass"></a><h3>GogGraphClass</h3>
<pre class="programlisting">typedef struct {
GogOutlinedObjectClass base;
/* signals */
void (*add_data) (GogGraph *graph, GOData *input);
void (*remove_data) (GogGraph *graph, GOData *input);
} GogGraphClass;
</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><a class="link" href="GogOutlinedView.html#GogOutlinedObjectClass" title="GogOutlinedObjectClass"><span class="type">GogOutlinedObjectClass</span></a> <em class="structfield"><code><a name="GogGraphClass.base"></a>base</code></em>;</span></p></td>
<td>base class.</td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="GogGraphClass.add-data"></a>add_data</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="GogGraphClass.remove-data"></a>remove_data</code></em> ()</span></p></td>
<td></td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GogGraphView-struct"></a><h3>GogGraphView</h3>
<pre class="programlisting">typedef struct _GogGraphView GogGraphView;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gog-graph-dup"></a><h3>gog_graph_dup ()</h3>
<pre class="programlisting"><a class="link" href="GogGraph.html" title="GogGraph"><span class="returnvalue">GogGraph</span></a> * gog_graph_dup (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> const *graph</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>graph</code></em> :</span></p></td>
<td><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a deep copy of <em class="parameter"><code>graph</code></em>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gog-graph-export-image"></a><h3>gog_graph_export_image ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gog_graph_export_image (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> *graph</code></em>,
<em class="parameter"><code><a class="link" href="GOImage.html#GOImageFormat" title="enum GOImageFormat"><span class="type">GOImageFormat</span></a> format</code></em>,
<em class="parameter"><code><span class="type">GsfOutput</span> *output</code></em>,
<em class="parameter"><code><span class="type">double</span> x_dpi</code></em>,
<em class="parameter"><code><span class="type">double</span> y_dpi</code></em>);</pre>
<p>
Exports an image of <em class="parameter"><code>graph</code></em> in given <em class="parameter"><code>format</code></em>, writing results in a <span class="type">GsfOutput</span> stream.
If export format type is a bitmap one, it computes image size with x_dpi, y_dpi and
<em class="parameter"><code>graph</code></em> size (see <em class="parameter"><code><a class="link" href="GogGraph.html#gog-graph-get-size" title="gog_graph_get_size ()"><code class="function">gog_graph_get_size()</code></a></code></em>).
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>graph</code></em> :</span></p></td>
<td>a <a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
<td>image format for export</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>output</code></em> :</span></p></td>
<td>a <span class="type">GsfOutput</span> stream</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>x_dpi</code></em> :</span></p></td>
<td>x resolution of exported graph</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>y_dpi</code></em> :</span></p></td>
<td>y resolution of exported graph</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if export succeed.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gog-graph-force-update"></a><h3>gog_graph_force_update ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gog_graph_force_update (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> *graph</code></em>);</pre>
<p>
Do an update now if one has been queued.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>graph</code></em> :</span></p></td>
<td><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a></td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gog-graph-get-data"></a><h3>gog_graph_get_data ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * gog_graph_get_data (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> const *graph</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>graph</code></em> :</span></p></td>
<td><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a list of the GOData objects that are data to the graph.
The caller should _not_ modify or free the list. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GOData][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gog-graph-get-document"></a><h3>gog_graph_get_document ()</h3>
<pre class="programlisting"><a class="link" href="GODoc.html" title="GODoc"><span class="returnvalue">GODoc</span></a> * gog_graph_get_document (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> *graph</code></em>);</pre>
<p>
Retrieves the <a class="link" href="GODoc.html" title="GODoc"><span class="type">GODoc</span></a> for <em class="parameter"><code>graph</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>graph</code></em> :</span></p></td>
<td>a <a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the document. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gog-graph-get-size"></a><h3>gog_graph_get_size ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gog_graph_get_size (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> *graph</code></em>,
<em class="parameter"><code><span class="type">double</span> *width</code></em>,
<em class="parameter"><code><span class="type">double</span> *height</code></em>);</pre>
<p>
FIXME Returns the logical size of graph, in points.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>graph</code></em> :</span></p></td>
<td><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a></td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
<td>logical width in pts</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
<td>logical height in pts</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gog-graph-get-supported-image-formats"></a><h3>gog_graph_get_supported_image_formats ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * gog_graph_get_supported_image_formats
(<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Builds a list of supported formats for image export.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a <a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a>
of <a class="link" href="GOImage.html#GOImageFormat" title="enum GOImageFormat"><span class="type">GOImageFormat</span></a>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GOImageFormat][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gog-graph-get-theme"></a><h3>gog_graph_get_theme ()</h3>
<pre class="programlisting"><a class="link" href="goffice-0.10-Theming.html#GogTheme"><span class="returnvalue">GogTheme</span></a> * gog_graph_get_theme (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> const *graph</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>graph</code></em> :</span></p></td>
<td><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the <a class="link" href="goffice-0.10-Theming.html#GogTheme"><span class="type">GogTheme</span></a> used by <em class="parameter"><code>graph</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gog-graph-num-cols"></a><h3>gog_graph_num_cols ()</h3>
<pre class="programlisting"><span class="returnvalue">unsigned</span> gog_graph_num_cols (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> const *graph</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gog-graph-num-rows"></a><h3>gog_graph_num_rows ()</h3>
<pre class="programlisting"><span class="returnvalue">unsigned</span> gog_graph_num_rows (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> const *graph</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gog-graph-request-update"></a><h3>gog_graph_request_update ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gog_graph_request_update (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> *graph</code></em>);</pre>
<p>
queue an update if one had not already be queued.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>graph</code></em> :</span></p></td>
<td><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a handler has been added.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gog-graph-ref-data"></a><h3>gog_graph_ref_data ()</h3>
<pre class="programlisting"><a class="link" href="GOData.html" title="GOData"><span class="returnvalue">GOData</span></a> * gog_graph_ref_data (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> *graph</code></em>,
<em class="parameter"><code><a class="link" href="GOData.html" title="GOData"><span class="type">GOData</span></a> *dat</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>graph</code></em> :</span></p></td>
<td><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a></td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dat</code></em> :</span></p></td>
<td><a class="link" href="GOData.html" title="GOData"><span class="type">GOData</span></a></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<em class="parameter"><code>dat</code></em> or something equivalent to it that already exists in the graph.
Otherwise use <em class="parameter"><code>dat</code></em>. Adds a gobject ref to the target and increments a
count of the number of refs made from this <a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gog-graph-render-to-cairo"></a><h3>gog_graph_render_to_cairo ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gog_graph_render_to_cairo (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> *graph</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cairo</code></em>,
<em class="parameter"><code><span class="type">double</span> w</code></em>,
<em class="parameter"><code><span class="type">double</span> h</code></em>);</pre>
<p>
Renders a graph using <em class="parameter"><code>cairo</code></em>. <em class="parameter"><code>w</code></em> and <em class="parameter"><code>h</code></em> are the requested width an height of the rendered graph, in the current <em class="parameter"><code>cairo</code></em> coordinate space. This function is not suited for multiple rendering of the same graph. gog_renderer_render_to cairo or gog_renderer_update/gog_renderer_get_cairo_surface should be used instead.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>graph</code></em> :</span></p></td>
<td>a <a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>cairo</code></em> :</span></p></td>
<td>a cairo context</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>w</code></em> :</span></p></td>
<td>width</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>h</code></em> :</span></p></td>
<td>height</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gog-graph-set-size"></a><h3>gog_graph_set_size ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gog_graph_set_size (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> *graph</code></em>,
<em class="parameter"><code><span class="type">double</span> width</code></em>,
<em class="parameter"><code><span class="type">double</span> height</code></em>);</pre>
<p>
Sets the logical size of graph, given in points.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>graph</code></em> :</span></p></td>
<td><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a></td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
<td>logical width in pts</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
<td>logical height in pts</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gog-graph-set-theme"></a><h3>gog_graph_set_theme ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gog_graph_set_theme (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> *graph</code></em>,
<em class="parameter"><code><a class="link" href="goffice-0.10-Theming.html#GogTheme"><span class="type">GogTheme</span></a> *theme</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gog-graph-unref-data"></a><h3>gog_graph_unref_data ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gog_graph_unref_data (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> *graph</code></em>,
<em class="parameter"><code><a class="link" href="GOData.html" title="GOData"><span class="type">GOData</span></a> *dat</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>graph</code></em> :</span></p></td>
<td><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a></td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dat</code></em> :</span></p></td>
<td><a class="link" href="GOData.html" title="GOData"><span class="type">GOData</span></a></td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gog-graph-validate-chart-layout"></a><h3>gog_graph_validate_chart_layout ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gog_graph_validate_chart_layout (<em class="parameter"><code><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> *graph</code></em>);</pre>
<p>
Check the layout of the chart grid and ensure that there are no empty
cols or rows, and resize as necessary
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>graph</code></em> :</span></p></td>
<td><a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if anything changed.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gog-graph-view-get-selection"></a><h3>gog_graph_view_get_selection ()</h3>
<pre class="programlisting"><a class="link" href="GogView.html" title="GogView"><span class="returnvalue">GogView</span></a> * gog_graph_view_get_selection (<em class="parameter"><code><a class="link" href="GogGraph.html#GogGraphView"><span class="type">GogGraphView</span></a> *gview</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gview</code></em> :</span></p></td>
<td><a class="link" href="GogGraph.html#GogGraphView"><span class="type">GogGraphView</span></a></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>current selected view. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gog-graph-view-handle-event"></a><h3>gog_graph_view_handle_event ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gog_graph_view_handle_event (<em class="parameter"><code><a class="link" href="GogGraph.html#GogGraphView"><span class="type">GogGraphView</span></a> *gview</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk3/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
<em class="parameter"><code><span class="type">double</span> x_offset</code></em>,
<em class="parameter"><code><span class="type">double</span> y_offset</code></em>);</pre>
<p>
Handle events.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gview</code></em> :</span></p></td>
<td><a class="link" href="GogGraph.html#GogGraphView"><span class="type">GogGraphView</span></a></td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
<td><a href="/usr/share/gtk-doc/html/gdk3/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a></td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>x_offset</code></em> :</span></p></td>
<td>in pixels</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>y_offset</code></em> :</span></p></td>
<td>in pixels</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gog-graph-view-set-selection"></a><h3>gog_graph_view_set_selection ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gog_graph_view_set_selection (<em class="parameter"><code><a class="link" href="GogGraph.html#GogGraphView"><span class="type">GogGraphView</span></a> *gview</code></em>,
<em class="parameter"><code><a class="link" href="GogObject.html" title="GogObject"><span class="type">GogObject</span></a> *gobj</code></em>);</pre>
<p>
Sets <em class="parameter"><code>gobj</code></em> as current selection. If <em class="parameter"><code>gobj</code></em> is different from previously
selected object, a selection-changed signal is emitted.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gview</code></em> :</span></p></td>
<td><a class="link" href="GogGraph.html#GogGraphView"><span class="type">GogGraphView</span></a></td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>gobj</code></em> :</span></p></td>
<td>new selected object</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="GogGraph.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GogGraph--document"></a><h3>The <code class="literal">"document"</code> property</h3>
<pre class="programlisting"> "document" <a class="link" href="GODoc.html" title="GODoc"><span class="type">GODoc</span></a>* : Read / Write</pre>
<p>the document for this graph.</p>
</div>
<hr>
<div class="refsect2">
<a name="GogGraph--height-pts"></a><h3>The <code class="literal">"height-pts"</code> property</h3>
<pre class="programlisting"> "height-pts" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> : Read / Write</pre>
<p>Logical graph height, in points.</p>
<p>Allowed values: >= 0</p>
<p>Default value: 226.772</p>
</div>
<hr>
<div class="refsect2">
<a name="GogGraph--theme"></a><h3>The <code class="literal">"theme"</code> property</h3>
<pre class="programlisting"> "theme" <a class="link" href="goffice-0.10-Theming.html#GogTheme"><span class="type">GogTheme</span></a>* : Read / Write</pre>
<p>The theme for elements of the graph.</p>
</div>
<hr>
<div class="refsect2">
<a name="GogGraph--theme-name"></a><h3>The <code class="literal">"theme-name"</code> property</h3>
<pre class="programlisting"> "theme-name" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
<p>The name of the theme for elements of the graph.</p>
<p>Default value: "default"</p>
</div>
<hr>
<div class="refsect2">
<a name="GogGraph--width-pts"></a><h3>The <code class="literal">"width-pts"</code> property</h3>
<pre class="programlisting"> "width-pts" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> : Read / Write</pre>
<p>Logical graph width, in points.</p>
<p>Allowed values: >= 0</p>
<p>Default value: 340.157</p>
</div>
<hr>
<div class="refsect2">
<a name="GogGraphView--renderer"></a><h3>The <code class="literal">"renderer"</code> property</h3>
<pre class="programlisting"> "renderer" <a class="link" href="GogRenderer.html" title="GogRenderer"><span class="type">GogRenderer</span></a>* : Write</pre>
<p>the renderer for this view.</p>
</div>
</div>
<div class="refsect1">
<a name="GogGraph.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="GogGraph-add-data"></a><h3>The <code class="literal">"add-data"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> *graph,
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *data,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
<p>
The ::add-data signal is emitted BEFORE <em class="parameter"><code>data</code></em> has been added.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>graph</code></em> :</span></p></td>
<td>the object on which the signal is emitted</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>The new <a class="link" href="GOData.html" title="GOData"><span class="type">GOData</span></a> being added to <em class="parameter"><code>graph</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GogGraph-remove-data"></a><h3>The <code class="literal">"remove-data"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GogGraph.html" title="GogGraph"><span class="type">GogGraph</span></a> *graph,
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *data,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
<p>
The ::remove-data signal is emitted BEFORE <em class="parameter"><code>data</code></em> has been removed.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>graph</code></em> :</span></p></td>
<td>the object on which the signal is emitted</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>The new <a class="link" href="GOData.html" title="GOData"><span class="type">GOData</span></a> being removed to <em class="parameter"><code>graph</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GogGraphView-selection-changed"></a><h3>The <code class="literal">"selection-changed"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GogGraph.html#GogGraphView"><span class="type">GogGraphView</span></a> *goggraphview,
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *arg1,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
<p>
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>goggraphview</code></em> :</span></p></td>
<td>the object which received the signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.19</div>
</body>
</html>
|