Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: packages/charted/lib/charts/chart_theme.dart

Issue 2213693002: Updated charted DEP to 0.4.X (Closed) Base URL: https://github.com/dart-lang/observatory_pub_packages.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « packages/charted/lib/charts/chart_state.dart ('k') | packages/charted/lib/charts/charts.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/charted/lib/charts/chart_theme.dart
diff --git a/packages/charted/lib/charts/chart_theme.dart b/packages/charted/lib/charts/chart_theme.dart
index 1515f870652d75e50d75350bdd4f8a1ff3626bf0..1e49a4e428e6d44737acd02dbfad0bba97baa778 100644
--- a/packages/charted/lib/charts/chart_theme.dart
+++ b/packages/charted/lib/charts/chart_theme.dart
@@ -30,7 +30,7 @@ abstract class ChartTheme {
/// Markup for filters that is added to all chart elements. These filters
/// can be referenced using url() in values returned by [getFilterForState].
- String filters;
+ String get filters;
/// Returns any filters that must be applied based on the element's state
String getFilterForState(int state);
@@ -119,8 +119,10 @@ abstract class ChartAxisTheme {
/// visualization.
int get verticalAxisWidth => 200;
- /// Height of horizontal axis. Width of horizontal axis is automatically
- /// computed based on width of the visualization.
+ /// Max height of horizontal axis, this is used when the axis label need to be
+ /// rotated. If rotated label would be ellipsed if the height is greater than
+ /// this value. Width of horizontal axis is automatically computed based on
+ /// width of the visualization.
int get horizontalAxisHeight => 200;
/// Font used by axis ticks. When specified, axis uses efficient off-screen
« no previous file with comments | « packages/charted/lib/charts/chart_state.dart ('k') | packages/charted/lib/charts/charts.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698