Skip to content

add visible_steps and steps attribute to labels #2

@jbenton-adc

Description

@jbenton-adc

it would be nice if we control the visible steps for the labels
http://teethgrinder.co.uk/open-flash-chart-2/doxygen/html/classx__axis__labels.html

only show every 20th label
$chart->x_axis()->labels()->visible_steps(floor(scalar(@values) / 20));

this may be another way to control the spacing
http://teethgrinder.co.uk/open-flash-chart-2/x-axis-labels.php

$chart->x_axis()->labels()->steps(floor(scalar(@values) / 20));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions