examples/bar_chart/bar_chart.rb
#--------------------------------------------------------------------------------------
# This method is called when the dataset is updated.  This will trigger the update of
# points, labels and axes
#
# @param dataset [Array] a new dataset with the same number of elements as the previous
# dataset
#--------------------------------------------------------------------------------------
This method is called when the dataset is updated.  This will trigger the update of
points, labels and axes
This method is called when the dataset is updated . This will trigger the update of points labels and axes
def update(dataset)
    @dataset = dataset
    update_bars
    update_labels
  end
def update ( dataset ) @dataset = dataset update_bars update_labels end
This method is called when the dataset is updated.
This method is called when the dataset is updated .
dataset
a new dataset with the same number of elements as the previous dataset
a new dataset with the same number of elements as the previous dataset