Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1905
igSparkline axis values
posted

Write now my igSparkline is only showing the first and last axis values.  On the xAxis I want it to show all of my values.  How can I make that happen?

Parents
  • 17590
    Offline posted

    Hello rsimm,

    Thank you for posting in our community.

    There are 4 types of supported igSparkline charts and by design all of these charts are expected to show all data points available in the underlying data source:

    Line - Displays the Line chart type of Sparkline with numeric data, connecting the data points with line segments. You need to provide at least 2 data points in order to visualize the data in Sparkline.

    Area - Displays the Area chart type of Sparkline with numeric data. This is similar to line type with additional step of closing the area after each line is drawn. You need to provide at least two data points in order to visualize the data in Sparkline.

    Column - Displays the Column chart type of Sparkline with numeric data. Some may refer to this as vertical bars. This type can render a single data point, but requires specifying the minimum value range option (minimum) in Sparkline so the supplied single data point can be visible, otherwise the value will be treated as the minimum value and will not be visible.

    WinLoss - This type is similar in its visual appearance to Column chart type, in which the value of each column is equal to either the positive maximum (for positive values) or the negative minimum (for negative value) of the data set. The idea is to indicate a win or a loss scenario.

    Some further reference about igSparkline control, its benefits and supported chart controls could be found at:

    http://help.infragistics.com/doc/jQuery/2014.1/CLR4.0/?page=igSparkline_Overview.html

    http://help.infragistics.com/jQuery/2014.1/ui.igsparkline

    Additionally, a working sample with igSparline could be found at:

    http://igniteui.com/sparkline/overview

    I hope you find this information helpful.

    Please let me know if you need any further assistance with this matter.

Reply Children