Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Flexform
  • #21574
    ideascape
    Member
    Post count: 2

    Hello,

    Is there anyway to further control the sizing of the Swift Chart circles? Seems anything in between the documented sizes of 70 and 170 gets very distorted. We are aiming for a size in the middle, 100-120. I was hoping there was an option to just choose any size, but it appears to be image-based and no other sizes are included/possible. Are you able to direct me to the image files and any related scripting to attempt a solution with our own images, or provide any information on how to achieve a more “adjustable” Swift Chart? Please advise.

    Thanks,

    Craig

    #22028
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi Craig,

    Can you give the shortcode you used? and also what you mean by distorted, can you share some screenshot about that scenario. We will look in to that.

    Thanks,
    laranz.

    #31272
    ideascape
    Member
    Post count: 2

    Hello-

    Here is the short code again:

    Shortcode example:
    [chart percentage=”25″ size=”120″ barcolour=”#fb3c2d” trackcolour=”#fececa” content=”” align=”center”]

    Screen shots enclosed. URL of site in question:
    http://dev.ideascape.com/econ/

    We would still be interested in additional Swift Chart sizing options. Are you able to provide some direction as to how it might be possible to customize the size of the circles, or provide assistance in doing so? Any plans to include this functionality on future updates?

    Craig

    #31363
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    You want to increase that 120 to a greater number, that will adjust the size of the chart. is that you want?

    Let me know, what you got.

    Thanks,
    laranz.

    #31599
    ideascape
    Member
    Post count: 2

    Hello,

    120 is the size we want with proportional increase of line width. Currently the only sizing options are 70 and 170. As you can see in the screen shot, resizing to 120 makes the line width very thin. If possible we would like to make it any size we want, with the expectation that all would adjust proportionately. For this moment though getting it to 120 would be very helpful.

    Craig

    #31919
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi Craig,

    If you edit /includes/shortcodes.php add the following below line 797:

    if ($size == "120") { $linewidth = "10"; }

    That should do it for you.

    – Ed

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register