I want add a vertical line to separate visuals. how to add a shape in quicksight
Hi @Venkat.Metadata, you might want to take a look at the following sample dashboard in Demo Central.
The main subject of the dashboard (highcharts) has nothing to do with your question, but that dashboard has vertical lines at the center to clearly separate two visual on left and right. If this is what you are looking for, you can hit the “show analysis” button on the left menu bar to peek how the vertical line is implemented. You will notice that it is actually just an image embedded in a text box.
By the way, in case just adding border to your visuals are enough, you can edit the theme of your analysis and ensure the border is enabled.
Let me know if either of these fulfills your needs.
Thanks for your info. But i have to disable the Border line in the dashboard for the background design standards.
I want separate the visual like below
but i am not able to reduce the width of the text visual further below 12.
any help?
Hi @Venkat.Metadata, thanks for your response.
As far as I checked in the demo central analysis, yes, it seems that the width of the text box cannot be less than 12 pixels.
But if you are using free-form layout, you can hide the border, background, and selection of the text box altogether, and then have it laid over other visuals. This way, it doesn’t interfere with other visuals and you don’t have to bother about the visual width.
I hope this helps.
@ytakahr , Is the vertical code written by any code or visual. Pls give me more info.
Hi @Venkat.Metadata, thanks for getting back. As I mentioned in my first post, it is just an image of narrow line pasted into a text box visual. You can open the given Demo Central link, click on “show analysis”, and then select and enlarge the vertical line like the screenshot below. You should realize it is just an image.
I believe the Demo Central example was created before QuickSight supported directly adding image as a visual. Now that QuickSight support this feature, you can do it a little more easily, without using text box. Please try the following steps.
- Create a image of narrow line. For example, open PowerPoint, draw a vertical line, right-click on it, and save as it picture (.png).
- In QuickSight Analysis, choose add image.
- Upload the png image created from step 1.
- Then you get the vertical line like following.
- Optionally, you can hide back ground and set scaling to “fit to height”. This allows you to change the image size while keeping the aspect ratio and it can overlap with other visuals without the background interfering.
I hope this is clear enough, but do let me know should you need any help.