Landscaping Planning Schedule Template
Merged

H Social Media Post For Starting A Business

browse thousands of h logo images for design inspiration dribbble 12 800 letter h stock illustrations royalty free vector graphics h logo pack free vectors psds to download alphabet project h by arthur bauer on dribbble h logo on behance premium vector set of h letter logo template vector 18 670 496 h logo vector images depositphotos set of monogram letter h logo vector design 7623868 vector art at vecteezy lettermark explorations experiment behance h logotype branding logos h letter icon exploration artofit h alphabet and logo design stock illustration download image now h car brand logo brand guidelines for sale behance letter h logo exploration h logos letter logo lettering letter h exploration graphic design logo letter logo design letter h exploration concept 19 28 name your fav by mihai logo design h identity design logo typographic logo design monogram premium vector set monogram letter h logo template premium vector initial square monogram h logo designs bundle personal design logos h alphabet and logo design stock illustration download image now yoz designer intial letter h logo over 69 royalty free licensable stock vectors logo folio 2020 2022 on behance top 10 graphic design trends for 2025 in 2025 logo design graphic different types of logos in black and white farooqshahjee i will highly text based wordmark lettermark logomark collection 2021 behance set of h letter logo ideas brand symbols flat vector signs premium ai alphabet project part 1 on behance set of h letter logo ideas brand symbols flat vector signs premium ai browse thousands of h logo images for design inspiration dribbble vector logo shapes pack 5000 vector logo elements deals bypeople simple business line flat initial h letter design set stock pin by aidlier meyer on jon casey logo mood board graphic design logo

:
Changes from all commits
Commits
File filter

LinkedIn Blog Post Template H Social Media For Starting A Business

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 45 additions & 31 deletions No Annual Fee Credit Cards
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ var Scale = Element.extend({
bottom: 0
}, margins);

me._labelSizes = null;
me._maxLabelLines = 0;
me.longestLabelWidth = 0;
me.longestTextCache = me.longestTextCache || {};
Expand Down Expand Up @@ -419,31 +420,31 @@ var Scale = Element.extend({
var labelRotation = minRotation;
var labelSizes, maxLabelWidth, maxLabelHeight, maxWidth, tickWidth, maxHeight, maxLabelDiagonal;

if (me._isVisible() && tickOpts.display) {
labelSizes = me._labelSizes = computeLabelSizes(me.ctx, parseTickFontOptions(tickOpts), ticks, me.longestTextCache);

if (minRotation < maxRotation && ticks.length > 1 && me.isHorizontal()) {
maxLabelWidth = labelSizes.widest.width;
maxLabelHeight = labelSizes.highest.height - labelSizes.highest.offset;

// Estimate the width of each grid based on the canvas width, the maximum
// label width and the number of tick intervals
maxWidth = Math.min(me.maxWidth, me.chart.width - maxLabelWidth);
tickWidth = options.offset ? me.maxWidth / ticks.length : maxWidth / (ticks.length - 1);

// Allow 3 pixels x2 padding either side for label readability
if (maxLabelWidth + 6 > tickWidth) {
tickWidth = maxWidth / (ticks.length - (options.offset ? 0.5 : 1));
maxHeight = me.maxHeight - getTickMarkLength(options.gridLines)
- tickOpts.padding - getScaleLabelHeight(options.scaleLabel);
maxLabelDiagonal = Math.sqrt(maxLabelWidth * maxLabelWidth + maxLabelHeight * maxLabelHeight);
labelRotation = helpers.toDegrees(Math.min(
Math.asin(Math.min((labelSizes.highest.height + 6) / tickWidth, 1)),
Math.asin(Math.min(maxHeight / maxLabelDiagonal, 1)) - Math.asin(maxLabelHeight / maxLabelDiagonal)
));
labelRotation = Math.max(minRotation, Math.min(maxRotation, labelRotation));
}
}
if (!me._isVisible() || !tickOpts.display || minRotation >= maxRotation || ticks.length <= 1 || !me.isHorizontal()) {
me.labelRotation = minRotation;
return;
}

labelSizes = me._getLabelSizes();
maxLabelWidth = labelSizes.widest.width;
maxLabelHeight = labelSizes.highest.height - labelSizes.highest.offset;

// Estimate the width of each grid based on the canvas width, the maximum
// label width and the number of tick intervals
maxWidth = Math.min(me.maxWidth, me.chart.width - maxLabelWidth);
tickWidth = options.offset ? me.maxWidth / ticks.length : maxWidth / (ticks.length - 1);

// Allow 3 pixels x2 padding either side for label readability
if (maxLabelWidth + 6 > tickWidth) {
tickWidth = maxWidth / (ticks.length - (options.offset ? 0.5 : 1));
maxHeight = me.maxHeight - getTickMarkLength(options.gridLines)
- tickOpts.padding - getScaleLabelHeight(options.scaleLabel);
maxLabelDiagonal = Math.sqrt(maxLabelWidth * maxLabelWidth + maxLabelHeight * maxLabelHeight);
labelRotation = helpers.toDegrees(Math.min(
Math.asin(Math.min((labelSizes.highest.height + 6) / tickWidth, 1)),
Math.asin(Math.min(maxHeight / maxLabelDiagonal, 1)) - Math.asin(maxLabelHeight / maxLabelDiagonal)
));
labelRotation = Math.max(minRotation, Math.min(maxRotation, labelRotation));
}

me.labelRotation = labelRotation;
Expand Down Expand Up @@ -491,7 +492,7 @@ var Scale = Element.extend({
// Don't bother fitting the ticks if we are not showing the labels
if (tickOpts.display && display) {
var tickFonts = parseTickFontOptions(tickOpts);
var labelSizes = me._labelSizes;
var labelSizes = me._getLabelSizes();
var firstLabelSize = labelSizes.first;
var lastLabelSize = labelSizes.last;
var widestLabelSize = labelSizes.widest;
Expand All @@ -501,8 +502,6 @@ var Scale = Element.extend({

if (isHorizontal) {
// A horizontal axis is more constrained by the height.
me.longestLabelWidth = widestLabelSize.width;

var isRotated = me.labelRotation !== 0;
var angleRadians = helpers.toRadians(me.labelRotation);
var cosRotation = Math.cos(angleRadians);
Expand Down Expand Up @@ -610,8 +609,23 @@ var Scale = Element.extend({
},

/**
* @private
*/
* @private
*/
_getLabelSizes: function() {
var me = this;
var labelSizes = me._labelSizes;

if (!labelSizes) {
me._labelSizes = labelSizes = computeLabelSizes(me.ctx, parseTickFontOptions(me.options.ticks), me.getTicks(), me.longestTextCache);
me.longestLabelWidth = labelSizes.widest.width;
}

return labelSizes;
Comment thread
benmccann marked this conversation as resolved.
},

/**
* @private
*/
_parseValue: function(value) {
var start, end, min, max;

Expand Down Expand Up @@ -782,7 +796,7 @@ var Scale = Element.extend({
var cos = Math.abs(Math.cos(rot));
var sin = Math.abs(Math.sin(rot));

var labelSizes = me._labelSizes;
var labelSizes = me._getLabelSizes();
Comment thread
kurkle marked this conversation as resolved.
var padding = optionTicks.autoSkipPadding || 0;
var w = labelSizes ? labelSizes.widest.width + padding : 0;
var h = labelSizes ? labelSizes.highest.height + padding : 0;
Expand Down