RickD
Posts: 3
Joined: Tue Jul 30, 2019 1:53 pm

Editing the preview image

Hello, I am wondering if I have control over the preview image that is displayed. The preview is cutting off info which I want to see. See the link and the bar chart on the right. The preview is different than the clickable final image.

https://troweprice.turtl.co/story/5d248 ... !/page/3/1

Can I change this to match the final chart?
rafalS
Posts: 2665
Joined: Thu Jun 14, 2018 11:40 am

Re: Editing the preview image

Hi RickD,

Welcome to our forum and thanks for contacting us.
You mean that xAxis labels are wrong?

It should work fine as soon as you set xAxis.type to category.
You can do this through Customize -> Basic -> Axes -> X Axis -> Type.

Let me know if it worked.

Best regards!
Rafal Sebestjanski,
Highcharts Team Lead
RickD
Posts: 3
Joined: Tue Jul 30, 2019 1:53 pm

Re: Editing the preview image

Thanks for the reply. I tried that, no luck. It appears to be fine, and the code says it is listed as 'category' but it seems to switch to a linear view in the preview.
rafalS
Posts: 2665
Joined: Thu Jun 14, 2018 11:40 am

Re: Editing the preview image

Hi RickD,

I was able to reproduce your issue and the above solution worked for me. It may sound not good, but could you repeat these steps and double-check if it worked?
1. Manually set xAxis type to linear and then to category again
2. Save the chart
3. Publish

This is my chart displayed in a normal mode: https://cloud.highcharts.com/show/291YLn0LQ
And this is my chart displayed in a thumbnail mode: https://cloud.highcharts.com/thumbnails/291YLn0LQ.png

I had the same issue, but it is displayed fine now after I went through all 3 above steps.

Let me know if this helped. If not, we will try to dig deeper.

Best regards!
Rafal Sebestjanski,
Highcharts Team Lead
RickD
Posts: 3
Joined: Tue Jul 30, 2019 1:53 pm

Re: Editing the preview image

Hi rafalS. Thanks for the tip - I am going to give this a go and see if it works. I will let you know what happens - thanks!
rafalS
Posts: 2665
Joined: Thu Jun 14, 2018 11:40 am

Re: Editing the preview image

You're welcome ;) I'll be here.
Rafal Sebestjanski,
Highcharts Team Lead

Return to “Highcharts Cloud”