Closed CLMokbel closed 8 months ago
Thanks for reporting @CLMokbel!
It would be very helpful if you could reproduce this issue in an online code editor like CodeSandbox or CodePen.
Then I'll gladly take a look, investigate this further, and decide whether this bug should be in the highcharts-vue
or highcharts
backlog.
Thanks in advance!
Thank you I will work on recreating the issue as soon as possible.
Thank you for being patient with me, I will try to get this to you today.
I apologize but recreating this environment in a codepen is proving to be rather difficult. I've added in the dependencies but for whatever reason the :options="chartOptions"
prop is throwing an error in the environment although i've added highcharts-vue as a dependency.
@CLMokbel no worries, you can start from here: https://codesandbox.io/s/silly-bhaskara-k64zry
As you can see in the demo, the :options="chartOptions"
seem to work as expected so you should not encounter any environment-related problems.
https://codesandbox.io/s/solitary-leaf-w4729p?file=/src/main.js I was able to transfer over some data but the app isn't rendering. it's vue 2. I apologize I wish I was more adept with using codepen.
I see that something's not working there. If you're using Vue2, you can start from here: https://codesandbox.io/s/pedantic-darkness-vkhfpm
I've already added the necessary modules for you and created a Graph.vue
component based on what you added.
https://codesandbox.io/s/brave-faraday-dvq6m6?file=/src/Graph.vue interestingly enough.. it seems to be working in the codepen... Perhaps the problem is related to the overall style settings of the application as a whole... hmn..
I have logic that is set to display data along a plot area, but I do also have logic that sets this plotarea to scroll when it hits a certain width, code:
Visualization:
Should I be re rendering the graphs on scroll? When I click my axis labels on the key below the graph and bring them back up they render completely, but for whatever reason when I first bring up the graph in the modal it only shows the plotlines that are in view...
I've tried setting the scrollPosition to 1 but the desired effect is to have the the scrollable start at the beginning of the graph not the end.
I should note that this issue is only occurring on mobile and tablet where the width of the graph is scrollable. on desktop the graph renders fine because it is not scrolling.
starting from desktop view and then inspecting the page and going to responsive, when i scale the page down the graph is showing as expected within the scroll, so it must have something to do with the render outside of width? I have my container set to 75% and the width of the template for the chart set to 100%.
the template, and data are defined as such
and styles are defined,