summaryrefslogtreecommitdiffstats
path: root/grapher/GraphStyle.hxx
Commit message (Collapse)AuthorAgeFilesLines
* change namespace indentation to 0Tim Moore2009-12-211-42/+42
| | | | | A silly change, but this works better with other tools, like git diff. I should have started the C++ files this way.
* add copyright and license to grapher filesTim Moore2009-12-071-0/+8
|
* Hover text for event-style graphsTim Moore2009-12-031-0/+4
| | | | | | | | | Don't draw the data value for an event; only display it in hover text. * grapher/Graph.hxx (window2GraphCoords): new function * grapher/Graph.cxx (window2GraphCoords): ditto * grapher/GraphStyle.cxx (GraphStyleEvent::dataIndexAtPoint): new function implementation.
* Make the hover text conform to data displayed.Tim Moore2009-12-021-6/+17
| | | | | | | | | Start of code to be more selective about the association between the hover text and the underling graph. Also, show the data set name in hover text. * grapher/GraphStyle.hxx (dataIndexAtPoint): New virtual function. * grapher/GraphStyle.cxx (dataIndexAtPoint): Implementation for bar graphs * grapher/GraphWidget.cxx (onHoverTimeout): Use dataIndexAtPoint.
* Refactor drawing of different styles of graph into classesTim Moore2009-12-021-0/+43
* grapher/GraphStyle.cxx: New file * grapher/GraphStyle.hxx: New file * grapher/Graph(draw): Move much drawing code to GraphStyle::draw