Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #20 from pilhuhn/hawkfx-3
Browse files Browse the repository at this point in the history
Apply sorting by x-axis to chart.
  • Loading branch information
pilhuhn authored Aug 6, 2016
2 parents f445845 + c765c0e commit a8bdca3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/chart_view_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class ChartViewController < Java::javafx::scene::layout::VBox
def initialize
@chart_items = Set.new
@chosen_range = 12 * 3600 * 1000
@FXMLChart.axis_sorting_policy = LineChart::SortingPolicy::X_AXIS
end

# Add item when it is not yet there, remove otherwise
Expand Down

0 comments on commit a8bdca3

Please sign in to comment.