Home Forums Chart Support chart with grid columns (vertical gridline space) and horizontal scrolling

chart with grid columns (vertical gridline space) and horizontal scrolling

Viewing 3 posts - 1 through 3 (of 3 total)
  • #43325

    Hi,

    I have built a report using canvasjs charts.

    chart is shown in the form of a grid view. If I increase the y-axis maximum value, then the chart height gets adjusted accordingly. I calculate the chart height from the number of data that i have specified in the column 2. The more you add data to the below array , that many number of rows will be displayed and then you can adjust the y-axis maximum value also to show the equivalent rows as the 2nd column. This works perfectly.
    column2: [‘Data 1’, ‘Data 2’, ‘Data 3’, ‘Data 4’, ‘Data 5’, ‘Data 6’],

    [Link removed]

    But if I increase the x-axis maximum value, then the chart width remains the same but the space between the vertical grid lines getting shrinked. Which should not happen. Because we are planning to put a horizontal scroll bar and as and when the scroll bar moves to the left or the right the data in the chart has to be updated.

    Can you plz fix the vertical grid space and add a scroll bar to the chart so that when we scroll all the charts data should be updated. so we just need 1 scroll bar for the whole report.

    • This topic was modified 1 year, 4 months ago by Adithya Menon.
    • This topic was modified 1 year, 4 months ago by meenasiva. Reason: project link updated
    • This topic was modified 1 year, 3 months ago by Manoj Mohan.
    #43353

    @meenasiva,

    We are looking into your query and get back to you at the earliest.

    —-
    Manoj Mohan
    Team CanvasJS

    #43365

    @meenasiva,

    You can use vuetify slider component to control the data to be viewed in all the charts. Please take a look at this updated sample project[Link removed] for the same.

    Sync Multiple Charts Viewport using Vuetify Slider

    —-
    Manoj Mohan
    Team CanvasJS

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.