You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default color of the Caption (text beside the graph) is by default gray.
I want to use the sparklines on a gray background which makes it hardly
readable.
Unfortunately i can't override the default color because it seems to be set
directly by Javascript. When debugging with Firebug see the item
"element.style" overriding my custom CSS.
Resulting color is always #CCC :-(
element.style {
color: #CCC;
}
.spark .v-sparklinecaption, .v-sparklinevalue {
color: black;
text-transform: none;
text-shadow: 0px 1px 1px white;
text-transform: none;
}
It would be nice if the plugin had a method such as setCaptionColor() - same as
the other colors of min, max and value are set.
Thank a lot for this excellent plugin!!
Original issue reported on code.google.com by mojom...@googlemail.com on 3 Dec 2011 at 11:16
The text was updated successfully, but these errors were encountered:
This can be done by removing the line (#96)
this.caption.getElement().getStyle().setColor(pathColor);
The text color can then be set in the CSS instead.
Is there a maven pom.xml for this project that can be used to build it? It has
lots of dependencies that I am unsure of.
Original comment by Dominic....@googlemail.com on 9 Sep 2012 at 1:03
Original issue reported on code.google.com by
mojom...@googlemail.com
on 3 Dec 2011 at 11:16The text was updated successfully, but these errors were encountered: