Jump to content
Software FX Community

JacksonS

Members
  • Content Count

    8
  • Joined

  • Last visited

Community Reputation

0 Neutral

About JacksonS

  • Rank
    Newbie

Profile Information

  • Gender
    Not Telling
  1. One request we get a lot is the procedure to create a custom SVG for PowerGadgets. The library that's included with PowerGadgets is extensive and will probably cover most user's needs but it's nice to be able to take advantage of the inherent extensibility of PowerGadgets by creating custom SVGs. It's also pretty easy to do as well. Please note that you aren't limited to creating geographical maps. I've seen very cool implementations of custom diagrams of a client's network. You can create a gadget from anything you can diagram. The tool of choice to create your SVGs is Adobe Illustrator CS (2/3). Illustrator is nice because it gives you a graphical interface and tools and will save the file in SVG format. This is important because the paradigm of a drawing application allows you to create graphical SVGs more intuitively than a text editor. We'll go over the options you'll need to set when you save your SVG later in this post. For now we'll go over the basics of a PowerGadgets-compatible SVG. The most important thing to remember is that any shape you want to be able to access via code will need to be grouped with a text object. In other words if you draw a square that you want to color programmatically, said square will need a text object grouped to it, e.g. 'My Square'. In its simplest form, a group contains the path that defines the object and a text object that holds the name of that path. To group objects in Adobe Illustrator, using the black pointer, press and hold the Shift key while selecting the desired objects. Once the objects are selected, click Object-Group on the menu (Ctrl + G). There are instances when the object you are calling contains more than one path. In this case, the grouping of the paths must be slightly different. First, you must select all the paths that form the object and group them together. After the paths are grouped, select both this group and the text object, and make a group of this selection. This will result in a group of paths that is then grouped with the text object. This will allow for PowerGadgets to treat a group of paths as one object. It's also important to point out that your illustration should be created with either the rectangle tool (for rectangular objects) or using the pen tool and clicking 'point to point' for freeform shapes. Bezier curves and circles are not supported by PowerGadgets at this time. You can easily simulate curves and circles by using smaller increments between your points. You can also create multilevel maps where one map contains multiple levels of grouped objects. For example, you can have a map that contains the County, State and Regional subdivisions. This is done by simply selecting a set of individually grouped text/shape pairs, grouping them to create one object, then grouping that 'super shape' with another text object. This can be done for as many levels as you choose. Any static shapes, e.g. presentational artwork that isn't meant to be accessed programmatically, should be left ungrouped. PowerGadgets assumes that any object grouped should be accessible for dynamic, data related changes, and thus should have a name associated with it. Tip: The Adobe Illustrator Layers palette allows you to see all grouping levels on your map. This will allow you to make sure all objects are properly grouped before exporting. Remember, all dynamic objects must be grouped with a text while all static objects must remain ungrouped. The final (and very important) step before you save your SVG is to Select All (Ctrl + A) and give the entire illustration one last group (Ctrl + G). You're now ready to save your SVG. To do this, simply go to the File menu, select Save As, select 'svg' as the file type, choose the name and location and press OK. A configuration panel will appear. Make sure the Font Subsetting is set to
  2. Hello fedrac. I've just signed up for the Support group forum RSS and it works fine for me using Outlook 2007's RSS reader. The most recent entry is Friday which was when the most recent thread was created. You can also subscribe to a specific thread's RSS from within the thread by clicking on the RSS icon at the bottom of the page, as opposed to subscribing to a forum's RSS which will feed you only the thread titles and initial posts, not the replies within said thread. Thanks. -- Jax
  3. I removed the home link because we don't use the default homepage that community server provides us. We were redirecting from the community server home to the softwarefx.com home, but that caused problems when users logged in and out. Once they logged in they would be redirected to powergadgets.com and not the community. Now all logins/logouts will be returned to the community. ChartsFx_Issue.zip
  4. I changed the frequency of the updates from 5 minutes to 1 minute. Hopefully this will be a nice balance of refreshing quickly without crushing the server when we get busy. Thanks again. [Y]
  5. I've noticed this myself. The documentation of the software used for this forums make mention of this. I'll look into if there is a way to increase the frequency of the cache updates. Thanks for posting.
  6. http://community.softwarefx.com/blogs/powergadgets_team_blog/rss.aspx Hi fedrac, this link will allow you to subscribe to an RSS feed for the PowerGadgets Team Blog. Let me know if that helps. Thanks.
×
×
  • Create New...