Added gradient background ability#16
Merged
pullmonkey merged 2 commits intopullmonkey:masterfrom Jul 24, 2011
lightswitch05:master
Merged
Added gradient background ability#16pullmonkey merged 2 commits intopullmonkey:masterfrom lightswitch05:master
pullmonkey merged 2 commits intopullmonkey:masterfrom
lightswitch05:master
Conversation
pullmonkey
added a commit
that referenced
this pull request
Jul 24, 2011
Added gradient background ability
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I made two changes:
1: I added to the ruby code to allow the user to add a gradient background to the chart.
2: I updated the SWF to a new public build from google code that allows gradient backgrounds: http://code.google.com/p/ofc-etw/ - gradient doesn't work with the version currently in the project
Note: The new SWF doesn't conflict with any previous OFC2 commands/code. Also, the generated JSON for the gradient follows the JSON found here: http://wiki.openflashchart.com/ofc2/features/background/inner/gradient